Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add ReloadAmmoPool trait #13538
First step towards #9613.
This adds a
The 3rd commit looks more intimidating than it really is, but if push comes to shove, I can split it off to a follow-up PR along the upgrade rule.
Note: I've tested the upgrade rule myself - even on a testcase with multiple AmmoPools - and verified that it works as intended.
- Once this refactoring is done, will airfields be able to increase the speed at which
- Will airfields be able to pause
ReloadAmmoPooltraits in order to reload the
AmmoPoolsat an overall different speed?
Rearmseems to be intentionally ignoring auto-reloading
AmmoPools, which I bet is a bit limiting in terms of gameplay possibilities for modders.)
Both 1. and 2.: Yes, by making the airfield provide a condition that disables (or pauses) the "self-reloading"