Queryable tags for entities #1631
Labels
G-Design
An issue having to do with game design.
L-Commands
Built-in commands (e.g. move, try, if, ...) in the Swarm language.
Z-Feature
A new feature to be added to the game.
I would like to categorize entities by custom tags, e.g.:
The implementation should be straightforward; just add a new field in the YAML description of an entity that accepts a list of strings (the "tags").
A new command
hasTag : text -> text -> cmd bool
that answers whether an entity has a given tag. This would be primarily intended for system robot use, though there is probably opportunity for creative uses as a scenario mechanic for players.The text was updated successfully, but these errors were encountered: