Information
I have verifed my game files (Steam only)
YesI have disabled all mods
YesI am running the latest game update
YesRequired
Summary
Typo bug: destroy_random_building_variable_effect, during the building devastation part, Monastic School is mistakenly processed as Hospice.Description
In the destroy_random_building_variable_effect table, each potential building type is assigned a numeric index. Monastic Schools were intended to use index 34, but a typo left their assignment at 21 – the slot reserved for Hospices. When the random selection picks a Monastic School, the script writes its index into the shared variable, then hands off to a switch-case that treats “21” as Hospices. Because many provinces lack a Hospice to remove, the engine reports an error for every failed removal attempt.Steps to reproduce
1.Ensure a defender’s county contains at least one Monastic School (building_monastic_schools_01).2.Win a war triggering the MPO GOK Onslaught on_victory callback.
3.Inspect the error log: repeated lines stating Province does not have building ‘Pilgrim's Quarters’
Game Version
1.16.2.1Platform
WindowsAdditional Information
Affected Feature
- Gameplay
Save Game
Other Attachments
Last edited: