dninemfive / wn-mfw

WARNO mod framework.
MIT License
0 stars 0 forks source link

`UnitWrapper.main_specialty` #24

Open dninemfive opened 1 month ago

dninemfive commented 1 month ago

i just added a main_specialty getter and setter to UnitUiModuleWrapper, but this would be a bit quicker to reference if it were on UnitWrapper - and, there, it could set several other things, such as the AcknowUnitType, TypeUnitFormation, MenuIconTexture, Factory, &c.

Instead of a property, this should probably be a method with several arguments to set each of the above; there should also be some defaults defined in mw2.constants, at least one for each PrimarySpecialty.