# 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 } }