Excavation starting
This commit is contained in:
parent
ab0d893250
commit
21f3ff5fe3
19 changed files with 7723 additions and 2 deletions
82
common/on_action/excavation_on_actions.txt
Normal file
82
common/on_action/excavation_on_actions.txt
Normal file
|
|
@ -0,0 +1,82 @@
|
|||
# On actions for the excavation activity
|
||||
|
||||
# 1. Start/Method
|
||||
excavation_start_events = {
|
||||
trigger = {
|
||||
exists = scope:activity
|
||||
involved_activity.activity_host ?= this
|
||||
}
|
||||
events = {
|
||||
excavation.0500 # Standard
|
||||
}
|
||||
}
|
||||
|
||||
# 2. Random Flavor
|
||||
excavation_random_pulse = {
|
||||
trigger = {
|
||||
exists = scope:activity
|
||||
OR = {
|
||||
is_ai = no
|
||||
involved_activity.activity_host ?= this
|
||||
}
|
||||
}
|
||||
random_events = {
|
||||
chance_of_no_event = {
|
||||
if = {
|
||||
limit = { this = scope:host }
|
||||
value = 0
|
||||
}
|
||||
else = { value = 50 }
|
||||
}
|
||||
200 = excavation.4002 #A hunt guest shares a secret about someone with you
|
||||
100 = excavation.4003 #Poachers in the woods
|
||||
}
|
||||
effect = { # Used to ensure a certain progress has been made before some events to fire
|
||||
involved_activity = { set_variable = excavation_outcome_random }
|
||||
}
|
||||
}
|
||||
|
||||
# Outcome Start
|
||||
excavation_outcome_start_events = {
|
||||
trigger = {
|
||||
exists = scope:activity
|
||||
involved_activity.activity_host ?= this
|
||||
}
|
||||
random_events = {
|
||||
}
|
||||
}
|
||||
|
||||
# Outcome Complication
|
||||
excavation_outcome_complication_events = {
|
||||
trigger = {
|
||||
exists = scope:activity
|
||||
OR = {
|
||||
is_ai = no
|
||||
involved_activity.activity_host ?= this
|
||||
}
|
||||
}
|
||||
random_events = {
|
||||
}
|
||||
}
|
||||
|
||||
# Outcome End
|
||||
excavation_outcome_end_events = {
|
||||
trigger = {
|
||||
exists = scope:activity
|
||||
involved_activity.activity_host ?= this
|
||||
}
|
||||
random_events = {
|
||||
}
|
||||
}
|
||||
|
||||
# End summary
|
||||
excavation_end_events = {
|
||||
trigger = {
|
||||
exists = scope:activity
|
||||
involved_activity.activity_host ?= this
|
||||
}
|
||||
random_events = {
|
||||
1 = excavation.1003 # Success
|
||||
1 = excavation.1004 # Failure
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue