yeah, the game
only loads raws from the "objects" folder,
not any of the other folders such as "interaction examples" .
nor any of the folders
inside the "objects" folder.
so put the interaction in
a new file inside the
objects folder.
name of the file should be "interaction_*" for interactions. '*' being anything you want. For example, i used "interaction_pyromancer" when debugging your code. (Without the quotation marks of course, but thankfully windows wont even let you put quotation marks in file names.)
The first line inside the file
must be the the name of the file itself, so if your filename is "interaction_pyromancer", the first line of the file should be "interaction_pyromancer" as well.
Right after that should be [OBJECT:X], where 'X' is the type of object this file defines, so: [OBJECT:INTERACTION] for interactions.
This is what the file should look like:
interaction_pyromancer
[OBJECT:INTERACTION]
[INTERACTION:FIRE_MAGE]
[I_SOURCE:SECRET]
[IS_NAME:fire magic]
[IS_SPHERE:FIRE]
[IS_SECRET_GOAL:BECOME_A_LEGENDARY_WARRIOR]
[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:MORTAL]
[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_CAN_DO_INTERACTION:START:0]
[CDI:ADV_NAME:Cast magma projectile]
[CDI:INTERACTION:MATERIAL_EMISSION]
[CDI:USAGE_HINT:ATTACK]
[CDI:BP_REQUIRED:BY_CATEGORY:HAND]
[CDI:MATERIAL:INORGANIC:BASALT:LIQUID_GLOB]
[CDI:TARGET:C:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:C:15]
[CDI:MAX_TARGET_NUMBER:C:1]
[CDI:WAIT_PERIOD:50]
This should be inside .txt a file named "interaction_pyromancer".