온 액션이번 버전 변경

on_location_changed_owner

on_location_changed_ownerin_game/common/on_action/_hardcoded.txt:4204

root= location, scope:loser = previous owner, scope:winner = new owner (can be null)

요구 조건베이 요새건물effect파나카건물effect비잔티움국가effect로마국가effect티무르국가effect오스만국가effect튀르크문화군effectFate of the PhoenixDLCeffect이탈리아창설 국가effect파나카 보유보정치 유형effect가톨릭종교effect정교회종교effect

정의in_game/common/on_action/_hardcoded.txt:4204

4205on_actions = {
}
4222effect = {
4223if = {
4224limit = {
4225this = location:rome
4226has_religion_modifier = rome_lost_modifier
}
4227scope:winner.religion = religion:catholic
}
4229remove_religion_modifier = rome_lost_modifier
}
}
4231if = {
4232limit = {
4233this = location:rome
4234has_religion_modifier = rome_reclaimed_modifier
}
4235scope:winner.religion != religion:orthodox
}
4237remove_religion_modifier = rome_reclaimed_modifier
}
}
4239if = {
4240limit = {
4242scope:winner ?= c:BYZ
4243root = location:smyrna
}
4246scope:winner = {
4247trigger_event_silently = {
4249days = {
1
90
}
}
}
}
4253if = {
4254limit = {
4256scope:winner ?= c:BYZ
4257root = location:iznik
}
4260scope:winner = {
4261trigger_event_silently = {
4263days = {
1
90
}
}
}
}
4267if = {
4268limit = {
4270scope:winner ?= c:BYZ
4271root = location:bursa
}
4274scope:winner = {
4275trigger_event_silently = {
4277days = {
1
90
}
}
}
}
4281if = {
4282limit = {
4283scope:winner ?= c:BYZ
4284c:BYZ = {
4284has_country_modifier = BYZ_lacking_jewels
}
4285work_of_art:byzantine_crown_jewels.location ?= root
}
4287work_of_art:byzantine_crown_jewels = {
4288save_scope_as = target_woa
}
4290save_scope_as = target
4291c:BYZ = {
4292trigger_event_non_silently = {
}
}
}
4297if = {
4298limit = {
4299root = location:constantinople
4300has_global_variable = hagia_sophia_now_mosque
4301scope:winner = {
4301religion.group = religion_group:christian
}
}
4303remove_global_variable = hagia_sophia_now_mosque
}
4305if = {
4306limit = {
4307scope:loser ?= c:PAP
4308this = location:rome
4309scope:winner.religion = religion:catholic
4310scope:winner != c:ITA
}
4312scope:winner = {
4312trigger_event_non_silently = flavor_pap.9002
}
4315every_country_in_religion = {
4316limit = {
4316this != scope:winner
}
4317add_antagonism = {
4318target = scope:winner
4319modifier = antagonism_seized_papal_capital
}
}
}
}
4325if = {
4326limit = {
4327scope:loser ?= c:PAP
4328this = location:rome
4329NOT = {
4329scope:winner.religion.group = religion_group:christian
}
4330scope:winner ?= {
4330is_real_country = yes
}
}
4333add_religion_modifier = {
4334modifier = rome_lost_modifier
4335years = -1
4336mode = replace
4337desc = as_long_as_location_owner_is_not_catholic_desc 로마의 소유국이 가톨릭 국가가 아닌 동안
}
}
4340scope:winner = {
4340trigger_event_non_silently = flavor_pap.9003
}
}
4342if = {
4343limit = {
}
4347if = {
4348limit = {
4349scope:winner = {
4349has_variable = delhi_claimants_variable
}
}
4352set_variable = {
4354value = scope:winner.capital
}
}
4357set_variable = {
4359value = yes
4360years = 1
}
}
4363else = {
4364scope:winner = {
4365ordered_known_country = {
4366limit = {
4366has_variable = delhi_claimants_variable
}
4367order_by = {
4368value = {
4369add = country_total_army_levy_size
4370if = {
4371limit = {
4371is_subject = yes
}
4372multiply = 0
}
4374if = {
4375limit = {
4375at_war = yes
}
4376multiply = 0.75
}
}
}
4381set_variable = {
4383value = scope:winner.capital
}
}
4386set_variable = {
4388value = yes
4389years = 1
}
}
}
}
}
4395if = {
4396limit = {
4397is_situation_active = situation:rise_of_the_ottomans
4398scope:winner ?= {
4398has_reform = government_reform:anatolian_beylik
}
4399OR = {
4400root = location:sivas
4401root = location:konya
4402root = location:tabriz
4403root = location:erzurum
}
4405scope:winner = {
4406NOT = {
4406has_estate_privilege = estate_privilege:trunk_road_to_erzurum_privilege
}
}
}
4410scope:winner = {
4410trigger_event_non_silently = rise_of_the_ottomans.218
}
}
4413if = {
4414limit = {
4416scope:winner = {
}
}
4418destroy_building = "building(building_type:panaqa_building|owner)"
}
4420if = {
4421limit = {
4422has_building = building_type:bey_fortress
4423scope:winner = {
4423NOT = {
4423culture ?= {
4423has_culture_group = culture_group:turkic_group
}
}
}
}
4425destroy_building = "building(building_type:bey_fortress|owner)"
}
4427if = {
4428limit = {
4429is_situation_active = situation:italian_wars
4430region = region:italy_region
}
4432if = {
4433limit = {
4434scope:winner = {
4435any_international_organizations_member_of = {
4436OR = {
4437is_target_in_global_variable_list = {
4438name = iw_italian_leagues_list
4439target = this
}
4441is_target_in_global_variable_list = {
4442name = iw_foreign_leagues_list
4443target = this
}
}
}
}
}
4450every_international_organization_owner = {
4451limit = {
4452OR = {
4453is_target_in_global_variable_list = {
4454name = iw_italian_leagues_list
4455target = this
}
4457is_target_in_global_variable_list = {
4458name = iw_foreign_leagues_list
4459target = this
}
}
4462scope:winner ?= {
4463NOT = {
4463is_member_of_international_organization = prev
}
}
}
4466remove_location_from_international_organization = root
}
4468scope:winner ?= {
4469random_international_organizations_member_of = {
4470limit = {
4471OR = {
4472is_target_in_global_variable_list = {
4473name = iw_italian_leagues_list
4474target = this
}
4476is_target_in_global_variable_list = {
4477name = iw_foreign_leagues_list
4478target = this
}
}
}
4482add_location_to_international_organization = root
}
}
}
}
4487if = {
4488limit = {
4489scope:winner ?= {
4489has_variable = rot_has_selected_core_region
}
4490root = {
4491region = scope:winner.var:rot_has_selected_core_region
4492NOT = {
4492integration_level = core
}
}
}
4495root = {
4495change_integration_level = core
}
}
4497if = {
4498limit = {
4500situation = situation:rise_of_timur
4501event = rot_fall_of_delhi
}
4503scope:winner ?= {
4503tag = TIM
}
4504this = location:delhi
}
4506scope:winner = {
4507trigger_event_non_silently = rise_of_timur.11
}
}
4511if = {
4512limit = {
4513tag_exists = TUR
4514scope:winner ?= {
4514tag = TUR
}
4515scope:winner = {
4515religion.group = religion_group:muslim
}
4516this = location:cairo
}
4518scope:winner = {
4519trigger_event_non_silently = flavor_tur.204
}
}
4522if = {
4523limit = {
4524scope:winner ?= {
4525is_human = yes
}
}
4528scope:winner ?= {
4529set_variable = {
4531months = 1
}
}
}
4536if = {
4537limit = {
4539root = {
}
}
4543save_scope_as = target_pentarchy
4544scope:winner = {
4545if = {
4546limit = {
4547religion = religion:orthodox
}
4549pentarchy = yes
}
4550scope:target_patriarch = {
4551location = scope:target_pentarchy
}
}
4553location = scope:target_pentarchy
}
4554trigger_event_non_silently = d008_orthodox_events.7
}
}
4557scope:loser ?= {
4558if = {
4559limit = {
4559location = scope:target_pentarchy
}
}
4560if = {
4561limit = {
4561location = scope:target_pentarchy
}
}
4563set_variable = lost_pentarchy
}
4565location = scope:target_pentarchy
}
4566trigger_event_non_silently = d008_orthodox_events.8
}
}
4570variable_map(pentarchy|scope:target_pentarchy) ?= {
4571remove_variable = is_pentarch
}
4573remove_from_variable_map = {
4574name = pentarchy
4575key = scope:target_pentarchy
}
4577if = {
4578limit = {
4578exists = scope:target_patriarch
}
4579add_to_variable_map = {
4580name = pentarchy
4581key = scope:target_pentarchy
4582value = scope:target_patriarch
}
4584scope:target_patriarch = {
4585set_variable = {
4586name = is_pentarch
4587value = scope:target_pentarchy
}
}
}
}
}
4593if = {
4594limit = {
4595area = area:morea_area
}
4597if = {
4598limit = {
4599scope:winner = {
}
}
4603add_location_modifier = {
4604mode = replace
4605modifier = BYZ_morea_nobles
4606years = 30
}
}
4609if = {
4610limit = {
4611scope:winner = {
}
4614has_variable = BYZ_unused_integration_bonus
}
4616change_integration_progress = 30
4617remove_variable = BYZ_unused_integration_bonus
}
}
}
© 2026 Soft Santa Cruz, S.L.U.. 모든 권리 보유. 비공식 팬 프로젝트이며 Paradox Interactive와 관련이 없습니다. 게임 콘텐츠 © Paradox Interactive. 소개 · 개인정보 보호 · 법적 고지