updated Getting-Started.md
@@ -9,12 +9,15 @@ Just use the following command in any CC:Tweaked shell:
|
|||||||
|
|
||||||
This will download `basalt.lua` to your local directory
|
This will download `basalt.lua` to your local directory
|
||||||
|
|
||||||
To make use of the framework, make use of the following snippet
|
To load the framework, make use of the following snippet
|
||||||
````lua
|
````lua
|
||||||
--> For those who are unfamiliar with lua, dofile executes the code in the referenced file
|
--> For those who are unfamiliar with lua, dofile executes the code in the referenced file
|
||||||
local basalt = dofile("basalt.lua")
|
local basalt = dofile("basalt.lua")
|
||||||
````
|
````
|
||||||
|
|
||||||
|
|
||||||
|
Here is a fully functioning example of Basalt code
|
||||||
|
|
||||||
````lua
|
````lua
|
||||||
local basalt = dofile("basalt.lua") --> Load the Basalt framework
|
local basalt = dofile("basalt.lua") --> Load the Basalt framework
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user