Petrenko Posted February 12, 2013 Share Posted February 12, 2013 Heyho, i decompiled the .lua like in the tutorial and edited it with notepad++, i did not recompile it because SCITE did not work for me. Because of this: >luac5.1 -o "grass.luc" "grass.lua"Der Befehl "luac5.1" ist entweder falsch geschrieben oderkonnte nicht gefunden werden.>Exit code: 1 I don't even know if i installed it right, if it needs python or any addons to work with .lua... no idea. What i changed was the grass.lua prefab Have a look: inst.components.pickable:SetUp("cutgrass", "seeds", TUNING.GRASS_REGROW_TIME) It crashes when i try to harvest. My idea in the end would be to have a 1 to 5 chance of getting seeds from grass. I'd like to have this working for the farm_plot, too, which should have a 1 to 5 chance of getting fertilizer. Thanks in advance for any useful hints! Link to comment Share on other sites More sharing options...
Starvation Posted February 12, 2013 Share Posted February 12, 2013 see this: http://forums.kleientertainment.com/showthread.php?9389-Crashlog-Editing-Stuff Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now