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").
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]]. | ||
− | |||
− | |||
= Usage = | = 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. <code>createitem BOULDER HEMATITE 20</code>). | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | * You can create multiple items at once by appending a number to the createitem command (e.g. <code>createitem BOULDER | ||
* 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 <code>GOBLIN_CAP</code>, retrieved from <code>[PLANT:GOBLIN_CAP]</code>. | * 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 <code>GOBLIN_CAP</code>, retrieved from <code>[PLANT:GOBLIN_CAP]</code>. | ||
− | |||
− | |||
__TOC__ | __TOC__ | ||
− | |||
= Items = | = Items = | ||
== Inorganic items == | == Inorganic items == | ||
Line 26: | Line 12: | ||
=== Stone === | === Stone === | ||
* Boulders (i.e. mined stones): | * Boulders (i.e. mined stones): | ||
− | BOULDER | + | BOULDER ''stone'' |
* Blocks | * Blocks | ||
− | BLOCKS | + | BLOCKS ''stone'' |
=== Wood === | === Wood === | ||
Line 38: | Line 24: | ||
=== Metal === | === Metal === | ||
* [[Bar]]s (or [[wafer]]s) | * [[Bar]]s (or [[wafer]]s) | ||
− | BAR | + | BAR ''metal'' |
=== Gems === | === Gems === | ||
* Rough gems | * Rough gems | ||
− | ROUGH | + | ROUGH ''gem'' |
* Small cut gems | * Small cut gems | ||
− | SMALLGEM | + | SMALLGEM ''gem'' |
* Large cut gems | * Large cut gems | ||
− | GEM | + | GEM ''gem'' |
=== Glass === | === Glass === | ||
Raw glass: | Raw glass: | ||
− | ROUGH ''glass'' | + | ROUGH ''glass'' |
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
Line 63: | Line 49: | ||
(Items made of glass, e.g. furniture, use these names as well) | (Items made of glass, e.g. furniture, use these names as well) | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Armor == | == Armor == | ||
− | * Gauntlets | + | * Gauntlets |
− | GLOVES:ITEM_GLOVES_GAUNTLETS '' | + | GLOVES:ITEM_GLOVES_GAUNTLETS ''metal'' 2 |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Weapons == | == Weapons == | ||
*Whip: | *Whip: | ||
Line 165: | Line 102: | ||
*Training spear: | *Training spear: | ||
WEAPON:ITEM_WEAPON_SPEAR_TRAINING ''material'' | WEAPON:ITEM_WEAPON_SPEAR_TRAINING ''material'' | ||
− | |||
− | |||
− | |||
− | |||
== Trap components == | == Trap components == | ||
Line 183: | Line 116: | ||
== Tools == | == Tools == | ||
− | |||
− | |||
== Furniture == | == Furniture == | ||
Line 195: | Line 126: | ||
|- | |- | ||
| Armor stand || ARMORSTAND | | Armor stand || ARMORSTAND | ||
− | |||
− | |||
|- | |- | ||
| Bed || BED | | Bed || BED | ||
Line 221: | Line 150: | ||
|- | |- | ||
| Hatch cover || HATCH_COVER | | Hatch cover || HATCH_COVER | ||
− | |||
− | |||
|- | |- | ||
| Slab || SLAB | | Slab || SLAB | ||
Line 236: | Line 163: | ||
== Animal products == | == Animal products == | ||
− | === Cloth/leather | + | === Cloth/leather === |
− | |||
− | |||
* Silk (creature must be able to produce silk): | * Silk (creature must be able to produce silk): | ||
CLOTH CREATURE_MAT:''creature'':SILK | CLOTH CREATURE_MAT:''creature'':SILK | ||
− | |||
− | |||
− | |||
* Leather (tanned): | * Leather (tanned): | ||
SKIN_TANNED CREATURE_MAT:''creature'':LEATHER | SKIN_TANNED CREATURE_MAT:''creature'':LEATHER | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
= Materials = | = Materials = | ||
− | Unusual materials that work for most | + | Unusual materials that work for most commands above |
== Body parts == | == Body parts == | ||
Format: | Format: | ||
− | ''item'' CREATURE_MAT:''creature'':{{tc|green|'' | + | ''item'' CREATURE_MAT:''creature'':{{tc|green|''body part''}} |
− | Valid | + | Valid body parts: |
− | + | * BRAIN | |
− | + | * LIVER | |
− | + | * KIDNEY | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |