fixes big evebts abd on actions plus mroe
This commit is contained in:
parent
c9d520e5a1
commit
bce2aa31a1
207 changed files with 100377 additions and 9296 deletions
|
|
@ -417,9 +417,9 @@ combat_event.0005 = {
|
|||
scope:friendly_commander = {
|
||||
send_interface_toast = {
|
||||
title = combat_event.0005.message
|
||||
set_relation_rival = {
|
||||
target = root
|
||||
reason = rival_undefeated_defeated
|
||||
set_relation_rival_effect = {
|
||||
TARGET = root
|
||||
REASON = rival_undefeated_defeated
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1095,8 +1095,16 @@ combat_event.1001 = {
|
|||
scope:combat_winner = {
|
||||
trigger_event = combat_event.1002
|
||||
}
|
||||
scope:combat_loser = {
|
||||
trigger_event = combat_event.1003
|
||||
if = {
|
||||
limit = {
|
||||
any_in_list = {
|
||||
list = prisoners_of_war
|
||||
this != scope:combat_loser
|
||||
}
|
||||
}
|
||||
scope:combat_loser = {
|
||||
trigger_event = combat_event.1003
|
||||
}
|
||||
}
|
||||
# Send a message to all other players who may be concerned about the fate of the captured prisoners.
|
||||
every_player = {
|
||||
|
|
@ -1122,8 +1130,8 @@ combat_event.1001 = {
|
|||
modifier = {
|
||||
factor = accolade_progress # scales with accolade progress
|
||||
}
|
||||
modifier = { # must have an eligible knight
|
||||
NOT = {
|
||||
if = {
|
||||
limit = { # must have an eligible knight
|
||||
root = {
|
||||
any_side_knight = {
|
||||
can_unlock_accolade_attribute_trigger = {
|
||||
|
|
@ -1138,48 +1146,47 @@ combat_event.1001 = {
|
|||
}
|
||||
}
|
||||
}
|
||||
factor = 0
|
||||
}
|
||||
save_scope_as = accolade_liege
|
||||
set_variable = {
|
||||
name = accolade_progress
|
||||
value = 0
|
||||
}
|
||||
root = {
|
||||
random_side_knight = {
|
||||
limit = {
|
||||
can_unlock_accolade_attribute_trigger = {
|
||||
ATTRIBUTE = thug
|
||||
}
|
||||
any_killed_character = {
|
||||
OR = {
|
||||
is_in_list = slain_combatants
|
||||
is_in_list = victorious_slain_combatants
|
||||
save_scope_as = accolade_liege
|
||||
set_variable = {
|
||||
name = accolade_progress
|
||||
value = 0
|
||||
}
|
||||
root = {
|
||||
random_side_knight = {
|
||||
limit = {
|
||||
can_unlock_accolade_attribute_trigger = {
|
||||
ATTRIBUTE = thug
|
||||
}
|
||||
any_killed_character = {
|
||||
OR = {
|
||||
is_in_list = slain_combatants
|
||||
is_in_list = victorious_slain_combatants
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
weight = {
|
||||
base = 1
|
||||
modifier = {
|
||||
add = 50
|
||||
is_acclaimed = yes
|
||||
weight = {
|
||||
base = 1
|
||||
modifier = {
|
||||
add = 50
|
||||
is_acclaimed = yes
|
||||
}
|
||||
}
|
||||
save_scope_as = accolade_knight
|
||||
}
|
||||
save_scope_as = accolade_knight
|
||||
}
|
||||
}
|
||||
send_interface_message = {
|
||||
type = msg_accolade_eligibility
|
||||
title = accolade_thug_unlock.t
|
||||
left_icon = scope:accolade_knight
|
||||
right_icon = scope:accolade_liege
|
||||
custom_tooltip = accolade_thug_unlock.tt
|
||||
scope:accolade_knight = {
|
||||
set_variable = {
|
||||
name = thug_attribute_unlock
|
||||
value = yes
|
||||
}
|
||||
}
|
||||
send_interface_message = {
|
||||
type = msg_accolade_eligibility
|
||||
title = accolade_thug_unlock.t
|
||||
left_icon = scope:accolade_knight
|
||||
right_icon = scope:accolade_liege
|
||||
custom_tooltip = accolade_thug_unlock.tt
|
||||
scope:accolade_knight = {
|
||||
set_variable = {
|
||||
name = thug_attribute_unlock
|
||||
value = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue