Download Lua/ExtrasGen/LayVegetation.generated.lua from sirnii/myspace: direct link, hf CLI and curl.
- Browser
- Download file 799 Bytes
-
https://huggingface.co/spaces/sirnii/myspace/resolve/main/Lua/ExtrasGen/LayVegetation.generated.lua
- Command line
-
hf download hf://spaces/sirnii/myspace/Lua/ExtrasGen/LayVegetation.generated.lua
-
curl -L -o LayVegetation.generated.lua https://huggingface.co/spaces/sirnii/myspace/resolve/main/Lua/ExtrasGen/LayVegetation.generated.lua
799 Bytes
| -- ========== GENERATED BY ExtrasGen Editor (Ctrl-Alt-G) DO NOT EDIT MANUALLY! ========== | |
| rawset(_G, 'ExtrasGenPrgs', rawget(_G, 'ExtrasGenPrgs') or {}) | |
| ExtrasGenPrgs.LayVegetation = function(seed, initial_selection) | |
| local li = { id = "LayVegetation" } | |
| initial_selection = initial_selection or editor.GetSel() | |
| local rand = BraidRandomCreate(seed or AsyncRand()) | |
| prgdbg(li, 1, 1) sprocall(LayObjectsAlongGuides.Exec, LayObjectsAlongGuides, rand, initial_selection, nil, 0, 350, 5400, 0, true, {PlaceObj('PlaceObjectData', {EditorClass = "BunkerInterior_AmmoBox_02",}),}, {PlaceObj('PlaceObjectData', {EditorClass = "TropicalPlant_06_Tree_01",}),}, {PlaceObj('PlaceObjectData', {EditorClass = "TreeAttach_02",}),}, {PlaceObj('PlaceObjectData', {EditorClass = "BunkerInterior_AmmoBox_02",}),}) | |
| end |