SinisterHumanoid Posted February 6, 2015 Share Posted February 6, 2015 Shoundn't be too hard at all, in fact I'd do it myself if i knew how, but any chance anyone out there can whip up a quick mod that allows for use of ashes for fertalizer?Cause it's an actual thing and would make sense to have it in game Link to comment https://forums.kleientertainment.com/forums/topic/50629-mod-request-ash-for-fertalizer/ Share on other sites More sharing options...
rezecib Posted February 6, 2015 Share Posted February 6, 2015 @SinisterHumanoid, Make it a server-only mod (all_clients_require_mod = false, client_only_mod = false).AddPrefabPostInit("ash", function(inst) inst:AddComponent("fertilizer") inst.components.fertilizer.fertilizervalue = TUNING.SPOILEDFOOD_FERTILIZE inst.components.fertilizer.soil_cycles = TUNING.SPOILEDFOOD_SOILCYCLESend)I literally just copy-pasted the spoiledfood (rot) prefab's part about fertilizing into a postinit for ash. Link to comment https://forums.kleientertainment.com/forums/topic/50629-mod-request-ash-for-fertalizer/#findComment-610519 Share on other sites More sharing options...
SinisterHumanoid Posted February 6, 2015 Author Share Posted February 6, 2015 @SinisterHumanoid, Make it a server-only mod (all_clients_require_mod = false, client_only_mod = false).AddPrefabPostInit("ash", function(inst) inst:AddComponent("fertilizer") inst.components.fertilizer.fertilizervalue = TUNING.SPOILEDFOOD_FERTILIZE inst.components.fertilizer.soil_cycles = TUNING.SPOILEDFOOD_SOILCYCLESend)I literally just copy-pasted the spoiledfood (rot) prefab's part about fertilizing into a postinit for ash.Thank you so much xDI really should learn how to write LUA in C++ but god is it all so confusing Also, i dont even know how to make the files work for uploading to the workshop, i have the program to upload to workshop, but im not sure the layout of.. said folder to be uploaded Link to comment https://forums.kleientertainment.com/forums/topic/50629-mod-request-ash-for-fertalizer/#findComment-610521 Share on other sites More sharing options...
rezecib Posted February 6, 2015 Share Posted February 6, 2015 @SinisterHumanoid, http://forums.kleientertainment.com/topic/47353-guide-getting-started-with-modding-dst-and-some-general-tips-for-ds-as-well/ Start by copying another mod. Link to comment https://forums.kleientertainment.com/forums/topic/50629-mod-request-ash-for-fertalizer/#findComment-610526 Share on other sites More sharing options...
SinisterHumanoid Posted February 6, 2015 Author Share Posted February 6, 2015 @SinisterHumanoid, http://forums.kleientertainment.com/topic/47353-guide-getting-started-with-modding-dst-and-some-general-tips-for-ds-as-well/ Start by copying another mod.Yes yes, thank you so much, ive opened up some other mods and seen how they're laid out, currently writing it all out and such Link to comment https://forums.kleientertainment.com/forums/topic/50629-mod-request-ash-for-fertalizer/#findComment-610529 Share on other sites More sharing options...
SinisterHumanoid Posted February 6, 2015 Author Share Posted February 6, 2015 (edited) @SinisterHumanoid, http://forums.kleientertainment.com/topic/47353-guide-getting-started-with-modding-dst-and-some-general-tips-for-ds-as-well/ Start by copying another mod.Ive mad the modinfo.lua and the modmain.lua files but when i try to select the folder that has it all in it, it gives me a message saying "This folder doesnt appear to have a valid Don't Starve mod! 'modinfo.lua' was missing or is invalid"Is it because where i have that folder stored? Its in my doccuments so it doesnt get lostC:\Users\(username)\Documents\DST mods\Ash for Fertalizerhttp://i.gyazo.com/77b2be7e79338ed811bedde55f5e9be8.png Edited February 7, 2015 by SinisterHumanoid Link to comment https://forums.kleientertainment.com/forums/topic/50629-mod-request-ash-for-fertalizer/#findComment-610532 Share on other sites More sharing options...
SinisterHumanoid Posted February 7, 2015 Author Share Posted February 7, 2015 I've never even touched LUA so I'm kinda lost as to what I've done wrong.. Link to comment https://forums.kleientertainment.com/forums/topic/50629-mod-request-ash-for-fertalizer/#findComment-610546 Share on other sites More sharing options...
Kzisor Posted February 7, 2015 Share Posted February 7, 2015 I've never even touched LUA so I'm kinda lost as to what I've done wrong..The error posted above indicates you need a modinfo.lua file in the main mod folder. If you are unfamiliar with lua or do not specifically want to create mods I suggest you wait until someone takes the time to port or wait for the owner to obtain the Linux or Mac version of Don't Starve Together. I believe the owner will work on their mods as soon as that occurs. Link to comment https://forums.kleientertainment.com/forums/topic/50629-mod-request-ash-for-fertalizer/#findComment-610732 Share on other sites More sharing options...
SinisterHumanoid Posted February 7, 2015 Author Share Posted February 7, 2015 The error posted above indicates you need a modinfo.lua file in the main mod folder. If you are unfamiliar with lua or do not specifically want to create mods I suggest you wait until someone takes the time to port or wait for the owner to obtain the Linux or Mac version of Don't Starve Together. I believe the owner will work on their mods as soon as that occurs.Well it's not a current mod anywhere as far as i know...So there's no chance it could be ported into DST if it doesn't even exist.. Link to comment https://forums.kleientertainment.com/forums/topic/50629-mod-request-ash-for-fertalizer/#findComment-610761 Share on other sites More sharing options...
Noggle Posted February 7, 2015 Share Posted February 7, 2015 It would appear that you have saved the files as "modmain.lua.txt" and "modinfo.lua.txt", based on the screenshots. Link to comment https://forums.kleientertainment.com/forums/topic/50629-mod-request-ash-for-fertalizer/#findComment-610767 Share on other sites More sharing options...
Kzisor Posted February 7, 2015 Share Posted February 7, 2015 (edited) @SinisterHumanoid, actually Ash for Fertilizer is a mod for DS. It's located on both DS Steam workshop and Klei Workshop. Just for reference here is a link: http://steamcommunity.com/sharedfiles/filedetails/?id=179599797&searchtext=ash Edited February 7, 2015 by Kzisor Link to comment https://forums.kleientertainment.com/forums/topic/50629-mod-request-ash-for-fertalizer/#findComment-610768 Share on other sites More sharing options...
SinisterHumanoid Posted February 7, 2015 Author Share Posted February 7, 2015 @SinisterHumanoid, actually Ash for Fertilizer is a mod for DS. It's located on both DS Steam workshop and Klei Workshop. Just for reference here is a link: http://steamcommunity.com/sharedfiles/filedetails/?id=179599797&searchtext=ashAhh... I just found myself having a huge abundance of ask with my friend so i thought.. "Beefalo are so far away and its hard to safely get manure, I know ash can be used for fertalizer in real life, wonder if i can find someone to make the quick mod" Link to comment https://forums.kleientertainment.com/forums/topic/50629-mod-request-ash-for-fertalizer/#findComment-610808 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