This is very cool but is there a way to change options such as "dynamicCargo" or "unlimitedMunitions" from code?
The Warehouse object returned by warehouse = Airbase.getWarehouse(airbase) only allows us to change the contents of the warehouse but not its attributes.
Dynamically spawned FARPs (using addGroup() with Group_Category = -1 ) are spawned with an empty warehouse and can't be resupplied properly by code or CH47F (the dedicated server seems to behave differently to running the mission in single player)