16
DF Modding / Re: [MODDING] 0.47.x General modding questions thread - lots of new stuff!
« on: January 13, 2023, 06:44:32 pm »
I'm trying to make some custom reactions that use skulls specifically, rather than just any bone. For example, the below targets any bone, and I'd like to get it more specific if possible (mostly for vibes-based reasons).
Skulls seem to be a weird case? They're defined as [TOTEMABLE] at the body-part level, but don't have an associated material or item type I can find, or any reaction token I've found that corresponds to TOTEMABLE.
Anyone got ideas for how to target skulls as reagents, or is it just another inaccessible hardcoded thing? Thanks!
Code: [Select]
[REACTION:MAKE_SKULL_GOBLET]
[NAME:make bone goblet out of skull]
[BUILDING:CRAFTSMAN:NONE]
[REAGENT:bone:1:NONE:NONE:NONE:NONE]
[USE_BODY_COMPONENT][ANY_BONE_MATERIAL][UNROTTEN]
[PRODUCT:100:1:GOBLET:NONE:GET_MATERIAL_FROM_REAGENT:bone:NONE]
[PRODUCT_TOKEN:goblet]
[MAX_MULTIPLIER:1]
[SKILL:BONECARVE]Skulls seem to be a weird case? They're defined as [TOTEMABLE] at the body-part level, but don't have an associated material or item type I can find, or any reaction token I've found that corresponds to TOTEMABLE.
Anyone got ideas for how to target skulls as reagents, or is it just another inaccessible hardcoded thing? Thanks!