Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --get this file: pastebin get ziBBd33L startup
- --get installer: pastebin run fjSV9kHj
- --install: installer installfile Kh5btMAA
- os.loadAPI("theinsektAPIs/treefarm1")
- os.loadAPI("theinsektAPIs/fileHelp")
- function addWallsFrom(path,wallBlocks)
- if wallBlocks==nil then error("Error: param called wallBlocks are nil",2) end
- local wallBlocks0=fileHelp.loadLines(path)
- for key,value in pairs(wallBlocks0) do
- wallBlocks[value]=true
- end
- end
- print("running startup treefarm1")
- local wallBlocks={}
- addWallsFrom("wallBlockList",wallBlocks)
- local limit=20
- treefarm1.treeFarm(wallBlocks, 20)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement