Scripted effect · Roads to Power files
laamp_game_over_option_effect
laamp_game_over_option_effect = yesgame/common/scripted_effects/07_dlc_ep3_scripted_effects.txt, line 707 (12 lines). No parameters.
laamp_game_over_option_effect is a scripted effect in Crusader Kings III, in the Roads to Power files, written at line 707 of its file. It takes no parameters: laamp_game_over_option_effect = yes. The game's script calls it in 7 places, among them From Riches to Rags (event ep3_laamps.0040), Once and Former … (event ep3_laamps.0001) and Once and Former … (event ep3_laamps.0004). 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
add_internal_flag = dangerous- The Game will end!
• 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 (12 lines of game script)
laamp_game_over_option_effect = {
add_internal_flag = dangerous
custom_tooltip = laamp_game_over_tt
if = {
limit = { exists = scope:new_landless_adventurer_title }
hidden_effect = {
destroy_title = scope:new_landless_adventurer_title
add_character_flag = { flag = declined_become_laamp days = 1 } # The flag is temporary to make the player get a game over if they had no landed heir to take over their lands
# While also making it so that if they did have an heir to take over they can later play as the old character if they somehow inherit from the heir
}
}
}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 laamp_game_over_option_effect.
Events (7)
- From Riches to Rags
ep3_laamps.0040 - Once and Former …
ep3_laamps.0001 - Once and Former …
ep3_laamps.0004 - Once and Former …
ep3_laamps.0005 - The … Exile
ep3_laamps.0020 - The … Exile
grand_ambitions.0003
1 more
- The Antichrist Shatters My Throne
roman_restoration.0132
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.