CK3 DatabaseCrusader Kings III · 1.21.0 “Florin” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →Merch→

Scripted effect · Silk and Silver files

adventurer_prestige_reset_effect

adventurer_prestige_reset_effect = yes

game/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

• 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)

3 more

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.

Spotted a mistake on this page, or have an idea for the site?