On action

on_battle_won

on_battle_wonin_game/common/on_action/_hardcoded.txt:2790

root = actor, scope:actor = winning "unit", scope:target = losing "unit" Supports the following float scopes: scope:killed_land_units -> how many soldiers killed during land battle scope:killed_navy_units -> how many ships destroyed during navy battle scope:lost_land_units -> how many soldiers lost during land battle scope:lost_navy_units -> how many ships lost during navy battle scope:war_score -> how much war score the winner gains from that battle

WymagaBułgariaKrajeffectAustriaKrajeffectSerbiaKrajeffectTimurydziKrajeffectOsmanowieKrajeffectMongolskaGrupa kultureffectPaństwo ŚrodkaOrganizacja międzynarodowaeffectRozkwit TimurydówSytuacjaeffectholy_league_crusadeZmiennaeffect

Definicjain_game/common/on_action/_hardcoded.txt:2790

2791events = {
}
2794effect = {
2795if = {
2796limit = {
2797scope:target = {
2798owner ?= {
2798tag = TUR
}
}
2800scope:actor.owner ?= {
2801any_current_war = {
2802is_in_war = scope:target.owner
2803has_variable = holy_league_crusade
}
}
}
2807scope:actor.owner = {
2808trigger_event_silently = flavor_pap_holy_league.7
}
}
2811scope:actor = {
}
2816scope:target = {
}
2821if = {
2822limit = {
2823situation_is_active = yes
}
}
2825scope:actor = {
2826owner = {
2827set_variable = {
2827value = scope:killed_land_units
}
}
}
2830if = {
2831limit = {
2831scope:actor = {
2831owner = {
2831tag = TIM
}
}
}
2833type = battle
2834variable = scope:actor.owner.var:land_units_killed
}
}
2837if = {
2838limit = {
2838scope:target = {
2838owner = {
2838tag = TIM
}
}
}
2840type = battle
2841variable = scope:target.owner.var:land_units_killed
}
}
}
2845if = {
2846limit = {
2847scope:actor = {
2848owner = {
2848tag = SER
}
2849unit_location = location:pristina
}
2851scope:target = {
2851owner = {
2851tag = TUR
}
}
}
2853scope:actor = {
2854unit_location = {
2854save_scope_as = target_location
}
2855owner = {
2856set_variable = {
2856value = scope:target_location
}
2857trigger_event_non_silently = flavor_ser.160
}
}
}
2861if = {
2862limit = {
2863scope:actor = {
2864owner = {
2864tag = HAB
}
2865unit_location = location:vienna
}
2867scope:target = {
2867owner = {
2867tag = TUR
}
}
}
2869scope:actor = {
2870unit_location = {
2870save_scope_as = target_location
}
2871owner = {
2872set_variable = {
2872value = scope:target_location
}
2873trigger_event_non_silently = flavor_hab.51
}
}
}
2877if = {
}
2891if = {
2892limit = {
2893scope:actor = {
2894owner = {
2894tag = BUL
}
}
2896scope:target = {
2896owner = {
2896tag = TUR
}
}
}
2898scope:actor = {
2899unit_location = {
2899save_scope_as = target_location
}
2900owner = {
2901set_local_variable = bul_won_against_ottomans
2902trigger_event_non_silently = flavor_bul.5
}
}
}
}
© 2026 Soft Santa Cruz, S.L.U.. Wszelkie prawa zastrzeżone. Nieoficjalny projekt fanowski, niezwiązany z Paradox Interactive. Zawartość gry © Paradox Interactive. O serwisie · Prywatność · Nota prawna