Bay 12 Games Forum
Dwarf Fortress => DF Modding => Utilities and 3rd Party Applications => Topic started by: Ghosthound on August 20, 2014, 08:19:31 am
-
Hello,
I have recently discovered DFHack and all the wonders it is capable of, and whilst experimenting with it in a new fort, I thought I'd try the createitem command.
I thought I'd try with some cloth, as it seemed like a pretty basic place to start. I managed to create a number of pieces of wool cloth, by the command "createitem CLOTH CREATURE_MAT:sheep:HAIR".
However, the dwarves totally ignored it as a usable resource. They would happily dump it, but would never take it to a stockpile or anything. It wasn't designated as a forbidden item.
What am I missing?
-
You have to capitalize SHEEP. Also don't forget to put a number of units to create at the end of the command. I attempted: "createitem CLOTH CREATURE_MAT:sheep:HAIR 1" and got the message: Unrecognized material!
However when I tried: "createitem CLOTH CREATURE_MAT:SHEEP:HAIR 1" it worked fine, and the item was hauled off to a cloth stockpile just fine.
-
Specifying the number of items is not necessary - it defaults to 1.
-
Sorry, should have made myself clearer.
The item is created (I had forgotten to capitalize the 'sheep' in my post, but not in the dfhack client), but the dwarves ignore it. I currently have a mostly empty cloth stockpile and the newly created piece of cloth just sitting in the middle of a corridor being trampled on.
-
Actually, just tried it on silk cloth and it worked fine. I must have been doing something wrong. Thanks for the help though :)