Quick Hypothetical Question:
Say I coded a custom inventory system or a custom combat system. If I wanted to make it work across multiple places, what would be the best way to go about it?
Sure, I could copy and paste the functionality, but then if I wanted to update the mechanic, I would have to update every place manually.
What would be the best way to do this?