Targets
- Targets:
Contains list of targets of a action.
- YAML Key:
Targets
- Example:
Targets:
EntityTypeTarget:
Type: EntityType
ValidTargets: Wonder
Conditions:
- "CanAfford(Source.Player, EntityTypeTarget)"
- "CanSpawn(Source, EntityTypeTarget)"
TargetPosition:
Type: Position
SamplingMethod:
Type: Neighbours
Options:
Shape: Square
Size: 4
Conditions:
- "IsWalkable(TargetPosition)"
- Properties:
Property |
Required |
Data type |
Options |
Definition |
|
|
Define the a target |