Bay 12 Games Forum

Dwarf Fortress => DF Modding => Utilities and 3rd Party Applications => Topic started by: Prester on August 15, 2013, 09:59:33 am

Title: dfhack itemtags
Post by: Prester 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
Title: Re: dfhack itemtags
Post by: kingubu 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
Title: Re: dfhack itemtags
Post by: Putnam on August 22, 2013, 12:57:31 pm
It's all on the wiki under "item tokens" and "material tokens".
Title: Re: dfhack itemtags
Post by: kingubu 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.
Title: Re: dfhack itemtags
Post by: Putnam on August 22, 2013, 02:03:09 pm
SEEDS:NONE (http://dwarffortresswiki.org/index.php/DF2012:Item_token):PLANT_MAT (http://dwarffortresswiki.org/index.php/DF2012:Material_token):BUSH_QUARRY:SEED (http://dwarffortresswiki.org/index.php/DF2012:Quarry_bush/raw)
Title: Re: dfhack itemtags
Post by: kingubu 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
Title: Re: dfhack itemtags
Post by: Putnam 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.