v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

v0.31:Building token

From Dwarf Fortress Wiki
Revision as of 06:44, 21 April 2010 by Derektumolo (talk | contribs) (Created page with 'These tokens control the functionality of custom buildings. A good first try at modding buildings is building a bug burning workshop. http://www.bay12forums.com/smf/index.php?to…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

These tokens control the functionality of custom buildings.

A good first try at modding buildings is building a bug burning workshop. http://www.bay12forums.com/smf/index.php?topic=54058.0

This works around the bug with critters not rotting by giving you a building to cremate them into ash.

The raw text for the building itself:

[BUILDING_WORKSHOP:MAGMA_CREMATORIUM] [NAME:Magma Crematorium] [NAME_COLOR:7:0:1] [DIM:3:3] [WORK_LOCATION:2:3] [BUILD_LABOR:MASON] [BUILD_KEY:CUSTOM_SHIFT_C] [BLOCK:1:0:0:0] [BLOCK:2:0:0:0] [BLOCK:3:0:0:0] [TILE:0:1:' ':' ':236] [TILE:0:2:' ':236:'/'] [TILE:0:3:'|':' ':' '] [COLOR:0:1:0:0:0:0:0:0:0:0:1] [COLOR:0:2:0:0:0:0:0:1:6:0:0] [COLOR:0:3:6:0:0:0:0:0:0:0:0] [TILE:1:1:236:' ':227] [TILE:1:2:'|':' ':8] [TILE:1:3:' ':' ':236] [COLOR:1:1:0:0:1:0:0:0:0:0:1] [COLOR:1:2:6:0:0:0:0:0:0:0:1] [COLOR:1:3:0:0:0:0:0:0:0:0:1] [TILE:2:1:201:227:187] [TILE:2:2:200:8:188] [TILE:2:3:' ':' ':' '] [COLOR:2:1:0:0:1:0:0:1:0:0:1] [COLOR:2:2:0:0:1:0:0:1:0:0:1] [COLOR:2:3:0:0:0:0:0:0:0:0:0] [TILE:3:1:201:227:187] [TILE:3:2:200:8:188] [TILE:3:3:150:210:253] [COLOR:3:1:0:0:1:0:0:1:0:0:1] [COLOR:3:2:0:0:1:0:4:1:0:0:1] [COLOR:3:3:0:0:1:6:0:0:7:0:1] [BUILD_ITEM:1:NONE:NONE:NONE:NONE][BUILDMAT][WORTHLESS_STONE_ONLY][CAN_USE_ARTIFACT]

Tokens that are availabe (from hexdump of the exe) BUILDING_FURNACE REACTION_CLASS HAS_MATERIAL_REACTION_PRODUCT UNROTTEN CONTAINS_LYE POTASHABLE NOT_WEB.WEB_ONLY EMPTY NOT_CONTAIN_BARREL_ITEM BAG GLASS_MATERIAL BUILDMAT FIRE_BUILD_SAFE MAGMA_BUILD_SAFE CAN_USE_ARTIFACT WORTHLESS_STONE_ONLY ANY_PLANT_MATERIAL ANY_SILK_MATERIAL ANY_SOAP_MATERIAL ANY_LEATHER_MATERIAL ANY_BONE_MATERIAL ANY_SHELL_MATERIAL ANY_TOOTH_MATERIAL ANY_HORN_MATERIAL. ANY_PEARL_MATERIAL USE_BODY_COMPONENT METAL_ORE MIN_DIMENSION BUILD_ITEM NAME NAME_COLOR BUILD_LABOR DIM WORK_LOCATION BUILD_KEY NEEDS_MAGMA BLOCK TILE

I'll come back later to add definitions for these, but many can be found at Reactions