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

gdp_usury_debtor_discover_interest_tooltip_effect

gdp_usury_debtor_discover_interest_tooltip_effect = yes

game/common/scripted_effects/gdp_merchant_scripted_effects.txt, line 6352 (19 lines). No parameters.

gdp_usury_debtor_discover_interest_tooltip_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 6352 of its file. It takes no parameters: gdp_usury_debtor_discover_interest_tooltip_effect = yes. The game's script calls it in 1 place, among them The Fine Print (event gdp_merchant.5010). Its body carries 1 text 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 (19 lines of game script)
gdp_usury_debtor_discover_interest_tooltip_effect = {
	if = {
		limit = {
			NOT = { exists = scope:gdp_usury_hidden_interest }
		}
		scope:loan = {
			save_scope_value_as = {
				name = gdp_usury_hidden_interest
				value = gdp_loan_disguised_interest_portion_value
			}
		}
	}
	custom_description = {
		text = gdp_usury_debtor_discover_interest_tt
		subject = scope:lender
		object = scope:debtor
		value = scope:gdp_usury_hidden_interest
	}
}

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 gdp_usury_debtor_discover_interest_tooltip_effect.

Events (1)

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?