Tiny Dungeon 2e :: Collection DefinitionsCollections

Collections

This section defines your Game's Collections.

A Collection is a grouping of similar things that share the same behaviors, such as weapons, skills, spells, equipment, and so forth. Collection definitions include the fields that exist (or can exist) on any item in the Collection.

Not all fields need to be visible to players! Some of them (often things like "action") are mechanical in nature.

  • label : The label field is automatically defined.
  • short_description : The short_description is field is automatically defined. If present, it will automatically be displayed in Catalogs.

Consider a weapon. In most Games, a weapon may possess the following attributes: label (it's name), cost (a number), damage (a string), weight (a number), type (melee or ranged), an associated action (melee attack or ranged attack), and possibly a description.