Opened 10 years ago

Closed 8 years ago

Last modified 8 years ago

#99 closed enhancement (fixed)

Define "points" values in GameSystem

Reported by: ibboard Owned by: Henri
Priority: major Milestone: WarFoundry API 0.2
Component: WarFoundry-API Version: Unknown or N/A
Keywords: Cc:
Blocked By: Blocking: #100, #327, #328

Description

The GameSystem files should define what their points system is as an abbreviated form so that we can label costs correctly. The default should be pts (Warhammer and 40K, amongst others) but allow for GC (Mordheim's Gold Crowns) and teef (Gorkamorka Teef).

Change History (20)

comment:1 Changed 10 years ago by ibboard

Type: defectenhancement

comment:2 Changed 10 years ago by ibboard

Blocking: 100 added

comment:3 Changed 10 years ago by ibboard

Blocking: 57 added

comment:4 Changed 10 years ago by ibboard

Status: newconfirmed

Move tickets to new "confirmed" status to show that they've been checked

comment:5 Changed 9 years ago by Henri

Owner: set to Henri
Status: confirmedaccepted
Version: Unknown or N/A

comment:6 Changed 9 years ago by ibboard

Milestone: WarFoundry 0.2WarFoundry API 0.2

Separate API milestone from UI milestone

comment:7 Changed 9 years ago by Henri

Blocking: 327 added

comment:3 Changed 9 years ago by Henri

In [767]:

Re #99: added points name system to GameSystem

comment:4 Changed 9 years ago by Henri

In [768]:

Re #99: added points name system to system load procedure

comment:5 Changed 9 years ago by Henri

In [770]:

Re #99: added points name system to schema

comment:6 Changed 8 years ago by ibboard

Blocking: 57 removed

(In #57) Ticket doesn't make sense any more - we're defining the spec as we go and relying on backward/forward compatibility so there is no "complete" to load.

comment:8 Changed 8 years ago by ibboard

In [785]:

Re #99: Define points systems

  • Simplify the code and leave translations until we support them

Re #329 and re #327: Use "points" in UI

  • Use new method in UnitEquipmentItem object's ToString() method

comment:3 Changed 8 years ago by ibboard

In [787]:

Re #99: Define "points" values in GameSystem

  • Use short-hand method for defining simple properties to reduce code

comment:4 Changed 8 years ago by ibboard

In [788]:

Re #99: Define "points" values in GameSystem

  • Add unit tests

comment:5 Changed 8 years ago by ibboard

In [789]:

Re #99: Define "points" values in GameSystem

  • Update to make sure that we don't return null

comment:6 Changed 8 years ago by ibboard

In [792]:

Re #99: Define "points" values in GameSystem

  • Add tests for fall-back so that just one value can be specified

comment:7 Changed 8 years ago by ibboard

Resolution: fixed
Status: acceptedclosed

In [793]:

Fixes #99: Define "points" values in GameSystem

  • Implement fall-back in case only one value has been set

comment:8 Changed 8 years ago by ibboard

In [794]:

Re #99: Define "points" values in GameSystem

  • Inline some local variables for readability
  • Define defaults in schema

no-open-ticket

comment:9 Changed 8 years ago by ibboard

In [795]:

Re #99: Define "points" values in GameSystem

  • Test point string loading (checks shift of default value responsibility from GameSystem to factory)

no-open-ticket

comment:10 Changed 8 years ago by ibboard

Blocking: 328 added

(In #328) In [797]:

(The changeset message doesn't reference this ticket)

Note: See TracTickets for help on using tickets.