dninemfive / wn-mfw

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

Way to structure variations on the same unit #13

Open dninemfive opened 1 month ago

dninemfive commented 1 month ago

A common pattern is a series of units which are very similar, but differ slightly, and are usually upgrades of one another - for example the three HIMARS variants or most of the plane variants.

This could be made significantly simpler and less error-prone by making one "base" unit and defining the rest as variants thereof. The current unit group pattern isn't super conducive to this, but a little tweaking could make this viable - perhaps as a subclass of UnitSubgroup?