|Name||Entity Script Containers|
|Description||Entity script containers are an easy way to pre-define custom entities for use within scripts. Entity
scripts work with the EntityTag object, and can be fetched with the Object Fetcher by using the
EntityTag constructor e@EntityScriptName. Example: - spawn <player.location> e@MyEntity
The following is the format for the container. Except for the 'entity_type' key (and the dScript
required 'type' key), all other keys are optional.
You can also include a 'custom' key to hold any custom yaml data attached to the script.
# The name of the entity script is the same name that you can use to construct a new
# EntityTag based on this entity script. For example, an entity script named 'space zombie'
# can be referred to as 'e@space zombie'.
# Must be a valid EntityTag (EG e@zombie or e@pig[age=baby]) See 'dEntity' for more information.
# Samples of mechanisms to use (any valid EntityTag mechanisms may be listed like this):
# Whether the entity has the default AI
# What age the entity is
MORE OPTIONS ARE LISTED HERE: url//denizen/mecs/dentity.
|Group||Script Container System|