CK3 DatabaseCrusader Kings III · 1.20.1.2 “Crozier” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →

Scripted effect · Roads to Power files

ep3_greek_fire_fail_effect

ep3_greek_fire_fail_effect = yes

game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt, line 7304 (29 lines). No parameters.

ep3_greek_fire_fail_effect is a scripted effect in Crusader Kings III, in the Roads to Power files, written at line 7304 of its file. It takes no parameters: ep3_greek_fire_fail_effect = yes. The game's script calls it in 2 places, among them Dragons on the Bosporus (event ep3_emperor_yearly.3012) and Our Secret Fire (event ep3_emperor_yearly.3011). 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

  • scope:invading_commander:
  • scope:knight_1:
    • death = { death_reason = death_greek_fire killer = scope:city_defender }
  • scope:army:
    • deplete_army_by_percentage = 0.4
  • scope:invader: 2 Knights are wounded

• 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 (29 lines of game script)
ep3_greek_fire_fail_effect = {
	scope:invading_commander ?= {
		add_character_modifier = {
			modifier = assaulted_by_greek_fire_modifier
			years = 1
		}
		add_stress = medium_stress_impact_gain
	}
	scope:knight_1 ?= {
		death = {
			death_reason = death_greek_fire
			killer = scope:city_defender
		}
	}
	scope:army = {
		deplete_army_by_percentage = 0.4
	}
	scope:invader ?= {
		custom_tooltip = two_knights_wounded_tooltip
		hidden_effect = {
			scope:knight_2 ?= {
				increase_wounds_effect = { REASON = greek_fire }
			}
			scope:knight_3 ?= {
				increase_wounds_effect = { REASON = greek_fire }
			}
		}
	}
}

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

Events (2)

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.

Spotted a mistake on this page?