Scripted Effect
fire_post_expedition_events
If
Has Variable: envoy_event
Then
- Remove variable: envoy_event
- Trigger event silently: Audience with the Ruler Title
Else if
Has Variable: gift_event
Then
- Remove variable: gift_event
- Trigger event silently: Gifts from Afar
Else if
Has Variable: exceptional_gift_giraffe
Then
- Remove variable: exceptional_gift_giraffe
- Trigger event silently: An Exotic Beast
Else if
Has Variable: exceptional_gift_persian_blue
Then
- Remove variable: exceptional_gift_persian_blue
- Trigger event silently:
Color of Wonders
Else if
Has Variable: exceptional_gift_cloves
Then
- Remove variable: exceptional_gift_cloves
- Trigger event silently:
A Taste to Remember
Else if
Any in list
- Variable:
characters_on_board - Jóu Yih Chen: This
Then
- Remove list variable
- Name:
characters_on_board - Target: Jóu Yih Chen
- Name:
- Trigger event silently
Else if
Any in list
- Variable:
characters_on_board - Has Variable: chi_extradited
Then
- Random in listwhereHas Variable: chi_extradited
- Variable:
characters_on_board - RootRemove list variable
- Name:
characters_on_board - Target: Previous
- Name:
- Variable:
- Trigger event silentlyId: Coward Found
Else if
Any in list
- Variable:
characters_on_board - Has Variable: chi_defiant_ruler
Then
- Random in listwhereHas Variable: chi_defiant_ruler
- Variable:
characters_on_board - RootRemove list variable
- Name:
characters_on_board - Target: Previous
- Name:
- Variable:
- Trigger event silentlyId: A Defiant Ruler
Otherwise
The Event 'End of Expedition' happens
Exact script
Requires 1
- Jóu Yih ChenElse if 5
Triggers 9
Events
- Audience with the Ruler TitleIf
- End of ExpeditionElse
- An Exotic BeastElse if 2
Color of WondersElse if 3
A Taste to RememberElse if 4- Coward FoundElse if 6
- Execution of Executed CharacterElse if 5
- A Defiant RulerElse if 7
- Gifts from AfarElse if 1
References 1
- Jóu Yih ChenElse if 5
Used by 10
Events
- Audience with the Ruler TitleAfter the chosen option
- An Exotic BeastAfter the chosen option
Color of WondersAfter the chosen option
A Taste to RememberAfter the chosen option- Coward FoundAfter the chosen option
- Execution of Executed CharacterAfter the chosen option
- A Defiant RulerOption 2
- Fate of Loser CountryAfter the chosen option
- Gifts from AfarAfter the chosen option
- Return of the Treasure VoyageAfter the chosen option
Scripting 12
Requires 7
Variables
- chi_defiant_rulerElse if 7
- chi_extraditedElse if 6
- envoy_eventIf
- exceptional_gift_clovesElse if 4
- exceptional_gift_giraffeElse if 2
- exceptional_gift_persian_blueElse if 3
- gift_eventElse if 1
Removes 5
Variables
- envoy_eventIf
- exceptional_gift_clovesElse if 4
- exceptional_gift_giraffeElse if 2
- exceptional_gift_persian_blueElse if 3
- gift_eventElse if 1
if = {
}
else_if = {
}
