1
Work In Progress / Maintenance order change
« on: November 07, 2014, 04:02:41 pm »
Hi All
Arthanor asked me to take a look at changing the maintenance order to Refuel -> Rearm -> Repair so that those who select the ability to launch craft immediately don't have to wait for them to be fully repaired before scrambling them.
This is my attempt at accomplishing that. I have set it so that the default order is used (Repair, Rearm, Refuel) unless you select the launch immediately option, in which case Arthanor's suggested order is used.
Currently, this branch includes my maintenance time listed in the intercept window as some of the code I've used to get this done is common and I haven't separated or cleaned it up yet (or even tested it).
I'm not sure when I'm going to get a chance to work more on this so I figured I'd throw it out there for others to try.
Comments suggestions etc all welcome.
I created a branch called change_maintenance_order here:
https://github.com/bslaveboy/OpenXcom.git
bslaveboy
Arthanor asked me to take a look at changing the maintenance order to Refuel -> Rearm -> Repair so that those who select the ability to launch craft immediately don't have to wait for them to be fully repaired before scrambling them.
This is my attempt at accomplishing that. I have set it so that the default order is used (Repair, Rearm, Refuel) unless you select the launch immediately option, in which case Arthanor's suggested order is used.
Currently, this branch includes my maintenance time listed in the intercept window as some of the code I've used to get this done is common and I haven't separated or cleaned it up yet (or even tested it).
I'm not sure when I'm going to get a chance to work more on this so I figured I'd throw it out there for others to try.
Comments suggestions etc all welcome.
I created a branch called change_maintenance_order here:
https://github.com/bslaveboy/OpenXcom.git
bslaveboy