Jump to content

Recommended Posts

@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.

@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 xD

I 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

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

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 lost

C:\Users\(username)\Documents\DST mods\Ash for Fertalizer

http://i.gyazo.com/77b2be7e79338ed811bedde55f5e9be8.png

Edited by SinisterHumanoid

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.

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..

@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 by Kzisor

@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

Ahh... 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"

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...