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.

Editing Utility:DFHack/createitem

Jump to navigation Jump to search

Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.

Format for adding a new example

* Description
 type:subtype things:''material'':things

Be sure to:

  • Include a space before the command to format it correctly
  • Copy the command as it would appear in DFHack, leaving out the initial createitem and quantity
  • Use two single quotes (') around the part of the command that can vary (e.g. type of animal, tree, metal, etc.)
  • For commands with multiple parts that can vary (e.g. "createitem FISH FISH_SHAD:MALE"), include both parts in italics (e.g. "createitem FISH creature:caste").
Notice  · About

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
 
This is a list of <code>createitem</code> commands for [[Utility:DFHack|DFHack]].
 
This is a list of <code>createitem</code> commands for [[Utility:DFHack|DFHack]].
  
Not to be confused with <code>gui/create-item</code>, an interactive Lua script, or <code>create-items</code>, a Ruby script with different syntax and support for fewer types of items.
+
Not to be confused with <code>create-items</code>, a Ruby script with different syntax and support for fewer types of items.
  
 
= Usage =
 
= Usage =
Line 18: Line 18:
 
** Some IDs contain a space which needs to be quoted, for example <code>createitem ROUGH "INORGANIC:LAPIS LAZULI"</code>.
 
** Some IDs contain a space which needs to be quoted, for example <code>createitem ROUGH "INORGANIC:LAPIS LAZULI"</code>.
 
** All ID values are ''case sensitive'', so make sure you capitalize them correctly - in vanilla raws, they are typically all uppercase, but mixed-case IDs may be encountered when using mods.
 
** All ID values are ''case sensitive'', so make sure you capitalize them correctly - in vanilla raws, they are typically all uppercase, but mixed-case IDs may be encountered when using mods.
 +
 +
* "gui/create-item" is a viable alternative.
  
 
__TOC__
 
__TOC__

Please note that all contributions to Dwarf Fortress Wiki are considered to be released under the GFDL & MIT (see Dwarf Fortress Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)

Template used on this page: