dninemfive / wn-mfw

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

Allow dynamically modifying UnitsPerXp #28

Open dninemfive opened 3 weeks ago

dninemfive commented 3 weeks ago

UnitRegistrationInfo and the stuff called from it should accept a lambda(x: UnitsPerXp) -> UnitsPerXp argument so that you can dynamically modify availability based on whatever the mod finds as its vanilla availability.

Specifically want this for the HEMTT, which should have +1 veterancy versus the vanilla unit and be otherwise unchanged.