Crusader Kings III

Crusader Kings III

Witchcraft
ryciebani666  [developer] 24 Mar, 2024 @ 6:33am
Creating Temple of the Horned God
This is my response to Axxa's comment:
Originally posted by Axxa:
Love the mod, and I'd like to make a request/suggestion
Could it be possible, to make the special building "Temple of the Horned God" an event building you can make yourself? Or maybe a game rule that have options on the spawn location?
It's a tad sad if you play in the western europe, and want to do some demon schenanigans, but the temple spawns all the way over in asia, never to be touched :(
Hope it can be looked at <3

Well, I confess that such a modification would not be in line with my personal vision ;) Places of Power should be random, and if you need one of them, you should just get it - even if it's somewhere on the edge of the world. That's why I don't like the idea of adding an event or game rule.
But that's my personal point of view - everyone has their own. CK is also precisely about making your own fantasies come true, right?;) Mods help with that. I can show you how you can realise your own vision.
First you have to find the folder with the mod. In my case it is:
*\Steam\steamapps\workshop\content\1158310\2837844350
(1158310 - CK ID.
2837844350 - Witchcraft ID).

For you it should look similar. Go into the "common" directory and then into "decisions". There should be three files inside, open "magic_dec.txt" in notepad. Scroll to the bottom, after the last character ("}") press enter and paste the code below:
spawns_horned_god_temple = { title = building_horned_god_house desc = building_horned_god_house_desc selection_tooltip = building_horned_god_house_desc confirm_text = CONSTRUCT picture = { reference = "gfx/interface/illustrations/decisions/decision_personal_religious.dds" } is_shown = { is_ai = no has_dark_temple_trigger = no } cooldown = { days = 1 } effect = { ordered_held_county = { limit = { title_province = { has_special_building_slot = no } } order_by = { value = development_level multiply = 1 } position = 0 title_province = { add_special_building = horned_god_house } } } ai_check_interval = 0 }
Save the file and close it. When you start the game you should see a one-off decision 'Temple of the Horned God'. It will create a temple in your most developed province (among those without a special building). The decision won't work if you already have special buildings in all provinces (although this is probably unlikely).
Good luck :>
Last edited by ryciebani666; 17 Mar @ 1:26am
< >
Showing 1-14 of 14 comments
Axxa 25 Mar, 2024 @ 2:32am 
I understand your point of vierw, thank you for this though ^_^
heh 5 Apr, 2024 @ 9:49pm 
Does this mean yaga's chicken hut can't be moved either? It seemed like the original yaga was able to move it, before a strange series of events lead to her serving as my courtier and spymaster, then tragically dying in a duel to my son. So I took her title since I control the hut, but can't see any interaction with it.
ryciebani666  [developer] 6 Apr, 2024 @ 1:47am 
Well, the hut is a special building that provides various bonuses/modifiers (described in its description), including allowing you to get Yaga trait. And that's all.
I admit that I had such an idea for the building to change its location - that’s how it worked in the early versions. On the mechanical side, the hut was simply removed from one place and added in another. It "moved" ;)
However, I quickly discovered that the previous locations left slots that could be used to rebuild the hut. Special slots cannot be removed (or at least I didn’t figure out how to do it). So, this functionality was disabled to prevent the world from being flooded by a wave of Baba Yagas huts ;)
heh 6 Apr, 2024 @ 7:58am 
That makes sense. I thought I saw it move, but I must've been confused by it being in slightly different places during different game starts. Amazing mod, by the way.
ryciebani666  [developer] 6 Apr, 2024 @ 11:09am 
Thanks :) Basically, places of power spawn at a random location in each new game (but then they don't move anymore). Good luck :>
daniel_barlow 14 Dec, 2024 @ 12:54am 
How do I do this but for the Magic Academy?
ryciebani666  [developer] 14 Dec, 2024 @ 2:58am 
Replace "add_special_building = horned_god_house" by "add_special_building = mage_house"
And "has_dark_temple_trigger = no" by "has_mage_academy_trigger = no"
Last edited by ryciebani666; 14 Dec, 2024 @ 3:02am
daniel_barlow 14 Dec, 2024 @ 1:26pm 
Thanks
Please help me figure this out – the decision isn't working. For some reason, the check for the special building in my most developed holding doesn't trigger. In the description it shows my capital, where the special building has already been constructed, and after activating the decision, nothing happens. I tested it with another character who has 2 holdings and no special buildings – the first building (Temple) is created, but the second one (Academy) is not.
ryciebani666  [developer] 14 Mar @ 3:12pm 
@Angel DeStaar
I have modified the code above so that it places two places of power in your realm - if there is room for it. GL.
Thank you for your help. I tried the new code, but only the Academy was created because position = 0 is the capital, and as I mentioned before, there is a special building there. I still have the feeling that the condition `limit = { any_county_province = { has_special_building_slot = no } }` is not working.
I don't rule out that the issue might also be caused by the Medieval Arts mod, which adds special buildings, and because of this, the building in the capital is not being considered.
ryciebani666  [developer] 15 Mar @ 4:51am 
@Angel DeStaar
Replace "any_county_province = { has_special_building_slot = no }" -> "title_province = { has_special_building_slot = no }" in both places, this will be more correct.

If this does not help, you can also experiment with the position parameters, change 0->1 and 1->2, etc.
Thanks. Changing to title_province worked.
I had considered adjusting position before, but that wouldn't be a universal solution. I still wanted to find something that would work for all playthroughs without needing to tweak it every time. And now I'm satisfied with it))
Last edited by Angel DeStaar; 15 Mar @ 5:08am
ryciebani666  [developer] 15 Mar @ 5:26am 
:]
< >
Showing 1-14 of 14 comments
Per page: 1530 50