Search the Community
Showing results for tags 'ladder'.
Found 1 result
Heyho, i decompiled the .lua files and played a bit with them. I deleted the traits, making tools a finite tool and also added a new drop to the grass. (It's just a proof on concept so please don't critizise what i'm doing) local dig_up = function(inst, chopper) if inst.components.pickable and inst.components.pickable:CanBePicked() then inst.components.lootdropper:SpawnLootPrefab("cutgrass") and inst.components.lootdropper:SpawnLootPrefab("seeds") end inst:Remove() After this i get the following crashlog at booting of the game LOADING LUA SUCCESS...e_Make_Steam_Package\workspace\data\scripts\main.lua:152: Prefab file doesn't return a callable chunk data/scripts/prefabs/grass.luaLUA ERROR stack traceback: =[C] in function 'assert' I did not recompile, since it did not work for me, also they told on the forum, you don't have to. Thanks in advance for any usefull hints etc. Erast P.