Scripted effect
hunt_chance_for_no_pelt_effect
hunt_chance_for_no_pelt_effect = yesgame/common/scripted_effects/00_hunt_effects.txt, line 3470 (11 lines). No parameters.
hunt_chance_for_no_pelt_effect is a scripted effect in Crusader Kings III, written at line 3470 of its file. It takes no parameters: hunt_chance_for_no_pelt_effect = yes. The game's script calls it in 6 places, among them A Spear for … (event hunt.1005), A Spear for … (event hunt.1006) and A Spear for … (event hunt.1007). Its body carries 1 text of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/00_hunt_effects.txt.
What it does
- If have a Royal Court › 50% chance of: Pelt trophy Artifact will not be available
• 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 (11 lines of game script)
hunt_chance_for_no_pelt_effect = {
# Chance for no pelt reward
if = {
limit = { has_royal_court = yes }
random = {
chance = 50
custom_tooltip = hunt_pelt_damaged_tt
scope:activity = { set_variable = pelt_damaged }
}
}
}As written in game/common/scripted_effects/00_hunt_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls hunt_chance_for_no_pelt_effect.
Events (6)
- A Spear for …
hunt.1005 - A Spear for …
hunt.1006 - A Spear for …
hunt.1007 - A Spear for …
hunt.1008 - Cornering the …
hunt.1003 - The … …
hunt.4017
Source: game/common/scripted_effects/00_hunt_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.