Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: How to spawn Honey? - DFhack  (Read 828 times)

lysergium

  • Escaped Lunatic
    • View Profile
How to spawn Honey? - DFhack
« on: May 12, 2021, 03:43:51 pm »

hello,

I cant find any command for spawning honey, or honeycombs.

there is a createitem dfhack command, but i can't figure out the code to spawn honey. I figured out how to do it through one command, but i need to select a character, and it spawns one item at a item, and involves clicking through a menu each time, so it's not a suitable way to build up my mead hall.

40 hives is not enough to support a mead hall surrounded by guildhalls. Is there a way to change the 40 hive production limit?
Logged

PatrikLundell

  • Bay Watcher
    • View Profile
Re: How to spawn Honey? - DFhack
« Reply #1 on: May 12, 2021, 04:30:38 pm »

I believe the string identifying honey is "CREATURE:HONEY_BEE:HONEY".
Logged

QuQuasar

  • Bay Watcher
    • View Profile
Re: How to spawn Honey? - DFhack
« Reply #2 on: May 13, 2021, 12:48:35 am »

Look in \raw\objects\reaction_other.txt.

In there you'll find [REACTION:MAKE_MEAD] and [REACTION:PRESS_HONEYCOMB]. If you want to increase the amount of honey or mead you get each time you process it, change the second parameter of the [PRODUCT: ...] command.

Eg: If you want more honey, change:
[PRODUCT:100:1:LIQUID_MISC:NONE:GET_MATERIAL_FROM_REAGENT:honeycomb:HONEYCOMB_PRESS_MAT][PRODUCT_TO_CONTAINER:liquid container]
to:
[PRODUCT:100:4:LIQUID_MISC:NONE:GET_MATERIAL_FROM_REAGENT:honeycomb:HONEYCOMB_PRESS_MAT][PRODUCT_TO_CONTAINER:liquid container]

Or if you want more mead, change:
[PRODUCT:100:5:DRINK:NONE:GET_MATERIAL_FROM_REAGENT:honey:DRINK_MAT]
to:
[PRODUCT:100:20:DRINK:NONE:GET_MATERIAL_FROM_REAGENT:honey:DRINK_MAT]
   
« Last Edit: May 13, 2021, 01:31:38 am by QuQuasar »
Logged