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.

Difference between revisions of "Utility:DFHack/createitem"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (→‎Wood: fix blocks)
Line 19: Line 19:
 
  WOOD PLANT_MAT:''tree'':WOOD
 
  WOOD PLANT_MAT:''tree'':WOOD
 
* Blocks
 
* Blocks
  BLOCKS ''tree''
+
  BLOCKS PLANT_MAT:''tree'':WOOD
  
 
=== Metal ===
 
=== Metal ===

Revision as of 15:12, 3 May 2014

This is a list of createitem commands for DFHack.

Usage

  • createitem must be run with a creature/unit selected and will place items at their feet.
  • You can create multiple items at once by appending a number to the createitem command (e.g. createitem BOULDER HEMATITE 20).
  • Text in italics should be replaced with the ID from the relevant raw page on this wiki. For example, to make goblin-cap logs, visit the goblin-cap page and view the raws. The ID is found in the first token, separated from the item type with a colon - for example, the ID for goblin-caps is GOBLIN_CAP, retrieved from [PLANT:GOBLIN_CAP].

Inorganic items

Most of these can be obtained from the list of item tokens.

Stone

  • Boulders (i.e. mined stones):
BOULDER stone
  • Blocks
BLOCKS stone

Wood

  • Logs
WOOD PLANT_MAT:tree:WOOD
  • Blocks
BLOCKS PLANT_MAT:tree:WOOD

Metal

  • Bars
BAR metal

Gems

  • Rough gems
ROUGH gem
  • Small cut gems
SMALLGEM gem
  • Large cut gems
GEM gem

Animal products

Cloth/leather

  • Silk:
CLOTH CREATURE_MAT:animal:SILK