Ticket #27 (confirmed enhancement)
Define unit requirements
| Reported by: | ibboard | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | WarFoundry API 0.2 |
| Component: | WarFoundry-API | Version: | Unknown or N/A |
| Keywords: | Cc: | ||
| Blocked By: | #52, #345, #350, #351, #365, #394, #396, #397, #398 | Blocking: | #29, #104, #278 |
Description
Rollcall had a concept of "use restrictions", which are the basis for WarFoundry "use restrictions". An initial basic implementation already exists but isn't extensively used or tested. A full set of use restrictions should be handled and available for different factories to create as necessary.
Change History
comment:4 Changed 3 years ago by ibboard
- Summary changed from Define "unit requirements" to Define unit requirements
comment:5 Changed 3 years ago by ibboard
- Owner ibboard deleted
Remove owner so that the team can more easily see bugs. Using default owners seems good at first but is bad practice when a team can be working on any part of the project.
comment:8 Changed 3 years ago by ibboard
- Status changed from new to confirmed
Move tickets to new "confirmed" status to show that they've been checked
comment:7 Changed 17 months ago by ibboard
- Milestone changed from WarFoundry 0.2 to WarFoundry API 0.2
Separate API milestone from UI milestone
comment:8 Changed 16 months 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:9 Changed 15 months ago by ibboard
- Version set to Unknown or N/A
A list of requirements has been collected in this thread. In addition to unit requirements (what must/must not be taken before a unit can/can't be taken) we also need to consider equipment requirements.
The current list of requirements is:
- Must have one (or more) of unit Y to take any number of unit X (e.g. "must have at least one bowman unit to take Borris the Bowman special character")
- Can have up to A units of X for every B of unit Y (e.g. "can have up to three slave units for each normal unit")
- Cannot have any of Y to take X (e.g. "cannot have any flame demons if you take dryads")
- Unit X makes unit Y count as cat A instead of cat B (mainly occurs with special characters moving special choices to core choices)
- Unit X requires Z number of models of unit Y (e.g. "Doomsayer can only be taken if there are 15 or more flagelants")
- Unit X can only be taken in armies of Y points and above (e.g. "Grand High Emperor can only be taken in armies of 3000pts or more)
- Unit must take item X to have equipment item Y (e.g. "must have Mark of Warrior God to take Axe of Warrior God")
- Equipment item X can only be taken Y times per army (e.g. "rare scroll can only be taken three times per army")
- Points limits on unit equipment (e.g. "up to 40pts spent on any combination of items Q, R, S...Y or Z")
- Equipment X can only be taken in armies of Y points and above (e.g. "Historic National Battle Standard can only be takin in armies of 3000pts or more")
comment:10 Changed 14 months ago by ibboard
In [831]:
comment:11 Changed 14 months ago by ibboard
In [832]:
comment:12 Changed 14 months ago by ibboard
In [833]:
comment:13 Changed 14 months ago by ibboard
In [834]:
comment:14 Changed 14 months ago by ibboard
In [835]:
comment:15 Changed 14 months ago by ibboard
In [836]:
comment:16 Changed 14 months ago by ibboard
In [837]:
comment:17 Changed 14 months ago by ibboard
In [838]:
comment:18 Changed 14 months ago by ibboard
In [839]:
comment:19 Changed 14 months ago by ibboard
In [840]:
comment:20 Changed 14 months ago by ibboard
In [841]:
comment:21 Changed 14 months ago by ibboard
In [842]:
comment:22 Changed 14 months ago by ibboard
In [843]:
comment:23 Changed 14 months ago by ibboard
In [844]:
comment:24 Changed 14 months ago by ibboard
In [845]:
comment:25 Changed 14 months ago by ibboard
In [846]:
comment:26 Changed 14 months ago by ibboard
In [847]:
comment:27 Changed 14 months ago by ibboard
In [848]:
comment:28 Changed 14 months ago by ibboard
In [849]:
comment:29 Changed 14 months ago by ibboard
In [851]:
comment:30 Changed 14 months ago by ibboard
In [852]:
comment:31 Changed 14 months ago by ibboard
In [858]:
comment:32 Changed 14 months ago by ibboard
In [859]:
comment:33 Changed 14 months ago by ibboard
In [860]:
comment:34 Changed 14 months ago by ibboard
In [861]:
comment:35 Changed 14 months ago by ibboard
In [862]:
comment:36 Changed 14 months ago by ibboard
In [863]:
comment:37 Changed 14 months ago by ibboard
In [864]:
comment:38 Changed 14 months ago by ibboard
In [865]:
comment:39 Changed 14 months ago by ibboard
In [866]:
comment:40 Changed 14 months ago by ibboard
In [867]:
comment:41 Changed 14 months ago by ibboard
In [868]:
comment:42 Changed 14 months ago by ibboard
In [869]:
comment:43 Changed 14 months ago by ibboard
In [870]:
comment:44 Changed 14 months ago by ibboard
In [871]:
comment:45 Changed 14 months ago by ibboard
In [872]:
comment:46 Changed 14 months ago by ibboard
In [873]:
comment:47 Changed 14 months ago by ibboard
In [874]:
comment:48 Changed 14 months ago by ibboard
In [875]:
comment:49 Changed 14 months ago by ibboard
In [876]:
comment:50 Changed 14 months ago by ibboard
In [877]:
comment:51 Changed 14 months ago by ibboard
In [880]:
comment:52 Changed 14 months ago by ibboard
In [881]:
comment:53 Changed 14 months ago by ibboard
In [882]:
comment:54 Changed 14 months ago by ibboard
In [883]:
comment:55 Changed 14 months ago by ibboard
In [884]:
comment:56 Changed 14 months ago by ibboard
In [885]:
comment:57 Changed 14 months ago by ibboard
In [886]:
comment:58 Changed 14 months ago by ibboard
In [887]:
comment:59 Changed 13 months ago by ibboard
In [891]:
comment:60 Changed 13 months ago by ibboard
In [892]:
comment:61 Changed 13 months ago by ibboard
In [893]:
comment:62 Changed 13 months ago by ibboard
In [894]:
comment:63 Changed 13 months ago by ibboard
In [895]:
comment:64 Changed 13 months ago by ibboard
In [896]:
comment:65 Changed 13 months ago by ibboard
In [897]:
comment:66 Changed 13 months ago by ibboard
In [899]:
comment:67 Changed 13 months ago by ibboard
In [900]:
comment:5 Changed 13 months ago by ibboard
"-1" requirement should mainly be handled by UnitRequiresAtLeastNUnitsRequirement class (you can have any number as soon as you have N of the specified units, defaulting to 1) - OR option isn't handled yet. Schema to be added under #347.
"-2" requirement should now be handled by UnitRequiresNoMoreThanNOfUnitTypeRequirement (you can have any number as long as you have no more than N, defaulting to 0) - OR behavior isn't an important change and just requires separate requirements. Schema to be added under #348.
comment:10 Changed 7 months ago by IBBoard <dev@…>
comment:11 Changed 7 months ago by IBBoard <dev@…>
comment:16 Changed 6 weeks ago by ibboard
Some of the requirement ideas have been moved out to ticket:399 because they're related to equipment more than units.
comment:17 Changed 12 days ago by ibboard
- Blocking 271 removed
WarFoundry - Development
Rollcall restrictions:
-4 and -5 equivalents should be handled under #23. -3 is to be handled by #28.