42 lines
908 B
Text
42 lines
908 B
Text
|
|
excavation_remove_variables_effect = {
|
||
|
|
scope:host = {
|
||
|
|
if = {
|
||
|
|
limit = { is_alive = yes }
|
||
|
|
}
|
||
|
|
}
|
||
|
|
scope:activity = {
|
||
|
|
every_attending_character = {
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
excavation_invalidation_event_effect = {
|
||
|
|
if = {
|
||
|
|
limit = { is_in_list = attendees }
|
||
|
|
}
|
||
|
|
if = {
|
||
|
|
limit = { exists = scope:activity }
|
||
|
|
custom_tooltip = excavation_ends_tt
|
||
|
|
}
|
||
|
|
custom_tooltip = excavation_invalidated_warning_tt
|
||
|
|
}
|
||
|
|
|
||
|
|
excavation_activity_success_change_effect = {
|
||
|
|
scope:activity = {
|
||
|
|
if = {
|
||
|
|
limit = {
|
||
|
|
NOT = { exists = var:excavation_success_chance_event }
|
||
|
|
}
|
||
|
|
set_variable = { name = excavation_success_chance_event value = 0 }
|
||
|
|
}
|
||
|
|
change_variable = {
|
||
|
|
name = excavation_success_chance_event
|
||
|
|
add = excavation_activity_success_$CHANGE$_value
|
||
|
|
}
|
||
|
|
set_variable = {
|
||
|
|
name = excavation_success_chance
|
||
|
|
value = excavation_success_chance_value
|
||
|
|
}
|
||
|
|
}
|
||
|
|
custom_tooltip = excavation_activity_success_$CHANGE$_tt
|
||
|
|
}
|