# From = Attacker, Root = Defender on_war_started = { FROM = { change_variable = { which = "Karma" value = 5 } # decrease by 1 } } # From = Attacker, Root = Defender on_war_ended_whitepeace = { FROM = { change_variable = { which = "Karma" value = -5 } # decrease by 1 } } #character. Triggers if someone is released from prison - ROOT is prisoner, FROM is imprisoner on_released_from_prison = { events = { 153 CM.10025 # Chronicle entry CM.15002 # Free anyone thrown into the desert ZE.12219 # Released from dungeon must choose whether to leave pet rat behind } } #character. Triggers if someone becomes imprisoned by the diplo-action - ROOT is prisoner, FROM is imprisoner on_became_imprisoned = { events = { 151 # Was imprisoned CM.10024 # Chronicle entry } } #character. Triggers if someone is executed, character not dead yet on_executed = { events = { 154 } } #character. Triggers if someone is exiled on_exiled = { events = { 155 } } # When someone is looting currently in a province-Either this one or the one below # ROOT = Looter, FROM = Province on_loot_province = { random_events = { 1 = HL.8 49 = 0 } } # ROOT is the looter, FROM is the settlement title-Either this one or the one above on_settlement_looted = { } # From = Divorcer, Root = Spouse, New = Religious head if applicable on_divorce = { events = { 717 # Achievement CM.10037 } } # ROOT = Builder, FROM = Province on_hospital_construction_start = { events = { } } # ROOT = Builder, FROM = Province on_trade_post_construction_start = { events = { } } #######################possible targets # FROM is character receiving peace proposal. ROOT is character sending peace proposal. OFFER_PEACE_INTERACTION_ACCEPT_EVENT = { events = { 206 CM.1407 # Charlemagne in Spain } } GRANT_LANDED_TITLE_INTERACTION_ACCEPT_EVENT = { events = { 228 } } ASK_FOR_DIVORCE_INTERACTION_ACCEPT_EVENT = { events = { 234 } } ASK_FOR_DIVORCE_INTERACTION_DECLINE_EVENT = { events = { 235 } } ASK_TO_JOIN_WAR_INTERACTION_ACCEPT_EVENT = { events = { 293 CM.10013 } } ASK_TO_JOIN_WAR_INTERACTION_DECLINE_EVENT = { events = { 294 } } FORM_NON_AGGRESSION_PACT_INTERACTION_ACCEPT_EVENT = { events = { 524 } }