Okay, thanks. I think for now I'll just go for the simple but inaccurate solution of representing the different life stages by different castes in varying ratios. I might try and do something with interactions later (it would be quite appropriate since prador adults control or prevent their offsprings' maturation using pheromones), but is too advanced for me now. (Plus, once I do get the hang of interactions and syndromes, my first priority will be trying to simulate the Spatterjay virus).
I have run into a few other problems now though. I've redefined a number of body parts, and ended up with some really weird connections.
The stats screen for a prador third child lists the following parts:
carapace
visual turret
right palp eye, body
right palp eye, fourth turret eye
left palp eye, body
left palp eye, fourth turret eye
right mandible, body
right mandible, fourth turret eye
left mandible, body
left mandible, fourth turret eye
major ganglion, body
major ganglion, fourth turret eye
right pincer
left pincer
(I haven't listed the arms and legs).
There seems to be a problem with everything that is supposed to attach to the head: the visual turret is suffering from the "attack passes through it" problem, and all the other head attachments are connecting to the body (as expected), but also to the fourth turret eye.
Can anyone see what's going on?
These are the relevant bits of code.
From the creature file:
[BODY:PRADOR_BODY:PRADOR_CARAPACE:VISUAL_TURRET:PALP_EYES:PRADOR_MANDIBLES:MAJOR_GANGLION:PRADOR_ORGANS:UPPERBODY_PINCERS:PRADOR_ARMS]
[BODY_DETAIL_PLAN:SHELL_POSITIONS]
(Note: legs are added later at caste level).
From the body file:
[BODY:PRADOR_BODY]
[BP:UB:body:bodies][HEAD][UPPERBODY][LOWERBODY][CATEGORY:BODY_UPPER]
[DEFAULT_RELSIZE:2000]
Prador brain. Identical to normal brain, except lack of [SMALL] token means you can attack it's weakpoints for massive damage.
[BODY:MAJOR_GANGLION]
[BP:GM:major ganglion:major ganglions][CONTYPE:HEAD][THOUGHT][INTERNAL][CATEGORY:BRAIN]
[DEFAULT_RELSIZE:200]
Combined mouth and mandibles. Common to all prador, but females also have [LARGE_MANDIBLES] as well
[BODY:PRADOR_MANDIBLES]
[BP:R_MAND:right mandible:STP][CONTYPE:HEAD][CATEGORY:MANDIBLE]
[DEFAULT_RELSIZE:20]
[BP:L_MAND:left mandible:STP][CONTYPE:HEAD][CATEGORY:MANDIBLE]
[DEFAULT_RELSIZE:20]
[BP:MOUTH:mouth:STP][CONTYPE:HEAD][MOUTH][SMALL][EMBEDDED][APERTURE][CATEGORY:MOUTH]
[DEFAULT_RELSIZE:20]
Basically just a shell with a different name. Used so that properties can be altered without changing default shells, but currently no different.
[BODY:PRADOR_CARAPACE]
[BP:CARAPACE:carapace:carapaces][CONTYPE:UPPERBODY][CATEGORY:SHELL]
[DEFAULT_RELSIZE:1000]
[VERMIN_BUTCHER_ITEM]
A "head extension", with eyes but no brain
[BODY:VISUAL_TURRET]
[BP:VT:visual turret:visual turrets][CONTYPE:HEAD][CATEGORY:VISUAL_TURRET]
[DEFAULT_RELSIZE:200]
[BP:EYE1:first turret eye:STP][CON:VT][SIGHT][EMBEDDED][SMALL][CATEGORY:EYE]
[DEFAULT_RELSIZE:5]
[BP:EYE2:second turret eye:STP][CON:VT][SIGHT][EMBEDDED][SMALL][CATEGORY:EYE]
[DEFAULT_RELSIZE:5]
[BP:EYE3:third turret eye:STP][CON:VT][SIGHT][EMBEDDED][SMALL][CATEGORY:EYE]
[DEFAULT_RELSIZE:5]
[BP:EYE4:fourth turret eye:STP][CON:VT][SIGHT][EMBEDDED][SMALL][CATEGORY:EYE]
[DEFAULT_RELSIZE:5]
Eyestalks connected to the [HEAD] (i.e. cephalothorax) rather than visual turret
[BODY:PALP_EYES]
[BP:REYE:right palp eye:STP][CONTYPE:HEAD][SIGHT][RIGHT][CATEGORY:EYE]
[DEFAULT_RELSIZE:10]
[BP:LEYE:left palp eye:STP][CONTYPE:HEAD][SIGHT][LEFT][CATEGORY:EYE]
[DEFAULT_RELSIZE:10]
One other question: the carapace (shell) gets knocked off really easily in combat. How can I make it stay on better?