On ActionBu sürümde değişti

on_ending_war

on_ending_warin_game/common/on_action/_hardcoded.txt:1778

root = country (after winning and losing, for both), scope:winner = country, scope:loser = country, scope:war = war

GerektirirKaleYapıeffectEndülüs Devleti'nin Yeniden KuruluşuSavaş SebebieffectDinî ÜstünlükSavaş SebebieffectBirlik BağımsızlığıSavaş SebebieffectBüyük Ortaklık SavaşıSavaş SebebieffectKastilyaÜlkeeffectDanimarkaÜlkeeffectGranadaÜlkeeffectHansaÜlkeeffectCelâyirlilerÜlkeeffectFasÜlkeeffectRomaÜlkeeffect

Tanımin_game/common/on_action/_hardcoded.txt:1778

1779effect = {
1780if = {
1781limit = {
1782any_international_organizations_member_of = {
1783international_organization_type = international_organization_type:hindu_branch
1784international_organization_has_policy = policy:shaktism
}
}
1787if = {
1788limit = {
1789NOT = {
1789any_current_avatars = {
}
}
}
1791every_current_avatars = {
1792root = {
1792remove_avatar = prev
}
}
1794god:shakti_god = {
1795random_avatar_for_god = {
1796limit = {
}
1797root = {
1797add_avatar = prev
}
}
}
}
}
1802if = {
1803limit = {
1804scope:winner = {
1805ruler ?= {
1805has_variable = beardless_prophet_variable
}
1806is_subject = no
}
1808scope:loser = c:JAL
}
1810scope:winner = {
1810trigger_event_non_silently = flavor_ere.3
}
}
1812if = {
1813limit = {
1814country_exists = c:HSA
1815country_exists = c:DAN
1816scope:winner = c:HSA
1817scope:loser = c:DAN
1818c:DAN = {
1819owns = location:kobenhavn
}
1821location:kobenhavn = {
1822has_building = building_type:castle
}
}
1825scope:loser = {
1825trigger_event_non_silently = flavor_dan.42
}
}
1827if = {
1828limit = {
1829scope:war = {
1830is_no_cb_war = no
1831OR = {
}
}
1836OR = {
1837AND = {
1838scope:winner = {
1839has_variable = pu_war_senior_partner
1840var:pu_war_senior_partner = scope:loser
}
}
1843AND = {
1844scope:loser = {
1845has_variable = pu_war_senior_partner
1846var:pu_war_senior_partner = scope:winner
}
}
}
}
1851if = {
1852limit = {
1853scope:winner = {
1854has_variable = pu_war_senior_partner
1855var:pu_war_senior_partner = scope:loser
}
}
1858scope:winner = {
1859remove_variable = pu_war_senior_partner
1860if = {
1861limit = {
1861country_exists = scope:loser
}
1862create_union = scope:loser
}
}
}
1866else = {
1867scope:loser = {
1868remove_variable = pu_war_senior_partner
1869if = {
1870limit = {
1870country_exists = scope:winner
}
1871create_union = scope:winner
}
}
}
}
1876if = {
1877limit = {
1878scope:war = {
1879NOT = {
1879has_variable = holy_league_fired_events
}
1880has_variable = holy_league_crusade
}
1882OR = {
1883AND = {
1884scope:loser = c:PAP
1885scope:winner = c:TUR
}
1887AND = {
1888scope:loser = c:TUR
1889scope:winner = c:PAP
}
}
}
1893scope:war = {
1894set_variable = holy_league_fired_events
}
1896if = {
1897limit = {
1898scope:loser = c:PAP
1899scope:winner = c:TUR
}
1901scope:winner ?= {
1902trigger_event_non_silently = flavor_pap_holy_league.9
}
1904scope:war = {
1905every_attacker = {
1906trigger_event_non_silently = flavor_pap_holy_league.6
}
}
}
1910else_if = {
1911limit = {
1912scope:loser = c:TUR
1913scope:winner = c:PAP
}
1915scope:loser ?= {
1916trigger_event_non_silently = flavor_pap_holy_league.10
}
1918scope:war = {
1919every_attacker = {
1920trigger_event_non_silently = flavor_pap_holy_league.5
}
}
}
}
1926if = {
1927limit = {
1928is_situation_active = situation:war_of_religions
1929scope:war = {
1930is_no_cb_war = no
}
}
1934clear_global_variable_list = war_of_religions_wants_war_list
1935clear_global_variable_list = war_of_religions_wants_peace_list
}
1940if = {
1941limit = {
1943scope:winner = c:CAS
1944c:POR = {
1945in_union_with = c:CAS
}
}
1948c:CAS = {
1949trigger_event_non_silently = flavor_cas.21
}
}
1952if = {
1953limit = {
1954scope:war = {
1955is_no_cb_war = no
}
1958country_exists = c:MOR
1959country_exists = c:GRA
1960this = c:MOR
1961area:andalusia_area = {
1962any_location_in_area = {
1963percent >= 0.8
1964OR = {
1965is_ownable = no
1966AND = {
1967is_ownable = yes
1968owner ?= root
}
}
}
}
1973location:cordoba.owner ?= root
}
1975trigger_event_silently = flavor_mor.36
}
1977if = {
1978limit = {
1979is_situation_active = situation:rise_of_timur
1980OR = {
1981scope:winner = {
1981tag = TIM
}
1982scope:loser = {
1982tag = TIM
}
}
}
1987every_location_in_region = {
1988remove_location_modifier = rot_timur_scare
}
}
}
1992if = {
1993limit = {
1994scope:winner = {
1994tag = TIM
}
1995has_variable = rot_conquest_ambition
}
}
1998every_location_in_region = {
1999limit = {
2000owner ?= c:TIM
2001integration_level = conquered
}
2003change_integration_level = integrated
}
}
}
}
© 2026 Soft Santa Cruz, S.L.U.. Tüm hakları saklıdır. Paradox Interactive ile bağlantısı olmayan, resmî olmayan bir hayran projesidir. Oyun içeriği © Paradox Interactive. Hakkında · Gizlilik · Yasal bildirim