DF2014:Trap component token
Jump to navigation
Jump to search
This article is about the current version of DF. |
Modding |
---|
Tokens |
Biome · Building · Entity · Ethic · Interaction · Labor · Language · Personality · Plant · Position · Reaction · Skill · Syndrome · Tissue definition · Unit type · World |
Body tokens |
Body · Body detail plan · Bodygloss |
Creature tokens |
Creature · Creature mannerism · Creature texture · Creature variation |
Descriptor tokens |
Descriptor color · Descriptor pattern · Descriptor shape |
Item tokens |
Item · Item definition · Ammo · Armor · Instrument · Tool · Trap component · Weapon |
Material tokens |
Material · Material definition · Inorganic material definition |
Trap component tokens are used on trap components.
Tokens[edit]
Token | Arguments | Description |
---|---|---|
NAME | singular:plural | What this item will be called in-game. |
ADJECTIVE | adjective | Appears before the name of the weapon's material. E.g. "menacing steel spike" |
SIZE / WEIGHT | value | How large the item is. Defaults to 100. |
HITS | value | Number of times it hits. Defaults to 1 |
MATERIAL_SIZE | value | How much material is needed to make the item. Is most important with bars. The number of bars needed is the value divided by three. Required. |
IS_SCREW | Weapon may be installed in a screw pump. | |
IS_SPIKE | Weapon may be installed in a spike trap. | |
WOOD | Weapon may be made out of wood. | |
METAL | Weapon may be made out of metal. | |
ATTACK |
|
Sets the attack characteristics of the weapon |