Excavation starting
This commit is contained in:
parent
ab0d893250
commit
21f3ff5fe3
19 changed files with 7723 additions and 2 deletions
42
common/scripted_effects/NEOW_excavation_scripted_effects.txt
Normal file
42
common/scripted_effects/NEOW_excavation_scripted_effects.txt
Normal 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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue