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

Scripted effect

steal_back_artifact_success_effect

steal_back_artifact_success_effect = yes

game/common/scripted_effects/00_scheme_scripted_effects.txt, line 16211 (34 lines). No parameters.

steal_back_artifact_success_effect is a scripted effect in Crusader Kings III, written at line 16211 of its file. It takes no parameters: steal_back_artifact_success_effect = yes. The game's script calls it in 1 place, among them Steal Artifact: Success! (event steal_back_artifact_outcome.1001). Patch 1.20.1.2, from game/common/scripted_effects/00_scheme_scripted_effects.txt.

The comment above it in the file

Used in the immediate of the Scheme Owner's success event

What it does

• 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 (34 lines of game script)
steal_back_artifact_success_effect = {
	scope:target = {
		add_opinion = {
			target = scope:owner
			modifier = stole_artifact_from_me
		}
		# Feud score
		scope:owner.house = {
			change_house_relation_feud_score_effect = {
				TARGET = scope:target.house
				REASON = stole_artifact
				VALUE = house_feud_medium_counter_value
			}
		}
		# Contracts
		hidden_effect = {
			if = {
				limit = {
					any_character_task_contract = {
						task_contract_type  = laamp_steal_artifact_contract
						var:task_contract_target ?= scope:target
					}
				}
				random_character_task_contract = {
					task_contract_type  = laamp_steal_artifact_contract
					limit = {
						var:task_contract_target ?= scope:target
					}
					complete_task_contract = success_standard
				}
			}
		}
	}
}

As written in game/common/scripted_effects/00_scheme_scripted_effects.txt.

Where it is used

Every place in common/, events/ and history/ that calls steal_back_artifact_success_effect.

Events (1)

Source: game/common/scripted_effects/00_scheme_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?