Menu

#30 Dependents Rework

Unstable_(example)
closed
Hammer
None
1
2015-05-05
2014-05-12
No

I finally got back to working on this.

Phase 1 is complete. It adds dependent as a role and gives them their own dropdown. This is just a simple addition that moves dependents out of the general combat/support roster. Also resets the pay when you flag a dependent from true to false.

Phase 2 in progress. This handles adjustable pay/overhead spent on the dependents.

So far I haven't had issues with the code change. May need cleanup and further testing. You will need to update any current dependents of their new role (change primary role). All new dependents will do this automatically.

Discussion

  • Pheonix Rising

    Pheonix Rising - 2014-05-14

    Phase 2 complete, new patch uploaded for testing. Works for me so far.

    Phase 3... I am up for ideas. Only known issue is getting dependents out of the Personnel Market. Hire and Hire in Bulk are ok as it partially simplifies things and leaves you with an unskilled dependent though I am not sure if this will cause any funny business (yet)

     
  • Pheonix Rising

    Pheonix Rising - 2014-05-28

    Rework. Everything runs fine though this is may not be final. See dependents thread in megamek forums.

     
  • Pheonix Rising

    Pheonix Rising - 2014-06-25

    Latest patch r17-r17b

    r17 - This is the base and handles setting primary and secondary roles (as well as adding astech skill) when hiring people for use as dependents. It does not assume that they are astechs and will set secondary skills accordingly (Medic or Astech).

    r17a - This is based off my question about if secondary astechs should count when using the temp astech "Bring astech team to full strength". It takes the assumption that it should only count primary astechs. No other changes.

    r17b - Based off the same question above but follows the assumption that both primary and secondary (as currently used) are counted. In this case the base code is modified to give all dependets T_NONE for both primary and secondary roles.

     
  • Hammer

    Hammer - 2015-05-05
    • Attachments has changed:

    Diff:

    --- old
    +++ new
    @@ -1 +0,0 @@
    -dependents_phase1.patch (3.5 kB; text/x-diff)
    
     
  • Hammer

    Hammer - 2015-05-05
    • status: open --> closed
    • assigned_to: Hammer
     

Log in to post a comment.

MongoDB Logo MongoDB