Upcoming UnitConvert Changes (Patreon)
Content
With a new menu system in the works, UnitConvert will be the first mod to see some kind of significant changes. Those changes are what takes this update a lot longer to write.The toggle will be hard-set to two different units per fillType. This limit is set by a constant at the top of the main script, and could be adjusted at a later date. The two units can be volume, weight, the same, or different. This will allow more places to be toggled and keep everything more in sync and looking right.
You will also have the ability to add or remove units, unit systems, and fill type groups in game. Units will be set at the group level only to avoid confusion. Sometimes those fill type set units (which override the group) make people wonder why something is showing wrong even though they changed the group the fill type belongs to or the units associated with that group.In short you create groups, assign units to those groups, then assign groups to the different fill types. I use the group system because the vanilla category system allows fill types to belong to multiple categories. I need a more 1:1 grouping system for this. The other option was removing the grouping system completely and just setting units at the fill type level, but that can get tedious and more people liked how fast and easy doing it by group was.In the case of places like the shop where a vehicle can potentially hold a bunch of fill types, weight units will be based off of the heaviest fill type the vehicle allows. Unit selection for those menus only will allow you to toggle any unit that vehicle can potentially display.
Anyway, wanted to pass this along to you guys. It's not just designing menus and writing code. I am also updating the mod(s) that go with this menu system. Being able to change things on the fly opens a lot of new doors, but has to be coded differently to use the functionality.That's what I'm up to right now. That and always poking away at side request or projects.Later!