Bay 12 Games Forum

Dwarf Fortress => DF Modding => Topic started by: DizzyCrash on July 08, 2021, 05:12:58 pm

Title: Not sure what iv done wrong.. Undefined material.
Post by: DizzyCrash on July 08, 2021, 05:12:58 pm
THE ERROR

*** Error(s) finalizing the creature TROGLODYTE
undefined local creature material set to default: TROGLODYTE POISON
undefined local creature material set to default: TROGLODYTE POISON

THE CREATURE

Spoiler (click to show/hide)

============================================================================

As you can see iv decided troglodytes should have acid blood for some reason and iv failed to do so... My modding skills are rusty as hell as its been probably 8 years since I released any sort of complex mod and at this point iv reviewed this raw over and over and cannot seem to figure out what iv done wrong.
Title: Re: Not sure what iv done wrong.. Undefined material.
Post by: Quietust on July 09, 2021, 02:51:23 pm
A quick search for the string "POISON" in your updated raws shows that the bite attack has "[SPECIALATTACK_INJECT_EXTRACT:LOCAL_CREATURE_MAT:POISON:LIQUID:100:100]", but your "poison" material is named "BLOOD", not "POISON".