On Action
on_took_location_in_peace_treaty
root = winner, scope:location = location, scope:winner = new owner, scope:loser = old owner
Bey FortressBuildingeffect
ChinaCountryeffectYuánCountryeffectChineseCulture GroupeffectMongolCulture GroupeffectSouth SlavicCulture Groupeffect
Holy Roman EmpireInternational Organizationeffect
CatholicismReligioneffect
HinduismReligioneffectbey_fortress_conquest_timerVariableeffectconquered_antioch_variableVariableeffectconquered_damascus_variableVariableeffectDefinitionin_game/common/on_action/_hardcoded.txt:2342
2343effect = {
2345if = {
2346limit = {
2347scope:location = {
2349integration_level = conquered
}
2351scope:winner = {
}
2357scope:loser = {
}
}
2363scope:location = {
2364save_scope_as = conquered_location
}
2366add_to_global_variable_list = {
2367name = hre_conquered_province_list
2368target = scope:location
}
}
2374if = {
2375limit = {
2376scope:winner = {
2377has_reform = government_reform:military_order_reform
}
2381scope:location = location:antioch
}
}
2387if = {
2388limit = {
2389scope:winner = {
2390has_reform = government_reform:military_order_reform
}
2394scope:location = location:urfa
}
}
2400if = {
2401limit = {
2402scope:winner = {
2403has_reform = government_reform:military_order_reform
}
2407scope:location = location:damascus
}
}
2413if = {
2414limit = {
2415scope:winner = {
2416has_reform = government_reform:military_order_reform
}
2421scope:location = location:jerusalem
}
}
2427if = {
2428limit = {
2429scope:winner = {
2431has_ruler = yes
}
2434scope:location = location:constantinople
}
}
2440if = {
2441limit = {
2442scope:location = {
}
}
}
2456if = {
2457limit = {
2458scope:winner = {
2459culture = {
}
}
2464scope:loser = {
}
2471scope:location = location:dadu
}
}
2478if = {
2479limit = {
2483scope:location = location:vijayanagar
}
}
2490if = {
2491limit = {
2492scope:winner = {
2493OR = {
2494character:vij_harihara_sangama = {
2495is_ruler = yes
}
2497character:vij_bukka_raya_sangama = {
2498is_ruler = yes
}
}
}
2502scope:location = location:madurai
}
}
}