Scripted effect · By God Alone files
pam_negotiate_land_gold_effect
pam_negotiate_land_gold_effect = yesgame/common/scripted_effects/pam_effects.txt, line 6444 (17 lines). No parameters.
pam_negotiate_land_gold_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 6444 of its file. It takes no parameters: pam_negotiate_land_gold_effect = yes. The game's script calls it in 4 places, among them …, Acquired (event pam_interactions_events.0035), Negotiations for … (event pam_interactions_events.0030) and The Disputing of … (event pam_interactions_events.0034). Patch 1.20.1.2, from game/common/scripted_effects/pam_effects.txt.
What it does
- If has Treasury:
pay_short_term_treasury = { target = scope:recipient gold = scope:recipient.pam_transfer_land_gold_value }
- Otherwise:
pay_short_term_gold = { target = scope:recipient gold = scope:recipient.pam_transfer_land_gold_value }
• 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 (17 lines of game script)
pam_negotiate_land_gold_effect = {
if = {
limit = {
has_treasury = yes
}
pay_short_term_treasury = {
target = scope:recipient
gold = scope:recipient.pam_transfer_land_gold_value
}
}
else = {
pay_short_term_gold = {
target = scope:recipient
gold = scope:recipient.pam_transfer_land_gold_value
}
}
}As written in game/common/scripted_effects/pam_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls pam_negotiate_land_gold_effect.
Events (3)
- …, Acquired
pam_interactions_events.0035 - Negotiations for …
pam_interactions_events.0030 - The Disputing of …
pam_interactions_events.0034
Scripted effects (1)
Source: game/common/scripted_effects/pam_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.