Scripted effect · Silk and Silver files
adventurer_prestige_reset_effect
adventurer_prestige_reset_effect = yesgame/common/scripted_effects/gdp_merchant_scripted_effects.txt, line 1910 (22 lines). No parameters.
adventurer_prestige_reset_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 1910 of its file. It takes no parameters: adventurer_prestige_reset_effect = yes. The game's script calls it in 9 places, among them A Lesser … of … (event ep3_laamps.0010), A Path Paved with Gold (event gdp_merchant.0001) and Beyond … (event ep3_laamps.0030). Its body carries 2 texts of the game's own for the player. Patch 1.21.0, from game/common/scripted_effects/gdp_merchant_scripted_effects.txt.
What it does
- You retain only up to 100 Prestige
- You lose 3 Levels of Fame
• 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 (22 lines of game script)
adventurer_prestige_reset_effect = {
hidden_effect = {
#Save Prestige
save_scope_value_as = {
name = prestige_amount
value = {
value = prestige
add = -100
}
}
#Invert it, then take it away
add_prestige = {
value = scope:prestige_amount
multiply = -1
}
#Take away 3 prestige levels
add_prestige_level = -3
}
# Tooltips
custom_tooltip = lose_all_prestige_tt
custom_tooltip = lose_all_prestige_level_tt
}As written in game/common/scripted_effects/gdp_merchant_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls adventurer_prestige_reset_effect.
Events (9)
- A Lesser … of …
ep3_laamps.0010 - A Path Paved with Gold
gdp_merchant.0001 - Beyond …
ep3_laamps.0030 - ep3_laamps.0021
- From Riches to Rags
ep3_laamps.0040 - Going … Own Way
ep3_laamps.0050
3 more
- Going … Own Way
ep3_laamps.0051 - Once and Former …
ep3_laamps.0001 - The … Exile
ep3_laamps.0020
Source: game/common/scripted_effects/gdp_merchant_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.21.0.