Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: dfhack help, making thread  (Read 1542 times)

ltprifti

  • Bay Watcher
    • View Profile
dfhack help, making thread
« on: January 06, 2021, 04:57:30 pm »

hello, im trying my hands for the first time at df hack command, from what wiki says and other psots i surmised that [DFHack]#  createitem CLOTH CREATURE_MAT:CAVE_SPIDER:SILK_THREAD would work (tried without thread in last part too.

i get the response: Unrecognized material!

what am i doing wrong?
**EDIT** problem is its referred to as spider_cave :P


[DFHack]#  createitem CLOTH CREATURE_MAT:CAVE_SPIDER:SILK_THREAD
Unrecognized material!
[DFHack]#  createitem CLOTH CREATURE_MAT:CAVE_SPIDER:THREAD
Unrecognized material!
[DFHack]#  createitem CLOTH CREATURE_MAT:CAVE_SPIDER:SILKTHREAD
Unrecognized material!
[DFHack]#  createitem CLOTH PLANT_MAT:ROPE_REEDS:THREAD
Unrecognized material!
[DFHack]#  createitem CLOTH PLANT_MAT:ROPE_REED:THREAD
Unrecognized material!
« Last Edit: January 06, 2021, 05:07:50 pm by ltprifti »
Logged

vjek

  • Bay Watcher
  • If it didn't work, change the world so it does.
    • View Profile
Re: dfhack help, making thread
« Reply #1 on: January 06, 2021, 05:25:41 pm »

Here's my thread/cloth/leather related createitem commands from my cheat sheet:

YARN
createitem THREAD CREATURE_MAT:LLAMA:HAIR 1
YARN CLOTH
createitem CLOTH CREATURE_MAT:LLAMA:HAIR 40

createitem CLOTH PLANT_MAT:HEMP:THREAD 5
createitem CLOTH PLANT_MAT:GRASS_TAIL_PIG:THREAD 10
createitem SKIN_TANNED CREATURE_MAT:CAT:LEATHER 5

hopefully one of those will help..

ltprifti

  • Bay Watcher
    • View Profile
Re: dfhack help, making thread
« Reply #2 on: January 06, 2021, 07:04:47 pm »

it did indeed, thank you VJEK; what about meat or animal products?

[DFHack]# createitem MEAT CREATURE_MAT:YAK:kidney didnt work,[DFHack]# createitem MEAT CREATURE_MAT:COW:LUNG  did work.  I know yaks give prepared kidneys
 not quite sure what to put in the first spot for items or the last, where do i find what i need to put in the first spot in raws?
« Last Edit: January 06, 2021, 07:13:41 pm by ltprifti »
Logged

Quietust

  • Bay Watcher
  • Does not suffer fools gladly
    • View Profile
    • QMT Productions
Re: dfhack help, making thread
« Reply #3 on: January 06, 2021, 10:12:07 pm »

it did indeed, thank you VJEK; what about meat or animal products?

[DFHack]# createitem MEAT CREATURE_MAT:YAK:kidney didnt work,[DFHack]# createitem MEAT CREATURE_MAT:COW:LUNG  did work.  I know yaks give prepared kidneys
 not quite sure what to put in the first spot for items or the last, where do i find what i need to put in the first spot in raws?
When you are creating items made from creature materials, the first part after CREATURE_MAT needs to be the creature ID specified in the game's raws, and the second part after it needs to be the material ID specified within that creature's raws, either directly or via a body detail plan or creature variation.

The reason "CREATURE_MAT:YAK:kidney" didn't work is because the material ID for kidneys is "KIDNEY", as defined in the STANDARD_MATERIALS body detail plan in b_detail_plan_default.txt.

The reason you couldn't make rope reed cloth is because the plant ID for rope reed is "REED_ROPE".

Also, you should probably ask these sorts of questions in the Modding forum, since the people there are more likely to be able to answer your questions quickly.
« Last Edit: January 06, 2021, 10:15:39 pm by Quietust »
Logged
P.S. If you don't get this note, let me know and I'll write you another.
It's amazing how dwarves can make a stack of bones completely waterproof and magmaproof.
It's amazing how they can make an entire floodgate out of the bones of 2 cats.