Opened 7 years ago

Last modified 7 years ago

#413 confirmed enhancement

Add "RequiresNoMoreThanNUnitsInParent" requirements

Reported by: ibboard Owned by:
Priority: major Milestone:
Component: WarFoundry-API Version: Unknown or N/A
Keywords: containership mutex requirement Cc:
Blocked By: Blocking:

Description

Sometimes, a unit has a range of sub-units but is only allowed one at once (e.g. multiple monstrous mounts). Currently, we don't have a way to control this - requirements like RequiresNoMoreThanNUnits are global. What we need is a similar thing, but just checking the children of the unit being added to so that we can have mutual exclusion of mounts.

The alternative is to have something at the ContainsUnits level that groups them and puts the requirements on from the top down.

Change History (2)

comment:1 Changed 7 years ago by ibboard

Status: newconfirmed

comment:2 Changed 7 years ago by ibboard

Keywords: requirement added
Note: See TracTickets for help on using tickets.