Greetings all.
Just thought I would share some interaction examples that I have finished testing out. This example is for introducing magic to a world in the form of a Secret. There are several sample 'spells' that are a part of this sample package. If this file were introduced as-is, a single Secret of this type would be created in a world.
Fireball: A copy of the one from the Fire Imp example
Waterball: Like above, but fires a liquid glob of water
Iceball: Solid glob of water (Ice).
Blind Enemy: Causes a syndrome that impairs the target's eyes temporarily.
Spray Web: Shoots out webs in a fashion similar to a giant cave spider.
Magic Breath: Temporarily grants the NOBREATHE tag, useful for getting across rivers.
interaction_magic
[OBJECT:INTERACTION]
[INTERACTION:WIZARD]
[I_SOURCE:SECRET]
[IS_NAME:the secrets of magic]
[IS_SPHERE:WISDOM]
[IS_SECRET:SUPERNATURAL_LEARNING_POSSIBLE]
[IS_SECRET:MUNDANE_RESEARCH_POSSIBLE]
[IS_SECRET:MUNDANE_TEACHING_POSSIBLE]
[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:Wizard]
[SYNDROME]
[CE_DISPLAY_NAME:NAME:wizard:wizard:wizard:START:0]
[CE_CAN_DO_INTERACTION:START:0]
[CDI:ADV_NAME:Hurl Fireball]
[CDI:VERB:throw fireball:throws fireball:NA]
[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:MAX_TARGET_NUMBER:C:1]
[CDI:WAIT_PERIOD:30]
[CE_CAN_DO_INTERACTION:START:0]
[CDI:ADV_NAME:Hurl Waterball]
[CDI:VERB:throw waterball:throws waterball:NA]
[CDI:INTERACTION:MATERIAL_EMISSION]
[CDI:USAGE_HINT:ATTACK]
[CDI:BP_REQUIRED:BY_CATEGORY:HAND]
[CDI:MATERIAL:WATER:LIQUID_GLOB]
[CDI:TARGET:C:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:C:15]
[CDI:MAX_TARGET_NUMBER:C:1]
[CDI:WAIT_PERIOD:30]
[CE_CAN_DO_INTERACTION:START:0]
[CDI:ADV_NAME:Hurl Iceball]
[CDI:VERB:gesture:gestures:NA]
[CDI:INTERACTION:MATERIAL_EMISSION]
[CDI:USAGE_HINT:ATTACK]
[CDI:BP_REQUIRED:BY_CATEGORY:HAND]
[CDI:MATERIAL:WATER:SOLID_GLOB]
[CDI:TARGET:C:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:C:15]
[CDI:MAX_TARGET_NUMBER:C:1]
[CDI:WAIT_PERIOD:30]
[CE_CAN_DO_INTERACTION:START:0]
[CDI:ADV_NAME:Blind Enemy]
[CDI:VERB:gesture:gestures:NA]
[CDI:INTERACTION:BLIND_ENEMY]
[CDI:USAGE_HINT:ATTACK]
[CDI:BP_REQUIRED:BY_CATEGORY:HAND]
[CDI:TARGET:A:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:A:15]
[CDI:MAX_TARGET_NUMBER:A:1]
[CDI:WAIT_PERIOD:30]
[CE_CAN_DO_INTERACTION:START:0]
[CDI:ADV_NAME:Spray web]
[CDI:VERB:gesture and casts a sticky web:gestures and casts a sticky web:NA]
[CDI:INTERACTION:MATERIAL_EMISSION]
[CDI:USAGE_HINT:ATTACK]
[CDI:BP_REQUIRED:BY_CATEGORY:HAND]
[CDI:MATERIAL:CREATURE_MAT:SPIDER_CAVE_GIANT:SILK:WEB_SPRAY]
[CDI:TARGET:C:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:C:5]
[CDI:MAX_TARGET_NUMBER:C:1]
[CDI:WAIT_PERIOD:30]
[CE_CAN_DO_INTERACTION:START:0]
[CDI:ADV_NAME:Magic Breath]
[CDI:VERB:makes a gesture:gestures:NA]
[CDI:INTERACTION:MAGIC_BREATH]
[CDI:USAGE_HINT:FLEEING]
[CDI:BP_REQUIRED:BY_CATEGORY:HAND]
[CDI:TARGET:A:SELF_ONLY]
[CDI:WAIT_PERIOD:30]
[INTERACTION:BLIND_ENEMY]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_MANUAL_INPUT:victim]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME]
[CE_IMPAIR_FUNCTION:SEV:1000:PROB:100:BP:BY_TYPE:SIGHT:ALL:START:0:PEAK:10:END:1000]
[INTERACTION:MAGIC_BREATH]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_MANUAL_INPUT:user]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME]
[CE_ADD_TAG:NOBREATHE:START:0:END:1000]
This is not the only way to handle magic via a secret. Instead of putting it all in a single secret, you could create a number of different secrets; one for each 'spell'.
The third method that comes to mind, instead of using secrets, is to utilize adventure-mode reactions to simulate learning the different spells. Via this method you could spread out the research and make it more difficult to learn magic as well by having a chance of failure associated with creating some object. This could be done in two ways: Either creating/using books (I have not tested this yet) or creating some ingestible object that grants the power.