Jump to content

Recommended Posts

Hello, can someone kindly point me in the direction on what I need to accomplish to have this? I would like to decorate this month with the pumpkin skin for this without it rotting every 3 days.  Im not new to modding but new to DST modding. Thank you.

Edited by CutChemist
Link to comment
https://forums.kleientertainment.com/forums/topic/112537-infinite-fashion-melon/
Share on other sites

You can simply make a mod which removes the perishable component from the prefab you wish to edit.

Put this in your modmain.lua file, and change the prefab name to the prefab you want to change.

AddPrefabPostInit("some_prefab_name", function(inst)
	inst:RemoveComponent("perishable")
end)

If you need help with all the modding basics, the newcomer post is a great place to start. You can basically copy my Metabolizer mod, and replace the code in the modmain.lua file with the snippet above (remember to alter it as stated, though), and it should work. Just edit the modinfo.lua file, as well. That part should be easy for you since you're not new to modding. You can just remove the entire configuration_options list in modinfo.lua, and change all the mod information. You will probably want to make your own mod icon, as well.

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