Hmmm, it feels like there should be a way to have a single interaction raise a creature and change it into a different creature/caste depending on which caste it was before like:
[I_TARGET:A:CORPSE]
[IT_LOCATION:CONTEXT_ITEM]
[IT_AFFECTED_CREATURE:DWARF:FEMALE]
[IT_AFFECTED_CREATURE:MARTIAL_DWARF:FEMALE]
[IT_IMMUNE_CREATURE:DWARF:MALE]
[IT_IMMUNE_CREATURE:MARTIAL_DWARF:MALE]
[IT_REQUIRES:FIT_FOR_RESURRECTION]
[IT_MANUAL_INPUT:dead dwarf]
[I_TARGET:B:CORPSE]
[IT_LOCATION:CONTEXT_ITEM]
[IT_AFFECTED_CREATURE:DWARF:MALE]
[IT_AFFECTED_CREATURE:MARTIAL_DWARF:MALE]
[IT_IMMUNE_CREATURE:DWARF:FEMALE]
[IT_IMMUNE_CREATURE:MARTIAL_DWARF:FEMALE]
[IT_REQUIRES:FIT_FOR_RESURRECTION]
[I_EFFECT:RESURRECT]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME]
[CE_BODY_TRANSFORMATION:START:0]
[CE:CREATURE:MARTIAL_DWARF:FEMALE]
[I_EFFECT:RESURRECT]
[IE_TARGET:B]
[IE_IMMEDIATE]
[SYNDROME]
[CE_BODY_TRANSFORMATION:START:0]
[CE:CREATURE:MARTIAL_DWARF:MALE]
So I'd only need one interaction where:
I_TARGET:A takes a dead dwarf female and I_EFFECT:A only works on them and gives a resurrected dwarf+1 female
I_TARGET:B takes a dead dwarf male and I_EFFECT:B only works on them and gives a resurrected dwarf+1 male
But without a manual input I can't target something, but if I add a manual input to both I
have to target the first type of corpse AND the second type but it doesn't pass through properly.
I'm probably overthinking it though, but when I tried to have I_TARGET:A accept any of the dwarf/dwarf+1 castes and I_TARGET:B+I_TARGET:C specify the castes so it would resurrect > upgrade based on castes, it won't apply the B/C effects for some reason.
Meh, probably just can't use that sort of logic and I'll need to use two interactions to do it.
If I declare a BODY_APPEARANCE_MODIFIER token at the creature level, and then after add the same BODY_APPEARANCE_MODIFIER but with different numbers to a caste, will the effects add, or will the second simply replace the first? I assume it will replace as most things do, but the BODY tokens add so I wasn't sure.
I don't think I've ever done an appearance modifier at the creature and then caste level, largely because I usually do the "declare castes first > select/isolate accordingly" method when I'm not trying to cram stuff into a creature variation these days.