Scripted effect · All Under Heaven files
mandala_built_piety_duchy_building_t3_effect
mandala_built_piety_duchy_building_t3_effect = yesgame/common/scripted_effects/tgp_mandala_scripted_effects.txt, line 1838 (39 lines). No parameters.
mandala_built_piety_duchy_building_t3_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 1838 of its file. It takes no parameters: mandala_built_piety_duchy_building_t3_effect = yes. The game's script calls it in 91 places, among them Alai Minar (building), Alamut Castle (building) and Alamut Fortress (building). Patch 1.20.1.2, from game/common/scripted_effects/tgp_mandala_scripted_effects.txt.
What it does
scope:character:If
- Your county’s holder: Is not an Independent Ruler
- Government uses the Mandala Capital Temple Complex Great Project and Great Building
Then
add_piety = { value = massive_piety_value multiply = 1.5 }- Your county’s holder:
add_piety = { value = major_piety_value multiply = 1.5 }
- Else, if government uses the Mandala Capital Temple Complex Great Project and Great Building:
add_piety = { value = massive_piety_value multiply = 1.5 }
• 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 (39 lines of game script)
mandala_built_piety_duchy_building_t3_effect = {
if = {
limit = {
NOT = { exists = scope:character }
}
county.holder = { save_scope_as = character }
}
scope:character = {
#Liege paid for the building
if = {
limit = {
root.county.holder = { is_independent_ruler = no }
this = scope:character
government_has_flag = government_is_mandala
}
add_piety = {
value = massive_piety_value
multiply = 1.5
}
root.county.holder = {
if = {
limit = { government_has_flag = government_is_mandala }
}
add_piety = {
value = major_piety_value
multiply = 1.5
}
}
}
#Vassal paid for the building
else_if = {
limit = { government_has_flag = government_is_mandala }
add_piety = {
value = massive_piety_value
multiply = 1.5
}
}
}
}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 mandala_built_piety_duchy_building_t3_effect.
Buildings (91)
85 more
- Besakih Temple
- Borobudur
- Boudhanath
- Brihadeeswarar Temple
- Buddhas of Bamian
- Burkhan Khaldun
- Canterbury Basilica
- Canterbury Cathedral
- Cathedral of Santiago de Compostela
- Cathedral of Vagarshapat
- Cattolica di Stilo
- Church of Saint Lazarus
- Church of Saint Sophia
- Cologne Cathedral
- Dome of Soltaniyeh
- Dome of the Rock
- Expanded Quwwat-ul-Islam Mosque
- Fortified Monastery of Mont-Saint-Michel
- Giant Wild Goose Pagoda
- Golden Gate of Kyiv
- Grand Basilica
- Grand Mausoleum
- Grand Mosque
- Grand Mosque of Yazd
- Grand Temple
- Grand Temple
- Grand Temple
- Great Buddha of Kamakura
- Great Fire Temple
- Great Mosque of Djenne
- Great Mosque of Mecca
- Great Mosque of Samarra
- Great Stupa of Sanchi
- Great Tower of Silence
- Hagia Sophia Cathedral
- Hagia Sophia Mosque
- Hagios Demetrios
- Hashshashin Fortress
- Heddal Stave Church
- Hosios Loukas
- Imam Ali Mosque
- Itsukushima Shrine
- Itsukushima Shrine
- Jvari Monastery
- Khajuraho
- Leshan Giant Buddha
- Lingyin Temple
- Liuhe Pagoda
- Lund Cathedral
- Mahabodhi Temple
- Maijishan Grottoes
- Meteora
- Meteora
- Mount Athos
- Mount Athos
- Notre-Dame
- Pagoda of Fogong Temple
- Parthenon
- Pate Island Trade Ports
- Qutb Minar
- Renovated Sumela Monastery
- Ritual Escarpment
- Saint Catherine's Monastery
- Saint Peter's Basilica
- Sanctuary of Imam Reza
- Sant'Apollinare Nuovo
- Shah-i-Zinda Necropolis
- Shaolin Monastery
- Shwedagon Pagoda
- Stonehenge
- Sulawesi Megaliths
- Sumela Monastery
- Temple of Canterbury
- Temple of the Theotokos
- Temple of Uppsala
- Temples of Angkor
- The Friday Mosque
- The Great Mosque of Cordoba
- The Merveille
- The Prophetic Mosque
- The Third Temple
- Three Pagodas of Dali
- Uppsala Cathedral
- Wilwatikta Palace
- Yungang Grottoes
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.