Scripted effect · Silk and Silver files
visit_holding_rare_recruit_duel_loss_effect
visit_holding_rare_recruit_duel_loss_effect = { CHARACTER = … SCENE = … }game/common/scripted_effects/gdp_visit_holding_decision_scripted_effects.txt, line 306 (14 lines). Parameters: $CHARACTER$, $SCENE$.
visit_holding_rare_recruit_duel_loss_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 306 of its file. A call passes 2 parameters: CHARACTER and SCENE. The game's script calls it in 5 places, among them The Monk (event gdp_visit_holding_decision_event.1330), Visiting … Docks: (event gdp_visit_holding_decision_event.1334) and Visiting … Marketplace: (event gdp_visit_holding_decision_event.1333). Its body carries 1 text of the game's own for the player. Patch 1.21.0, from game/common/scripted_effects/gdp_visit_holding_decision_scripted_effects.txt.
What it does
- … will leave and cannot be recruited during this visit
• the game's own tooltip text · ◦ our reading of the script line · code the script where neither exists
“They” is whatever it runs on (the scope it is called in). The scripted triggers and effects it calls link to their own pages; $PARAMETERS$ stay as written: each call fills them in.
The script as written (14 lines of game script)
visit_holding_rare_recruit_duel_loss_effect = {
custom_tooltip = gdp_visit_holding_rare_recruit_duel_loss.tt
hidden_effect = {
if = {
limit = {
exists = $CHARACTER$
$CHARACTER$ = { has_character_flag = created }
}
$CHARACTER$ = { silent_disappearance_effect = yes }
}
clear_saved_scope = $SCENE$
clear_saved_scope = visit_holding_rare_recruit
}
}As written in game/common/scripted_effects/gdp_visit_holding_decision_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls visit_holding_rare_recruit_duel_loss_effect.
Events (5)
- The Monk
gdp_visit_holding_decision_event.1330 - Visiting … Docks:
gdp_visit_holding_decision_event.1334 - Visiting … Marketplace:
gdp_visit_holding_decision_event.1333 - Visiting … Marketplace:
gdp_visit_holding_decision_event.1335 - Visiting … Marketplace:
gdp_visit_holding_decision_event.1336
Source: game/common/scripted_effects/gdp_visit_holding_decision_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.21.0.