Hey, got a few questions.
Firstly, how do I get my secrets and vampires to override/replace the default vanilla ones? Basically, I'm trying to replace vanilla necromancers with ones that have some spells that take advantage of all the horrific potential of syndromes and other interactions as well as making a few changes to vampires, giving them the ability to turn into a wolf or giant bat. I'm fine making the actual new interactions that these will use and/or adding other interactions that already exist like breathing dragonfire to the secret. I can get my custom secret to show up in game if I make it a curse and set the right worldgen parameters (secrets:100,vamps:100, weres, titans etc o for quick testing) but nobody writes it down. I can't get it to replace the default "secrets of life and death". Also, if I set it up as just a secret (i.e. just [I_SOURCE:SECRET], no [I_SOURCE:DEITY] or [I_SOURCE:INGESTION]) then it never shows up.
For testing while I was trying to get this to show up I removed all the names but "Ruin" from the secret_death.txt and named the custom secret "the secrets of the universe" with the word "Power" as the only name in secret_power.txt, for quick filter on string in legends. And I've got [IS_SECRET:MUNDANE_RECORDING_POSSIBLE:objects/text/book_instruction.txt:objects/text/secret_power.txt], so it should recognize it. Here's the secret:
[INTERACTION:SECRET_Power]
[I_SOURCE:SECRET]
[IS_NAME:the secrets of the universe]
[IS_SPHERE:DEATH]
[IS_SPHERE:NATURE]
[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_power.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:Necromacer]
[SYNDROME]
[CE_DISPLAY_NAME:NAME:necromancer:necromancer:necromantic:START:0]
[CE_ADD_TAG:NOEXERT:NOT_LIVING:NO_AGING:NO_EAT:NO_DRINK:NO_SLEEP:NO_PHYS_ATT_RUST:START:0]
[CE_CAN_DO_INTERACTION:START:0]
[CE_CAN_DO_INTERACTION:START:0]
[CDI:INTERACTION:MATERIAL_EMISSION]
[CDI:ADV_NAME:Cast fireball]
[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:fling a fireball:flings a fireball:NA]
[CDI:MAX_TARGET_NUMBER:C:1]
[CDI:WAIT_PERIOD:120]
[CE_CAN_DO_INTERACTION:START:0]
[CDI:INTERACTION:MATERIAL_EMISSION]
[CDI:ADV_NAME:Summon dragonfire]
[CDI:USAGE_HINT:ATTACK]
[CDI:BP_REQUIRED:BY_CATEGORY:MOUTH]
[CDI:FLOW:DRAGONFIRE]
[CDI:TARGET:C:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:C:10]
[CDI:VERB:summon raging inferno:summons raging inferno:NA]
[CDI:MAX_TARGET_NUMBER:C:1]
[CDI:WAIT_PERIOD:100]
[CE_CAN_DO_INTERACTION:START:0]
[CDI:ADV_NAME:RAISE]
[CDI:INTERACTION:RAISE]
[CDI:TARGET:A:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:A:8]
[CDI:VERB:gesture:gestures:NA]
[CDI:TARGET_VERB:shudder and begin to move:shudders and begins to move]
[CDI:MAX_TARGET_NUMBER:C:10]
[CDI:WAIT_PERIOD:100]
I've got it in objects in interactions_secrets.txt with the Raise interaction defined in interactions_magic.txt, the only difference from vanilla raise being it lacks [IT_FORBIDDEN:NOT_LIVING].
Similarly, I've copied interaction_vampire.txt into objects and made a few changes (removed NO_PHYS_ATT_GAIN, changed all spellings to vampyre/s to check if it's showing up). But on when I gen worlds, on vampires show up.
interaction_vampire
[OBJECT:INTERACTION]
[INTERACTION:VAMPIRE_CURSE]
[I_SOURCE:DEITY]
[IS_USAGE_HINT:MAJOR_CURSE]
[IS_HIST_STRING_1: cursed ]
[IS_HIST_STRING_2: to prowl the night in search of blood]
[I_SOURCE:INGESTION]
[IS_HIST_STRING_1: consumed the tainted blood of ]
[IS_HIST_STRING_2: and was cursed]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_REQUIRES:CAN_LEARN]
[IT_REQUIRES:HAS_BLOOD]
[IT_CANNOT_HAVE_SYNDROME_CLASS:VAMPCURSE]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[IE_ARENA_NAME:Vampyre]
[SYNDROME]
[SYN_CLASS:VAMPCURSE]
[CE_ADD_TAG:BLOODSUCKER:NO_AGING:STERILE:NOT_LIVING:NOEXERT:NOPAIN:NOBREATHE:NOSTUN:NONAUSEA:NO_DIZZINESS:NO_FEVERS:PARALYZEIMMUNE:NO_EAT:NO_DRINK:NO_SLEEP:NO_PHYS_ATT_RUST:START:0]
[CE_PHYS_ATT_CHANGE:STRENGTH:200:0:AGILITY:200:0:TOUGHNESS:200:0:START:0]
[CE_MATERIAL_FORCE_MULTIPLIER:MAT_MULT:NONE:NONE:1:2]
[CE_BODY_MAT_INTERACTION:MAT_TOKEN:RESERVED_BLOOD:START:0]
[CE:INTERACTION:VAMPIRE_CURSE]
[CE:SYNDROME_TAG:SYN_INGESTED]
[CE:SYNDROME_TAG:SYN_INJECTED]
[CE_DISPLAY_TILE:TILE:165:4:0:0:START:0:CAN_BE_HIDDEN]
[CE_DISPLAY_NAME:NAME:vampyre:vampyres:vampyric:START:0:CAN_BE_HIDDEN]
[CE_BP_APPEARANCE_MODIFIER:START:0:BP:BY_CATEGORY:TOOTH:APPEARANCE_MODIFIER:LENGTH:150]
[CE:COUNTER_TRIGGER:DRINKING_BLOOD:1:NONE:REQUIRED]
So basically my questions are how do I replace the vanilla secrets of life and death and vanilla vampires with my own? Where are the actual vanilla secret/vampire curses located? I know it's not in interaction examples.
Finally, will adding something like
[INTERACTION:WOLFSHAPE]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_CANNOT_TARGET_IF_ALREADY_AFFECTED]
[IT_MANUAL_INPUT:creature]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[IE_ARENA_NAME:Wolf Shape]
[SYNDROME]
[CE_BODY_TRANSFORMATION:START:0:END:1000]
[CE:CREATURE:WOLF:MALE]
to the vampire interaction work? Thanks in advance.