You want UB, not BODY.
Do you mean:
[BODY:FOOT_HAMMER]
[BP:FOOT_HAMMER:hammer foot:hammer feet][CON:UB][CATEGORY:FOOT_HAMMER]
[DEFAULT_RELSIZE:120]Okay, I tried that, and my whelks now have a hammer they can attack with. Thanks.
Unfortnately, now all attacks by/against my hammer whelks just pass through their target. I gather from searching the forums that this is due to a raw error causing them to not be made of any material, but I can't see where my error is. (Previously they were able to make bite attacks).
Can anyone see what is wrong? Here are the full raws:
[CREATURE:WHELK_HAMMER]
[DESCRIPTION:A larger relative of the frog whelk, which they hunt. Their powerful foot has a bony lump on the end, which they use as a weapon to smash the shells of their prey.]
[NAME:hammer whelk:hammer whelks:hammer whelk]
[CASTE_NAME:hammer whelk:hammer whelks:hammer whelk]
[CREATURE_TILE:'h'][COLOR:7:0:0]
[FREQUENCY:100]
[NOBONES]
[SAVAGE][NATURAL]
[BIOME:ANY_OCEAN]
[AMPHIBIOUS]
[LARGE_PREDATOR]
[SWIMS_INNATE][SWIM_SPEED:2500]
[POPULATION_NUMBER:200:400]
[PREFSTRING:shells]
[PREFSTRING:hammering foot]
[BODY:BASIC_1PARTBODY:BASIC_HEAD:HEART:GUTS:BRAIN:MOUTH:SHELL:2EYESTALKS:BEAK:FOOT_HAMMER]
[BODY_DETAIL_PLAN:STANDARD_MATERIALS]
[REMOVE_MATERIAL:HAIR]
[REMOVE_MATERIAL:BONE]
[USE_MATERIAL_TEMPLATE:SHELL:SHELL_TEMPLATE]
[STATE_COLOR:ALL:BROWN]
[USE_MATERIAL_TEMPLATE:HAMMER_FOOT:HOOF_TEMPLATE]
[BODY_DETAIL_PLAN:STANDARD_TISSUES]
[REMOVE_TISSUE:HAIR]
[REMOVE_TISSUE:BONE]
[USE_TISSUE_TEMPLATE:SHELL:SHELL_TEMPLATE]
[USE_TISSUE_TEMPLATE:HAMMER_FOOT:HOOF_TEMPLATE]
[ATTACK:BITE:BODYPART:BY_CATEGORY:BEAK]
[ATTACK_SKILL:BITE]
[ATTACK_VERB:bite:bites]
[ATTACK_CONTACT_PERC:100]
[ATTACK_PENETRATION_PERC:100]
[ATTACK_FLAG_EDGE]
[ATTACK_PRIORITY:SECOND]
[ATTACK_FLAG_CANLATCH]
[ATTACK:HAMMER:BODYPART:BY_CATEGORY:FOOT_HAMMER]
[ATTACK_SKILL:STANCE_STRIKE]
[ATTACK_VERB:hammer:hammers]
[ATTACK_CONTACT_PERC:100]
[ATTACK_PRIORITY:MAIN]
[ATTACK_FLAG_WITH]
[HAS_NERVES]
[MUNDANE]
[SPEED:2900]
[USE_MATERIAL_TEMPLATE:ICHOR:ICHOR_TEMPLATE]
[BLOOD:LOCAL_CREATURE_MAT:ICHOR:LIQUID]
[CREATURE_CLASS:GENERAL_POISON]
[BODY_SIZE:0:0:1]
[BODY_SIZE:1:0:64000]
[BODY_APPEARANCE_MODIFIER:LENGTH:90:95:98:100:102:105:110]
[MAXAGE:20:35]
[ALL_ACTIVE]
[NO_DIZZINESS]
[SET_TL_GROUP:BY_CATEGORY:ALL:SHELL]
[TL_COLOR_MODIFIER:BROWN:1]
[TLCM_NOUN:shell:SINGULAR]
[SET_TL_GROUP:BY_CATEGORY:ALL:SKIN]
[TL_COLOR_MODIFIER:GRAY:1]
[TLCM_NOUN:skin:SINGULAR]
Edit#2:
Ah, I see what I've done - I accidently deleted the [BODY_DETAIL_PLAN:MOLLUSC_TISSUE_LAYERS:SKIN:FAT:MUSCLE] from it.
However, going through the material raws, I see that the mollusc body plan uses ARG1 (in this case, skin) for the beak and hoof material. (Squid and octopus actually use the vertebrate plan with ARG4:CHITIN for beak material. I'll have to use that for all my whelks, unless I want them gumming their prey to death. (That may explain why my size 125000000000 Whelkus Titanicus got beaten to death by 5 unarmed dwarves).