Ticket #17 (accepted task)

Opened 3 years ago

Last modified 2 years ago

Complete Rollcall unit type core loading

Reported by: ibboard Owned by: ibboard
Priority: major Milestone: Rollcall plugin 0.1
Component: WarFoundry-Plugin-Rollcall Version: Unknown or N/A
Keywords: Cc:
Blocked By: #9 Blocking: #16

Description (last modified by ibboard) (diff)

As part of the Rollcall file loading we need to parse and load data for unit types. We currently do some of this, but other parts are dependent on #9. Once #9 is fixed we need to load unit types from the INI file and add them to the army one-by-one.

Core data for units is:

  • Name
  • Category
  • Points cost
  • Min/Max number of units
  • Min/Max size of unit
  • Unit stats
  • Save

Change History

comment:1 Changed 3 years ago by ibboard

(In r36) Re #16 - File loading

  • Refactor race detail parsing and unit type parsing in to their own classes

Re #17 - Unit detail loading

  • Add a couple of extra attributes to those loaded

comment:2 Changed 3 years ago by ibboard

  • Summary changed from Complete Rollcall unit loading to Complete Rollcall unit core loading
  • Description modified (diff)
  • Milestone set to WarFoundry 0.1

comment:3 Changed 3 years ago by ibboard

  • Milestone changed from WarFoundry 0.1 to Rollcall plugin 0.1

comment:4 Changed 3 years ago by ibboard

  • Status changed from new to accepted

comment:5 Changed 3 years ago by ibboard

(In r42) Re #17 - Load unit data

  • Parse more attributes including troop cost
  • Improve handling of required values
  • Refactor code in to generic parent

comment:6 Changed 3 years ago by ibboard

(In r100) Re #17 - Complete core Rollcall loading

  • Resolve warning about deprecated constructor

comment:7 Changed 2 years ago by ibboard

  • Version set to Unknown or N/A
  • Description modified (diff)
  • Summary changed from Complete Rollcall unit core loading to Complete Rollcall unit type core loading

Values to load:

  • Name
  • Category
  • Points cost
  • Min/Max number of units
  • Min/Max size of unit
  • Unit stats
  • Save
Note: See TracTickets for help on using tickets.