Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: dfhack itemtags  (Read 3811 times)

Prester

  • Bay Watcher
    • View Profile
dfhack itemtags
« on: August 15, 2013, 09:59:33 am »

hey guys

im totally lost i cant find the dfhack itemtags ANYWHERE... are you guys hiding them or what :-/

i just want to make my quern mill rock nuts and no other seeds.
and i know i use job-material <XXXXX>
but sadly noone seems to know (not even the internet) where i can find an actual list of what item has which tag ...

does someone know ? :-O
 plzzz
Logged

kingubu

  • Bay Watcher
    • View Profile
Re: dfhack itemtags
« Reply #1 on: August 21, 2013, 12:53:40 pm »

Week later, but I happened to wander by.

Rock nuts are the only millable seed.  So you don't need to do anything.

I don't know of any list of item tags.  But you might look at https://github.com/angavrilov/df-structures
« Last Edit: August 21, 2013, 12:57:32 pm by kingubu »
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: dfhack itemtags
« Reply #2 on: August 22, 2013, 12:57:31 pm »

It's all on the wiki under "item tokens" and "material tokens".

kingubu

  • Bay Watcher
    • View Profile
Re: dfhack itemtags
« Reply #3 on: August 22, 2013, 01:42:09 pm »

It's all on the wiki under "item tokens" and "material tokens".
The wiki is actually pretty useless on the subject.

For instance, if you're looking for large pot, and who isn't, http://dwarffortresswiki.org/index.php/DF2012:Item_token is no help.  The subtype of TOOL is listed as item_tool.txt which isn't defined on the wiki.

However; you can find it on github at https://github.com/quietust/DFRawFunctions/blob/master/raws/DF2012/item_tool.txt  At a casual glance at that repository, I still can't find the specific seed tokens.  Seeds are somehow defined inside the various plant definitions.  Where to go from there, I don't know.
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: dfhack itemtags
« Reply #4 on: August 22, 2013, 02:03:09 pm »

kingubu

  • Bay Watcher
    • View Profile
Re: dfhack itemtags
« Reply #5 on: August 22, 2013, 06:47:41 pm »

So I have some questions, since you're here. :)

So the whole plant would be?
SEEDS:NONE:PLANT_MAT:BUSH_QUARRY

And the leaves would be?
SEEDS:NONE:PLANT_MAT:BUSH_QUARRY:LEAF

And a turkey egg would be?
EGG:NONE:BIRD_TURKEY

And in workflow help, why is an copper bar
BAR//COPPER
Instead of
BAR:NONE:COPPER
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: dfhack itemtags
« Reply #6 on: August 22, 2013, 06:53:45 pm »

No, the whole plant would be PLANT:NONE:PLANT_MAT:BUSH_QUARRY:STRUCTURAL.

The leaves would be LEAVES:NONE:PLANT_MAT:BUSH_QUARRY:LEAF.

Turkey egg would be EGG:NONE:BIRD_TURKEY:FEMALE (apparently, if the item token article is correct)

And as for workflow: because that's how workflow's syntax works. It's not based on the raws, but uses its own, mostly so that it can have extra arguments without being awkward.