Opened 10 years ago

Last modified 9 years ago

#213 accepted enhancement

Add abilities to units

Reported by: ibboard Owned by:
Priority: major Milestone:
Component: WarFoundry-API Version: Unknown or N/A
Keywords: unit unittype abilities optional required Cc:
Blocked By: Blocking: #214, #215

Description

Unit types already have abilities, which can be required or not, but we currently don't have a way of defining which abilities a unit has. This means that we have to assume that a unit only has its required abilities, making it impossible to add the optional abilities.

The API needs Units to have all of the required abilities for its unit type, plus a method for adding optional abilities from the unit type.

Change History (8)

comment:1 Changed 10 years ago by ibboard

Blocking: 214 added

comment:2 Changed 10 years ago by ibboard

Blocking: 215 added

comment:3 Changed 10 years ago by ibboard

Status: newaccepted

comment:4 Changed 10 years ago by ibboard

(In r395) Fixes #216: Export unit abilities in to HTML

  • Add export of ability names in HTML
  • Restructure the equipment export code so that there is some degree of differentiation between equipments and abilities

Re #213: Add abilities to units

  • Add initial stub "Abilities" property to unit that returns required abilities

comment:5 Changed 10 years ago by ibboard

Component: General/UnknownWarFoundry-API

Set correct component

comment:6 Changed 10 years ago by ibboard

Milestone: WarFoundry 0.1WarFoundry 0.2

Move to v0.2 (or possibly later) as agreed with community.

comment:7 Changed 9 years ago by ibboard

Milestone: WarFoundry 0.2WarFoundry API 0.2

Separate API milestone from UI milestone

comment:8 Changed 9 years ago by ibboard

Milestone: WarFoundry API 0.2

Remove from milestone as less important issues.

Note: See TracTickets for help on using tickets.