Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: DFHack Create Item not working for me  (Read 2128 times)

lightcaster

  • Escaped Lunatic
    • View Profile
DFHack Create Item not working for me
« on: May 03, 2016, 01:08:31 pm »

Hi there, so I recently got into dwarf fortress and am quite enjoying it, however one of my dwarf is in a strange mood and wants red tourmaline that I can't find. I tried creating it using createitem in dfhack (and also changeitem), but when I type in <INORGANIC: RED TOURMALINE> (I've tried with and without the angled brackets, with a space in between red and tourmaline and without, with an underscore instead, with the INORGANIC: and without, none of them work for me) it doesn't work.

 The exact code I was trying is 'createitem ROUGH INORGANIC: RED TOURMALINE 5' , which simply returns the 'help' text for createitem. If I try without the space, with an underscore, or any other permutation I simply get an error. I HAVE been able to create other things such as amethyst, various metals, etc. It seems to be the 'RED' that is causing the issue... is there any way around this?

EDIT: The game is the LNP version .40.24-r5
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: DFHack Create Item not working for me
« Reply #1 on: May 03, 2016, 10:15:58 pm »

I'd use gui/create-item intead.

EDIT: Which was called gui/hack-wish back then.

milo christiansen

  • Bay Watcher
  • Something generic here
    • View Profile
Re: DFHack Create Item not working for me
« Reply #2 on: May 04, 2016, 03:10:15 pm »

Try: 'createitem ROUGH INORGANIC "RED TOURMALINE" 5'
Logged
Rubble 8 - The most powerful modding suite in existence!
After all, coke is for furnaces, not for snorting.
You're not true dwarven royalty unless you own the complete 'Signature Collection' baby-bone bedroom set from NOKEAS

lightcaster

  • Escaped Lunatic
    • View Profile
Re: DFHack Create Item not working for me
« Reply #3 on: May 04, 2016, 10:23:58 pm »

Thanks for the help Putnam :) The Gui/hack-wish worked perfectly :)

Unfortunately Milo that doesn't work for me either. Thanks though :)
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: DFHack Create Item not working for me
« Reply #4 on: May 04, 2016, 10:25:08 pm »

Try: 'createitem ROUGH INORGANIC "RED TOURMALINE" 5'

I think it should've been:

Code: [Select]
createitem ROUGH "INORGANIC:RED TOURMALINE" 5