Scripted effect · The Fate of Iberia files
fp2_border_raid_damage_effect
fp2_border_raid_damage_effect = yesgame/common/scripted_effects/03_dlc_fp2_scripted_effects.txt, line 1588 (8 lines). No parameters.
fp2_border_raid_damage_effect is a scripted effect in Crusader Kings III, in the The Fate of Iberia files, written at line 1588 of its file. It takes no parameters: fp2_border_raid_damage_effect = yes. The game's script calls it in 3 places, among them Border Raid (casus belli), Border Raid against the Roman Empire (casus belli) and Pillaging Foray (casus belli). Patch 1.20.1.2, from game/common/scripted_effects/03_dlc_fp2_scripted_effects.txt.
What it does
change_county_control = fp2_border_raid_control_change_value- Development level in the county reduces by -1
scope:raid_province:- scope:attacker: They gets …
• 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 (8 lines of game script)
fp2_border_raid_damage_effect = {
change_county_control = fp2_border_raid_control_change_value
change_development_level = fp2_border_raid_development_change_value
scope:raid_province ?= {
show_as_tooltip = { destroy_random_building_effect = yes }
}
scope:attacker = { add_gold = fp2_border_raid_gold_change_value }
}As written in game/common/scripted_effects/03_dlc_fp2_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls fp2_border_raid_damage_effect.
Source: game/common/scripted_effects/03_dlc_fp2_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.