This script has two new buildings that randomly move around the map. I am currently using a bard and a merchant, but you can use whatever buildings you like and assign whatever bonuses you wish. You can even then script events around them using the BuildingExists condition, or traits and ancillaries. I didnt make new building images so it just shows the RTW barracks for the building, but the text descriptions are correct.
Currently this is only setup for the 7 settlements in England, I want some input from people before I expand it to include all vanilla settlements. Those of you creating a new mod would have to change all the settlement names anyways:
London
Caernarvon
Dublin
Inverness
Edinburgh
York
Nottingham
The bard/merchant is placed in two settlements at the beginning of the game. You can increase the number of bards/merchants by changing one line in the script, and it is possible to have multiple bards or merchants in the same settlement, which doubles the bonuses. I ran some tests with 7 and it works fine, but with only 7 settlements sometimes one settlement will have a ton of them. On a map with lots of regions it shouldnt happen that often.
When the building is created in a settlement owned by the player, an event pops up to notify you. This can easily be disabled by commenting out the historic_event lines in the script. The buildings cannot be destroyed, which is useful if you want to have a building that has penalties instead of bonuses.
The buildings will move under these conditions:
high_taxes - 50% chance
extortionate_taxes - 70% chance
rioting - 60% chance
revolting - 80% chance
plague - 100% chance
under_siege - 100% chance, note this one only works if there is a named character in the settlement
25% chance of moving if all other conditions are false
DO NOT DOWNLOAD THIS SCRIPT IF YOU ARE NEW TO MODDING, THIS IS THE BETA VERSION!
This script is fairly long and complicated compared to some of the other stuff I have released, and if you cant follow it and you try to make changes you will break it.
To install:
Copy the contents of the included text files into your current text files. Do not just replace your files with mine. Remember to delete the strings.bin files.





Reply With Quote














































