Scripted effect
antiquarian_improve_artifact_effect
antiquarian_improve_artifact_effect = yesgame/common/scripted_effects/00_antiquarian_artifact_improvement_effects.txt, line 2 (74 lines). No parameters.
antiquarian_improve_artifact_effect is a scripted effect in Crusader Kings III, written at line 2 of its file. It takes no parameters: antiquarian_improve_artifact_effect = yes. The game's script calls it in 4 places, among them Improve Artifacts (court task), … A Wanderer from Nalanda (event pilgrimage_seasia.1200) and coronation_events_6110_artifact_reward_effect (local effect). Patch 1.20.1.2, from game/common/scripted_effects/00_antiquarian_artifact_improvement_effects.txt.
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 (74 lines of game script)
antiquarian_improve_artifact_effect = {
if = {
limit = {
artifact_slot_type = primary_armament
}
primary_armament_improvement_effect = yes
}
else_if = {
limit = {
artifact_slot_type = armor
}
armor_improvement_effect = yes
}
else_if = {
limit = {
artifact_slot_type = regalia
}
regalia_improvement_effect = yes
}
else_if = {
limit = {
artifact_slot_type = helmet
}
helmet_improvement_effect = yes
}
else_if = {
limit = {
artifact_slot_type = throne
}
throne_improvement_effect = yes
}
else_if = {
limit = {
artifact_slot_type = wall_big
}
wall_big_improvement_effect = yes
}
else_if = {
limit = {
artifact_slot_type = wall_small
}
wall_small_improvement_effect = yes
}
else_if = {
limit = {
artifact_slot_type = sculpture
}
sculpture_improvement_effect = yes
}
else_if = {
limit = {
artifact_slot_type = book
}
book_improvement_effect = yes
}
else_if = {
limit = {
artifact_slot_type = pedestal
}
pedestal_improvement_effect = yes
}
else_if = {
limit = {
artifact_slot_type = miscellaneous
}
miscellaneous_improvement_effect = yes
}
else_if = {
limit = {
artifact_slot_type = journal
}
journal_improvement_effect = yes
}
}As written in game/common/scripted_effects/00_antiquarian_artifact_improvement_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls antiquarian_improve_artifact_effect.
Court position tasks (1)
- Improve Artifacts
Events (1)
- … A Wanderer from Nalanda
pilgrimage_seasia.1200
Scripted effects inside an event file (1)
- coronation_events_6110_artifact_reward_effect
Scripted effects (1)
Source: game/common/scripted_effects/00_antiquarian_artifact_improvement_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.