Scripted effect · Roads to Power files
reinforce_soldiers_regiment_effect
reinforce_soldiers_regiment_effect = yesgame/common/scripted_effects/07_dlc_ep3_scripted_effects.txt, line 9896 (15 lines). No parameters.
reinforce_soldiers_regiment_effect is a scripted effect in Crusader Kings III, in the Roads to Power files, written at line 9896 of its file. It takes no parameters: reinforce_soldiers_regiment_effect = yes. The game's script calls it in 2 places, among them Scrape the Barrel (interaction) and Starving Soldiers (event ep3_laamps.5015). Its body carries 1 text of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt.
What it does
- Every eligible Men-at-Arms Regiment gains up to 25–100 Soldiers
• 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 (15 lines of game script)
reinforce_soldiers_regiment_effect = {
save_scope_as = laamp_temp
# For the value.
if = {
limit = { NOT = { exists = scope:actor } }
save_temporary_scope_as = actor
}
custom_tooltip = {
text = reinforce_soldiers_effect_tt
every_maa_regiment = {
limit = { maa_regiments_valid_for_cheap_reinforcement_trigger = yes }
change_maa_troops_count = reinforce_soldiers_regiment_soldiers_value
}
}
}As written in game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls reinforce_soldiers_regiment_effect.
Character interactions (1)
Events (1)
- Starving Soldiers
ep3_laamps.5015
Source: game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.