On-Action
on_battle_lost
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 loser loses from that battle
BulgarienLandeffect
OsmanenreichLandeffectDefinitionin_game/common/on_action/_hardcoded.txt:2916
2917effect = {
2918if = {
2919limit = {
}
2927scope:actor = {
2928unit_location = {
2928save_scope_as = target_location
}
2929owner = {
2930set_local_variable = bul_lost_against_ottomans
}
}
}
}