Ticket #359 (accepted enhancement)
Add "only contained" attribute to unit types
| Reported by: | ibboard | Owned by: | ibboard |
|---|---|---|---|
| Priority: | major | Milestone: | WarFoundry API 0.2 |
| Component: | WarFoundry-API | Version: | Unknown or N/A |
| Keywords: | containership unittype | Cc: | |
| Blocked By: | Blocking: | #360 |
Description (last modified by ibboard) (diff)
Currently, all units show up at the top level for the categories they are in. This works for now, but when we get the containership UI in place then we'll have units (e.g. champions) that are contained and don't have an existence in their own right. For these units we need to declare their unit type as "only contained".
This attribute should:
- Stop units showing in a "get unit types for category" call
- Be ignored for a "get all unit types for category" call
- Be loaded from data files
- Make the unit be deleted when its parent is deleted
Change History
comment:2 Changed 5 weeks ago by ibboard
- Owner set to ibboard
- Status changed from confirmed to accepted
comment:9 Changed 5 weeks ago by ibboard
- Blocking 360 added
(In #360) TODO: Handle nested units in army tree
comment:10 Changed 5 weeks ago by ibboard
TODO: Make changes to Army so that army tree widgets can do nesting properly.
comment:11 Changed 5 weeks ago by ibboard
Also TODO: Make deleted units get removed from their parent.
comment:12 Changed 5 weeks ago by IBBoard <dev@…>
comment:13 Changed 5 weeks ago by IBBoard <dev@…>
comment:14 Changed 5 weeks ago by IBBoard <dev@…>
comment:15 Changed 5 weeks ago by IBBoard <dev@…>
comment:16 Changed 5 weeks ago by IBBoard <dev@…>
comment:17 Changed 5 weeks ago by ibboard
Should all be handled now. Leaving the ticket open until user testing is done.
Note: See
TracTickets for help on using
tickets.
WarFoundry - Development