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

Scripted effect

set_local_venomous_creature_effect

set_local_venomous_creature_effect = yes

game/common/scripted_effects/00_murder_effects.txt, line 841 (196 lines). No parameters.

set_local_venomous_creature_effect is a scripted effect in Crusader Kings III, written at line 841 of its file. It takes no parameters: set_local_venomous_creature_effect = yes. The game's script calls it in 6 places, among them Clear Your Head (event feast_events_ewan.0001), Defenseless (event murder_outcome_reworked.4021) and Defenseless (event murder_outcome_reworked.4023). Patch 1.20.1.2, from game/common/scripted_effects/00_murder_effects.txt.

The comment above it in the file

Pick a Local Creepy Crawly

What it does

  • 1 of 12 things will happen:
    • 0%: Nothing else happens
    • 10% (base chance; changed in play): Nothing else happens
    • 19% (base chance; changed in play): Nothing else happens
    • 10% (base chance; changed in play): Nothing else happens
    • 4%: Nothing else happens
    • 10% (base chance; changed in play): Nothing else happens
    • 5% (base chance; changed in play): Nothing else happens
    • 5% (base chance; changed in play): Nothing else happens
    • 19% (base chance; changed in play): Nothing else happens
    • 10% (base chance; changed in play): Nothing else happens
    • 10% (base chance; changed in play): Nothing else happens
    • 0% (base chance; changed in play): Nothing else happens

• 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 (120 lines of game script)
set_local_venomous_creature_effect = {
	random_list = {
		10 = {
			save_scope_value_as = {
				name = venomous_creature
				value = flag:rare_spider ##Very rare, as spiders poisonous enough to kill a man would need to come from VERY far
			}
		}
		500 = {
			save_scope_value_as = {
				name = venomous_creature
				value = flag:red_scorpion #India, Nepal
			}
			modifier = {
				factor = 0
				trigger_if = {
					limit = {
						exists = location
					}
					NOT = {
						location = { geographical_region = world_india }
					}
				}
			}
		}
		1000 = {
			save_scope_value_as = {
				name = venomous_creature
				value = flag:deathstalker #North Africa or Middle East
			}
			modifier = {
				factor = 0
				trigger_if = {
					limit = {
						exists = location
					}
					location = {
						NOR = {
							geographical_region = world_africa_north
							geographical_region = world_middle_east_jerusalem
							geographical_region = world_middle_east_persia
						}
					}
				}
			}
		}
		500 = {
			save_scope_value_as = {
				name = venomous_creature
				value = flag:fat_tail #Arabia, Middle East, Egypt
			}
			modifier = {
				factor = 0
				trigger_if = {
					limit = {
						exists = location
					}
					location = {
						NOR = {
							geographical_region = world_middle_east
							geographical_region = world_africa_north_east
						}
					}
				}
			}
		}
		200 = {
			save_scope_value_as = {
				name = venomous_creature
				value = flag:viper #Everywhere - fallback
			}
		}
		500 = {
			save_scope_value_as = {
				name = venomous_creature
				value = flag:mamba #Sub-saharan Africa
			}
			modifier = {
				factor = 0
				trigger_if = {
					limit = {
						exists = location
					}
					NOT = {
						location = { geographical_region = world_africa_west }
					}
				}
			}
		}
		250 = {
			save_scope_value_as = {
				name = venomous_creature
				value = flag:boomslang #Sub-saharan Africa
			}
			modifier = {
				factor = 0
				trigger_if = {
					limit = {
						exists = location
					}
					NOT = {
						location = { geographical_region = world_africa_west }
					}
				}
			}
		}
		250 = {
			save_scope_value_as = {
				name = venomous_creature
				value = flag:king_cobra #South-east Asia + India
			}
			modifier = {
				factor = 0
				trigger_if = {
					limit = {
						exists = location
					}
					location = {
						NOR = {
							geographical_region = world_india

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

The first 120 of its 196 lines; the rest is in game/common/scripted_effects/00_murder_effects.txt from line 841.

Where it is used

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

Events (6)

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