Scripted effect · All Under Heaven files
creator_mandala_built_regular_building_piety_effect
creator_mandala_built_regular_building_piety_effect = yesgame/common/scripted_effects/tgp_mandala_scripted_effects.txt, line 1975 (21 lines). No parameters.
creator_mandala_built_regular_building_piety_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 1975 of its file. It takes no parameters: creator_mandala_built_regular_building_piety_effect = yes. The game's script calls it in 304 places, among them Advanced Breeders (building), Apiaries (building) and Apple Orchards (building). Patch 1.20.1.2, from game/common/scripted_effects/tgp_mandala_scripted_effects.txt.
What it does
scope:character:If
- Government uses the Mandala Capital Temple Complex Great Project and Great Building
- Their house:
has_house_aspiration_parameter = aspect_of_creation
is_house_head = yes
Then
add_piety = { … }
• 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 (21 lines of game script)
creator_mandala_built_regular_building_piety_effect = {
if = {
limit = {
NOT = { exists = scope:character }
}
county.holder = { save_scope_as = character }
}
scope:character = {
if = {
limit = {
government_has_flag = government_is_mandala
house ?= { has_house_aspiration_parameter = aspect_of_creation }
is_house_head = yes
}
add_piety = {
value = minor_piety_value
multiply = { value = creator_mandala_piety_gain_scale }
}
}
}
}As written in game/common/scripted_effects/tgp_mandala_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls creator_mandala_built_regular_building_piety_effect — the first 120 of 304.
Buildings (120)
114 more
- Artisan's Guilds
- Aviaries
- Bailey
- Barns & Storehouses
- Bastions & Curtain Walls
- Bathhouses
- Beekeepers
- Bellows
- Berry Groves
- Blacksmith Districts
- Blacksmiths
- Blast Furnaces
- Bloomeries
- Bowyers
- Camel Breeders
- Camel Markets
- Camp Cooks
- Camp Smiths
- Canal Locks
- Caravanserais
- Carpenter's Guilds
- Carver's Guilds
- Cast Iron
- Cattle Lands
- Cattle Ranches
- Charcoal Burners
- Charcoal Burners
- Cistern
- Cisterns
- Clay Front Walls
- Commemoration Halls
- Complex Earthworks
- Composite Recurved Bows
- Conscription Centers
- Consolidated Landholdings
- Coops
- Corrals
- Courier Stations
- Cranks and Connecting Rods
- Crenellated Rampart Walls
- Crop Fields
- Cultivated Spice Groves
- Curved Rear Walls
- Customs Office
- Date Groves
- Ditches
- Diversified Rice Grains
- Domed Towers
- Drainage Channels
- Drawplate
- Drydocks
- Drying Flats
- Dye Distillery
- Earth Ramparts
- Elephant Breeders
- Elephant Hospitals
- Elephant Pens
- Elephant Riding Grounds
- Elephant Sanctuaries
- Elephant Training Grounds
- Elephant Traps
- Embrasures
- Expanded Docks
- Expanded Grazing Area
- Expanded Grounds
- External Walls
- Farm Estates
- Farmsteads
- Farrier's Guilds
- Feasting Halls
- Fell Pastures
- Fieldworks
- Fishing Net Weavers
- Fletcher's Guild
- Forest Fortresses
- Forest Glassworks
- Formation Fighting Fields
- Fortified Outposts
- Freeholds
- Frontier Outposts
- Fruit Orchards
- Fruit Tree Plantations
- Gamekeeper's Lodges
- Gardens & Vegetable Plantations
- Gearboxes
- Glassworker's Guilds
- Goldsmithies
- Grafted Trees
- Grain Silos
- Granaries
- Grand Estates
- Grand Orchards
- Grand Port
- Granges & Tithe Barns
- Graziers
- Guard Quarters
- Guardhouse
- Guardhouses
- Guild Halls
- Hamlets
- Hand Cannon Facility
- Hay Barracks
- Hay Meadows
- Hidden Weapons Caches
- Hide Tents
- Hill Pastures
- Hillside Fields
- Homesteads
- Honey Pastures
- Horizontal Windmills
- Horse Archer Saddles
- Horse Farms
- Horse Markets
- Horse Marshals
Source: game/common/scripted_effects/tgp_mandala_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.