OK, so I've got a fire mage interaction, as seen here:
[INTERACTION:SECRET_FIRE]
[I_SOURCE:SECRET]
[IS_NAME:the secrets of fire]
[IS_SPHERE:FIRE]
[IS_SECRET_GOAL:IMMORTALITY]
[IS_SECRET:SUPERNATURAL_LEARNING_POSSIBLE]
[IS_SECRET:MUNDANE_RESEARCH_POSSIBLE]
[IS_SECRET:MUNDANE_TEACHING_POSSIBLE]
[IS_SECRET:MUNDANE_RECORDING_POSSIBLE:objects/text/book_instruction.txt:objects/text/secret_fire.txt]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_REQUIRES:CAN_LEARN]
[IT_REQUIRES:CAN_SPEAK]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[IE_ARENA_NAME:Igneomage]
[SYNDROME]
[CE_ADD_TAG:NO_AGING]
[CE_DISPLAY_NAME:NAME:igneomage:igneomages:igneomagy:START:0]
[CE_CAN_DO_INTERACTION:START:0]
[CDI:ADV_NAME:Hurl fireball]
[CDI:INTERACTION:MATERIAL_EMISSION]
[CDI:USAGE_HINT:ATTACK]
[CDI:BP_REQUIRED:BY_CATEGORY:HAND]
[CDI:FLOW:FIREBALL]
[CDI:TARGET:C:LINE_OF_SIGHT]
[CDI:VERB:hurl a fireball:hurls a fireball:NA]
[CDI:TARGET_RANGE:C:15]
[CDI:MAX_TARGET_NUMBER:C:1]
[CDI:WAIT_PERIOD:30]
[CE_CAN_DO_INTERACTION:START:0]
[CDI:ADV_NAME:Spray jet of fire]
[CDI:INTERACTION:MATERIAL_EMISSION]
[CDI:USAGE_HINT:ATTACK]
[CDI:BP_REQUIRED:BY_CATEGORY:HAND]
[CDI:FLOW:FIREJET]
[CDI:TARGET:C:LINE_OF_SIGHT]
[CDI:VERB:project a jet of flame:projects a jet of flame:NA]
[CDI:TARGET_RANGE:C:5]
[CDI:MAX_TARGET_NUMBER:C:1]
[CDI:WAIT_PERIOD:30]
This is a secret that is caused by people wanting to become immortal, and they learn flame tricks. Works perfectly so far.
I've also got a fire golem class (which I haven't tested yet, but it should be fine), here:
[CREATURE:FIRE_GOLEM]
[DESCRIPTION:A humanoid behemoth of heat and flames.]
[NAME:fire golem:fire golems:fire golem]
[CASTE_NAME:fire man:fire men:fire man]
[CREATURE_TILE:071][COLOR:4:0:1]
[BODY:HUMANOID:HUMANOID_JOINTS:5FINGERS:5TOES]
[NO_THOUGHT_CENTER_FOR_MOVEMENT]
[USE_MATERIAL_TEMPLATE:FLAME:FLAME_TEMPLATE]
[MAT_FIXED_TEMP:10800]
[USE_TISSUE_TEMPLATE:FLAME:FLAME_TEMPLATE]
[TISSUE_LAYER:BY_CATEGORY:ALL:FLAME]
[CAN_DO_INTERACTION:MATERIAL_EMISSION]
[CDI:ADV_NAME:Hurl fireball]
[CDI:USAGE_HINT:ATTACK]
[CDI:FLOW:FIREBALL]
[CDI:TARGET:C:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:C:15]
[CDI:MAX_TARGET_NUMBER:C:2]
[CDI:WAIT_PERIOD:30]
[CAN_DO_INTERACTION:MATERIAL_EMISSION]
[CDI:ADV_NAME:Spray jet of fire]
[CDI:USAGE_HINT:ATTACK]
[CDI:FLOW:FIREJET]
[CDI:TARGET:C:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:C:5]
[CDI:MAX_TARGET_NUMBER:C:1]
[CDI:WAIT_PERIOD:30]
[PREFSTRING:
[NOBREATHE]
[NOEMOTION]
[NOEXERT]
[NOFEAR]
[NOMEAT]
[NOTHOUGHT]
[NOBONES]
[NONAUSEA]
[NOPAIN]
[NOSKIN]
[CANOPENDOORS]
[NOSKULL]
[NOSMELLYROT]
[NOSTUN]
[NOT_BUTCHERABLE]
[EXTRAVISION]
[NO_DIZZINESS]
[NO_FEVERS]
[ALL_ACTIVE]
[IMMOLATE]
[FIREIMMUNE_SUPER]
[MAGMA_VISION]
[PREFSTRING:incredible heat]
[ATTACK:PUNCH:BODYPART:BY_TYPE:GRASP]
[ATTACK_SKILL:GRASP_STRIKE]
[ATTACK_VERB:punch:punches]
[ATTACK_CONTACT_PERC:100]
[ATTACK_PREPARE_AND_RECOVER:3:3]
[ATTACK_FLAG_WITH]
[ATTACK_PRIORITY:MAIN]
[ATTACK:KICK:BODYPART:BY_TYPE:STANCE]
[ATTACK_SKILL:STANCE_STRIKE]
[ATTACK_VERB:kick:kicks]
[ATTACK_CONTACT_PERC:100]
[ATTACK_PREPARE_AND_RECOVER:4:4]
[ATTACK_FLAG_WITH]
[ATTACK_PRIORITY:SECOND]
[ATTACK_FLAG_BAD_MULTIATTACK]
[ITEMCORPSE:BAR:NO_SUBTYPE:ASH:NO_MATGLOSS]
[APPLY_CREATURE_VARIATION:STANDARD_BIPED_GAITS:900:711:521:293:1900:2900] 30 kph
[APPLY_CREATURE_VARIATION:STANDARD_CLIMBING_GAITS:2990:2257:1525:731:4300:6100] 12 kph
[APPLY_CREATURE_VARIATION:STANDARD_SWIMMING_GAITS:2990:2257:1525:731:4300:6100] 12 kph
[APPLY_CREATURE_VARIATION:STANDARD_CRAWLING_GAITS:2990:2257:1525:731:4300:6100] 12 kph
[SWIMS_INNATE]
[BODY_SIZE:0:0:236000]
[BODY_APPEARANCE_MODIFIER:HEIGHT:90:95:98:100:102:105:110]
[BODY_APPEARANCE_MODIFIER:BROADNESS:90:95:98:100:102:105:110]
Now, I want to add an interaction to my fire mage class so that they can target a corpse and do two things to it: animate it, and then transform it into a fire golem, all in the same interaction. How do I do this?
Also, can I make the fire mages somehow become immune to fire when they learn the secret?