You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding new models, parts, and Zomboid items involves way too many steps in too many separate files. There should be a way to define models and parts in one place (e.g. yaml files) and use those to generate the actual source files used by the game (e.g. CoavinsModels.lua and the parts list in FirearmsHelper.lua)
I think this could be easier to maintain as the list of models and parts grows larger.
The text was updated successfully, but these errors were encountered:
One notable issue is that for parts that hold or insert into another part, you have to define this relationship from both sides which leaves room for error. A refactor should fix this so you only have to define the relationship once.
It could be a good idea (for a start) to, if possible, move out the parts relationship in FirearmsHelper.lua into different files per weapon type, to clean that up. Then we could build something to build the rest of the content from these files.
Adding new models, parts, and Zomboid items involves way too many steps in too many separate files. There should be a way to define models and parts in one place (e.g. yaml files) and use those to generate the actual source files used by the game (e.g. CoavinsModels.lua and the parts list in FirearmsHelper.lua)
I think this could be easier to maintain as the list of models and parts grows larger.
The text was updated successfully, but these errors were encountered: