Luis95R Posted December 28, 2016 Share Posted December 28, 2016 Hi all, I was wondering if it is better (in terms of performance or just overall) to change the way items work through modmain or by editing an entire items file? For example lets say I wanted to make the Top Hat have +10% speed. Would it be better to do it through modmain and add a AddPrefabPostInit or would it be better to just edit the file of the Top Hat (hats.lua)? Link to comment Share on other sites More sharing options...
Lumina Posted December 28, 2016 Share Posted December 28, 2016 It's better to do it with modmain. I don't know about performance, but it's better because it allows compatibility with others mods changing top hat, and if klei change the top hat file a day, your mod should still work fine. Link to comment Share on other sites More sharing options...
Luis95R Posted December 28, 2016 Author Share Posted December 28, 2016 Thank you Lumina I appreciate your response. Link to comment 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