RyanandLink Posted July 1, 2016 Share Posted July 1, 2016 (edited) HELLO I am here to ask if anyone would be interested in putting their precious time into developing a simple mod that makes seeds NOT spoil into rot- rather, it just disappears into nothingness. I'd like it because in late game theres just so much rot everywhere in the world, like, a stack of 8 rot every step you take (okay maybe not that much but it comes close!) and at that point in the game I always already have like 9 stacks of rot in a chest SO yeaaaaa So if anyone knows how- and is willing to do do this, it would be greatly appreciated B] Edit: Found it out, read post below Edited July 2, 2016 by RyanandLink title change Link to comment https://forums.kleientertainment.com/forums/topic/68593-seeds-dont-spoil-into-rot-tweak/ Share on other sites More sharing options...
Herzz Posted July 2, 2016 Share Posted July 2, 2016 I'm new to modding, but this is the simplest way (kinda hackish too) I could think of: Create a new folder inside your mods folder, something like this: "C:\Program Files (x86)\Steam\steamapps\common\dont_starve\mods\Seeds do not rot" Inside this folder, create two files, "modinfo.lua" and modmain.lua. Inside modinfo.lua, place this: name = "Seed do not turn into rot" description = "They just disappear" author = "me" version = "1.0" forumthread = "" dont_starve_compatible = true reign_of_giants_compatible = true shipwrecked_compatible = true api_version = 6 And inside modmain.lua, place this: local function noperish(inst) inst.components.perishable.onperishreplacement = "raindrop" end AddPrefabPostInit("seeds", noperish) That's it, you should be able to start your game and activate the mod. The onperishplacement will swap your seeds with a raindrop. Raindrops make a small water splash animation and them get deleted. As this is a hackish way to do it, the seeds that are on your inventory are also going to disappear. Link to comment https://forums.kleientertainment.com/forums/topic/68593-seeds-dont-spoil-into-rot-tweak/#findComment-789363 Share on other sites More sharing options...
RyanandLink Posted July 2, 2016 Author Share Posted July 2, 2016 NEVERMIND I'm smart and thought this would need more in-depth modding skills, but it's literally changing one line in seeds.lua. If someone else would like this for themselves, all you gotta do is Spoiler Change inst.components.perishable.onperishreplacement = "spoiled_food" into inst.components.perishable.onperishreplacement = "" and boom world is unlittered! (only works with seeds that still have to spoil, rot that is already lying around in your world won't disappear with this) Link to comment https://forums.kleientertainment.com/forums/topic/68593-seeds-dont-spoil-into-rot-tweak/#findComment-789402 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