Denizen Script Tags

Tags are always written with a <between these marks>, and are critical to scripts, as the primary way to read data.
Learn about how tags work in The Beginner's Guide.

Showing 1 out of 2441 tags...
DescriptionReturns a decorated pot's sherds as a map of sides to ObjectType:MaterialTags of the sherds.
The map will always contain every side, with a brick being the default value for when a side has no sherd.
Valid sides are: 🔗
Valid sherd materials are either a brick or any pottery sherd.
# Tells the player if they're looking at a pot that has any sherds.
- if <player.cursor_on.sherds.values.contains_match[!brick].if_null[false]>:
  - narrate "That pot has sherds in it! You should check!"
- else:
  - narrate "Try looking somewhere else."