CutChemist Posted October 8, 2019 Share Posted October 8, 2019 (edited) 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 October 8, 2019 by CutChemist Link to comment https://forums.kleientertainment.com/forums/topic/112537-infinite-fashion-melon/ Share on other sites More sharing options...
Ultroman Posted October 8, 2019 Share Posted October 8, 2019 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. Link to comment https://forums.kleientertainment.com/forums/topic/112537-infinite-fashion-melon/#findComment-1269531 Share on other sites More sharing options...
CutChemist Posted October 9, 2019 Author Share Posted October 9, 2019 I appreciate you and thank you kindly Link to comment https://forums.kleientertainment.com/forums/topic/112537-infinite-fashion-melon/#findComment-1269549 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