On actionИзменено в этой версии

on_siege_won

on_siege_wonin_game/common/on_action/_hardcoded.txt:278

When a location with fort changes controller after a siege. root = country, scope:target = location, scope:character = leading general character

ТребуетПизаДержаваeffectmuslim_southern_indian_country_flagПеременнаяeffectvijayanagar_country_flagПеременнаяeffect

Определениеin_game/common/on_action/_hardcoded.txt:278

279on_actions = {
}
294effect = {
295if = {
296limit = {
297scope:target = {
298is_capital = yes
299owner = {
}
}
}
304scope:target = {
305save_scope_as = target_location
}
307trigger_event_silently = flavor_vij.1202
}
309if = {
310limit = {
311scope:target = {
312is_capital = yes
313owner = {
314has_variable = vijayanagar_country_flag
}
}
}
318scope:target = {
319save_scope_as = target_location
}
321trigger_event_silently = flavor_vij.1204
}
323if = {
324limit = {
325ruler ?= character:dlh_muhammad_bin_tughluq
326scope:target = {
327is_capital = yes
328owner ?= {
329this != root
}
}
}
333scope:target = {
334save_scope_as = target_location
335controller ?= {
336save_scope_as = target_country
337trigger_event_silently = flavor_dlh.28
}
}
}
341if = {
342limit = {
343this = c:PIS
344scope:target = location:genoa
}
346trigger_event_silently = flavor_pis.2
}
}