Is there a way to do this with raw explorer? it seems much friendlier than just coding it
I have never used raw explorer.
try adding this to body_default.txt:
[BODY:TAIL_UPPER]
[BP:U_TAIL:lower body:STP][CONTYPE:LOWERBODY][CATEGORY:TAIL_UPPER][STANCE]
[DEFAULT_RELSIZE:100]
[BODY:TAIL_LOWER]
[BP:L_TAIL:tail:STP][CONTYPE:STANCE][CATEGORY:TAIL_LOWER][LIMB]
[DEFAULT_RELSIZE:300]
you can add [GRASP] to the lower tail if you want it to be able to wield weapons too.
then try changing your snake man raw body to:
[BODY:BASIC_1PARTBODY:BASIC_HEAD:UPPER_TAIL:LOWER_TAIL:2EYES:NOSE:2LUNGS:HEART:GUTS:ORGANS:SPINE:BRAIN:SKULL:MOUTH:GENERIC_TEETH_WITH_FANGS:RIBCAGE]
and add the following to the creature:
[ATTACK:CONSTRICT:CHILD_BODYPART_GROUP:BY_CATEGORY:BODY_LOWER:BY_CATEGORY:TAIL_LOWER]
[ATTACK_SKILL:GRASP_STRIKE]
[ATTACK_VERB:whip:whips]
[ATTACK_CONTACT_PERC:300]
[ATTACK_PREPARE_AND_RECOVER:3:3]
[ATTACK_PRIORITY:MAIN]
[ATTACK_FLAG_CANLATCH]
Also adding this to the creature, might make it decide to constrict more:
[NATURAL_SKILL:WRESTLING:12]
I don't know how you could get the constriction strangulation/crushing to work by an npc, but here is my initial idea (it would have to be applied to an attack or as sweat or something and it would be used during regular attacks too). You will have to play around with it
[USE_MATERIAL_TEMPLATE:POISON:CREATURE_EXTRACT_TEMPLATE]
[STATE_NAME_ADJ:ALL:constriction]
[PREFIX:NONE]
[SYNDROME]
[SYN_NAME:constriction]
[SYN_CONTACT]
[CE_PARALYSIS:SEV:2500:PROB:100:BP:BY_CATEGORY:LUNG:ALL:RESISTABLE:SIZE_DILUTES:START:5:PEAK:20:END:100]
if this doesnt work, post the errorlog