Excavation starting

This commit is contained in:
Heidesommer 2026-06-02 02:58:30 -04:00
parent ab0d893250
commit 21f3ff5fe3
19 changed files with 7723 additions and 2 deletions

View file

@ -0,0 +1,42 @@
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
}