You might have a look at these files- I modded in pyromancers myself and they work well. Currently they have the following spells:
-Dragonfire (Well, Dragonfire.)
-Fireball (A single fireball)
-Firejet (A stream of fire)
-Avatar of Fire (A transformation into a fire man like being.)
The a.i will only use the first three spells, though. And it`s impossible to make one book teach you one spell, you have to learn all at the same time.
If you want to add them you have to add the following entries into your raw/ojects folder:
The main pyromancer:
interaction_psychomancer
[OBJECT:INTERACTION]
[INTERACTION:FIREMAGE]
[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:Pyromancer]
[SYNDROME]
[CE_DISPLAY_TILE:TILE:165:5:0:1:START:0]
[CE_DISPLAY_NAME:NAME:pyromancer:pyromancers:pyromantic:START:0]
[CE_ADD_TAG:FIREIMMUNE:START:0]
[CE_CAN_DO_INTERACTION:START:0]
[CDI:ADV_NAME:Conjure Dragonfire]
[CDI:INTERACTION:MATERIAL_EMISSION]
[CDI:USAGE_HINT:ATTACK]
[CDI:BP_REQUIRED:BY_CATEGORY:MOUTH]
[CDI:FLOW:DRAGONFIRE]
[CDI:TARGET:C:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:C:15]
[CDI:VERB:utter the true name of fire itself conjuring destructive dragonfire, which bursts forth from your mouth :utters an ancient word which seems to set the air itself aflame:NA]
[CDI:MAX_TARGET_NUMBER:C:1]
[CDI:WAIT_PERIOD:1000]
[CE_CAN_DO_INTERACTION:START:0]
[CDI:ADV_NAME:Cast 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:TARGET_RANGE:C:15]
[CDI:VERB:gesture with your hand, conjuring a fireball:gestures with his hand, conjuring a fireball:NA]
[CDI:MAX_TARGET_NUMBER:C:1]
[CDI:WAIT_PERIOD:30]
[CE_CAN_DO_INTERACTION:START:0]
[CDI:ADV_NAME:Conjure 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:TARGET_RANGE:C:5]
[CDI:VERB:perform an ancient spell and fire springs forth from your fingertips:conjures a jet of fire:NA]
[CDI:MAX_TARGET_NUMBER:C:1]
[CDI:WAIT_PERIOD:100]
[CE_CAN_DO_INTERACTION:START:0]
[CDI:ADV_NAME:Avatar of Fire]
[CDI:INTERACTION:AVATAR_FIRE]
[CDI:TARGET:A:SELF_ONLY]
[CDI:USAGE_HINT:FLEEING]
[CDI:VERB:channel fire through your body:begins to glow like the sun itself:NA]
[CDI:TARGET_VERB:become an avatar of fire:becomes an avatar of fire]
[CDI:WAIT_PERIOD:3000]
[INTERACTION:AVATAR_FIRE]
[I_SOURCE:CREATURE_ACTION]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_AFFECTED_CLASS:WERECURSE]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME]
[CE_BODY_TRANSFORMATION:START:0:END:20]
[CE:CREATURE:ELEMENTMAN_FIRE:DEFAULT]
The avatar of fire creature:
[OBJECT:CREATURE]
[CREATURE:AVATAROF_FIRE]
[DESCRIPTION:A human who has channeled fire through his own body, becoming an avatar of fire.]
[NAME:avatar of fire:avatars of fire:avatar of fire]
[CASTE_NAME:avatar of fire:avatars of fire:avatar of fire]
[CREATURE_TILE:'M'][COLOR:4:0:1]
[FIREIMMUNE][LIKES_FIGHTING][MAGMA_VISION]
[NOPAIN][EXTRAVISION][NOBREATHE][NOSTUN][NONAUSEA][NOEMOTION]
[NOTHOUGHT][NOEXERT]
[NO_DIZZINESS]
[NO_FEVERS]
[FIXED_TEMP:10800]
[BUILDINGDESTROYER:2]
[NO_DRINK][NO_EAT][NO_SLEEP]
[NOT_LIVING]
[CANOPENDOORS]
[NOT_BUTCHERABLE]
[NOFEAR]
[PREFSTRING:licks of fire]
[NOBONES]
[BODY:HUMANOID_SIMPLE]
[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]
[BODY_SIZE:0:0:70000]
[BODY_APPEARANCE_MODIFIER:HEIGHT:90:95:98:100:102:105:110]
[BODY_APPEARANCE_MODIFIER:BROADNESS:90:95:98:100:102:105:110]
[ATTACK:PUNCH:BODYPART:BY_TYPE:GRASP]
[ATTACK_SKILL:GRASP_STRIKE]
[ATTACK_VERB:punch:punches]
[ATTACK_CONTACT_PERC:100]
[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_FLAG_WITH]
[ATTACK_PRIORITY:SECOND]
[ITEMCORPSE:BAR:NO_SUBTYPE:ASH:NO_MATGLOSS]
[ALL_ACTIVE]
[SWIMS_INNATE][SWIM_SPEED:2500]
And this belongs in the raw/objecz/text directory.
Immolation
Fire
the Fire
the Hellfire
the Blaze
the fires of hell