Search the Community
Showing results for tags 'crops'.
Found 1 result
So recently previously working mod code has stopped working. Now, the game crashes (veggies.lua} when this runs. There is no line 351 in veggies.lua [00:00:07]: scripts/mods.lua(220,1) Mod: waiter-381565292 (Waiter 101 v5.0x) Error loading mod! .../common/dont_starve/data/scripts/prefabs/veggies.lua:351: variable 'MakePlacer' is not declared LUA ERROR stack traceback: =[C] in function 'error' D:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/strict.lua(23,1) D:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/prefabs/veggies.lua(351,1) in function 'MakeVeggie' D:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/prefabs/veggies.lua(357,1) in main chunk =[C] in function 'require' D:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/../mods/waiter-381565292/modmain.lua(242,1) in main chunk =[C] in function 'xpcall' I'm sure this had to do with the inttroduction of Wormwood since he can now plant seeds anywhere... It appears Klei has changed the way the game determines crops resulting from seeds,,, but I cant seem to figure out how to fix it. There appears to be a function in seeds.lua that looks into Veggies.lua ...\common\dont_starve\data\scripts\prefabs\seeds.lua I think I would need to insert/append my data into the Veggies.lua VEGGIES table.. ...\common\dont_starve\data\scripts\prefabs\veggies.lua The code below used to inserted new crops that could grow in farms from seeds. With this disabled, seeds planted in farms no longer have a chance to grow these crops. My knowledge of Lua is limited, so anyone who can advise on this, I would appreciate it. Thank you.