Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: DFHack Question  (Read 1738 times)

Akoto

  • Bay Watcher
    • View Profile
DFHack Question
« on: September 22, 2016, 05:31:46 pm »

Hi all,

I hate to cheat, but the humans are late with this year's caravan (humans, figures), and most of my farmland was recently demolished by a nice forgotten beast.

Now that I've finally fixed my grand city's labor issues with Dwarf Therapist, I can't let them all starve, but people are lacking for food and picking the cavernous plants isn't keeping up!

Does anyone know the createitem command to make some food of some sort? Anything edible, I'll take it. I've tried and tried, but can't seem to figure out a working code.

Thanks!
Logged

steel jackal

  • Bay Watcher
  • [UNIQUE_DEMON]
    • View Profile
Re: DFHack Question
« Reply #1 on: September 22, 2016, 05:38:54 pm »

create-items plant helmet_plump
this should spawn plump helmets under the cursor
Logged
i am a dwarf and im digging a hole, diggy diggy hole

my art: http://www.furaffinity.net/gallery/tylerrobotnik/

Akoto

  • Bay Watcher
    • View Profile
Re: DFHack Question
« Reply #2 on: September 22, 2016, 05:46:34 pm »

create-items plant helmet_plump
this should spawn plump helmets under the cursor

That worked. Thank you!
Logged

Akoto

  • Bay Watcher
    • View Profile
Re: DFHack Question
« Reply #3 on: September 22, 2016, 06:24:17 pm »

While we're at it, I'll further challenge you!

Thanks to the same said forgotten beast, I missed my chance at capturing a cave dragon for taming. Happen to know a command for me to spawn one? :)
Logged

steel jackal

  • Bay Watcher
  • [UNIQUE_DEMON]
    • View Profile
Re: DFHack Question
« Reply #4 on: September 22, 2016, 06:44:22 pm »

While we're at it, I'll further challenge you!

Thanks to the same said forgotten beast, I missed my chance at capturing a cave dragon for taming. Happen to know a command for me to spawn one? :)

spawn CAVE_DRAGON 0
i would like to note that ive never used DFhack before (just with LNP using it for automation and other such plugins) and ive just googled this stuff
« Last Edit: September 22, 2016, 06:48:04 pm by steel jackal »
Logged
i am a dwarf and im digging a hole, diggy diggy hole

my art: http://www.furaffinity.net/gallery/tylerrobotnik/

Akoto

  • Bay Watcher
    • View Profile
Re: DFHack Question
« Reply #5 on: September 22, 2016, 07:23:09 pm »

While we're at it, I'll further challenge you!

Thanks to the same said forgotten beast, I missed my chance at capturing a cave dragon for taming. Happen to know a command for me to spawn one? :)

spawn CAVE_DRAGON 0
i would like to note that ive never used DFhack before (just with LNP using it for automation and other such plugins) and ive just googled this stuff

You're luckier with Google than I! Wasn't able to get a straight answer with either of my questions. Thanks for the help.
Logged

steel jackal

  • Bay Watcher
  • [UNIQUE_DEMON]
    • View Profile
Re: DFHack Question
« Reply #6 on: September 22, 2016, 07:32:43 pm »

While we're at it, I'll further challenge you!

Thanks to the same said forgotten beast, I missed my chance at capturing a cave dragon for taming. Happen to know a command for me to spawn one? :)

spawn CAVE_DRAGON 0
i would like to note that ive never used DFhack before (just with LNP using it for automation and other such plugins) and ive just googled this stuff

You're luckier with Google than I! Wasn't able to get a straight answer with either of my questions. Thanks for the help.

well i didnt get a straight answer either, i wound up finding a list of DFhack commands and how they are used, then checked the raws for the proper IDs (i wouldent have guessed it was helmet_plump and not plump_helmet)
Logged
i am a dwarf and im digging a hole, diggy diggy hole

my art: http://www.furaffinity.net/gallery/tylerrobotnik/

Akoto

  • Bay Watcher
    • View Profile
Re: DFHack Question
« Reply #7 on: September 22, 2016, 10:40:24 pm »

Hmm. The spawn CAVE_DRAGON 0 command doesn't work.

spawnunit with the same input results in a few lines of errors and no cave dragon.

Any ideas?
Logged

Fleeting Frames

  • Bay Watcher
  • Spooky cart at distance
    • View Profile
Re: DFHack Question
« Reply #8 on: September 23, 2016, 12:41:40 am »

spawnunit needs to have species caste, both in all caps.

ex used spawnunit CAT MALE to drop cat in HFS since I accidentally uncorked it by digging magma flow, giving them no path to fort (wasn't very successful to convince them to come up, tho.).