Jump to content

Recommended Posts

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)?

 

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.

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