Scripted Effect
relic_expedition_grant_relic_effect_procedural
- ExpeditionExpedition current locationCreate art: Type:
work_of_art_type:holy_relic· Quality: quality - Recovered relicmove_art_and_owner: Location: RootCapital · Country: Root
- Moves to RootCapital
- Switches to be owned by Root
- ExpeditionSet variable
- Name: relic_hunt_found_relic
- Value: Recovered relic
Exact script
Script that calls it fills these in, as each caller in Connections shows.
$quality$
Scripting 3
Grants 1
- relic_hunt_found_relicScope:expedition
Uses 1
- move_art_and_ownercountry = root · location = root.capitalScope:recovered relic
Used by 1
- relic_expedition_grant_minor_relic_effectquality = $quality$Else
scope:expedition.expedition_current_location = {
create_art = {
type = work_of_art_type:holy_relic
quality = $quality$
save_scope_as = recovered_relic
}
}