Crusader Kings III

Crusader Kings III

Unique Building Plus
 This topic has been pinned, so it's probably important
티에  [developer] 24 May, 2021 @ 5:18am
Modifications to Found University Decision
Trigger
common/scripted_triggers/00_education_triggers.txt

Vanila
has_university_building_trigger = {
OR = {
has_building_or_higher = generic_university
has_building_or_higher = al_azhar_university
has_building_or_higher = sankore_university
has_building_or_higher = siena_university
has_building_or_higher = nalanda_university
}
}

My Mod
has_university_building_trigger = {
OR = {
has_building_or_higher = generic_university
has_building_or_higher = al_azhar_university
has_building_or_higher = sankore_university
has_building_or_higher = siena_university
has_building_or_higher = nalanda_university
has_building_or_higher = ub_alqarawiyyin_university_01
has_building_or_higher = ub_toulouse_university_01
has_building_or_higher = ub_bologna_university_01
has_building_or_higher = ub_schola_medica_salernitana_01
has_building_or_higher = ub_naples_university_01
has_building_or_higher = ub_madrid_university_01
has_building_or_higher = ub_padua_university_01
has_building_or_higher = ub_coimbra_university_01
has_building_or_higher = ub_salamanca_university_01
has_building_or_higher = ub_cambridge_university_01
has_building_or_higher = ub_oxford_university_01
has_building_or_higher = ub_paris_university_01
}
}

Decision
common/decisions/80_major_decisions.txt

Vanila
(1) The condition is that the university decision does not appear.
title_province = {
NOR = {
exists = var:university
has_building = al_azhar_university
has_building = sankore_university
has_building = nalanda_university
}
}

(2) It is a requirement to add a university to the Bologna.

AND = {
title:b_bologna.county = { development_level >= medium_development_level }
custom_description = {
text = no_special_building_slot
title:b_cairo.title_province = { has_special_building_slot = no }
}
}

My Mod
(1) The condition is that the university decision does not appear.
-> I added the universities that I added in the mod to the conditions.

title_province = {
NOR = {
exists = var:university
has_building = al_azhar_university
has_building = sankore_university
has_building = nalanda_university
has_building = ub_alqarawiyyin_university_01
has_building = ub_bologna_university_01
has_building = ub_naples_university_01
has_building = ub_madrid_university_01
has_building = ub_padua_university_01
has_building = ub_coimbra_university_01
has_building = ub_salamanca_university_01
has_building = ub_cambridge_university_01
has_building = ub_oxford_university_01
}
}

(2) It is a requirement to add a university to the Bologna.
-> In my previous mode, the University of Bologna needed 'Hereditary rule' innovation for construction. I reflected that part.

AND = {
title:b_bologna.county = { development_level >= medium_development_level }
custom_description = {
text = holder_bologna_innovation
title:b_bologna.holder = {
culture = {
has_innovation = innovation_hereditary_rule
}
}
}
}

Events
events/decisions_events/major_decisions_events.txt

Vanila

(1) The result of the decision to found a university.
add_special_building_slot = generic_university

(2) Option_trigger

trigger = {
any_sub_realm_barony = { this = title:b_bologna }
title:b_bologna = {
county = { development_level >= medium_development_level }
title_province = { has_special_building_slot = no }
}
}

My Mod

(1) The result of the decision to found a university.
add_special_building_slot = ub_alqarawiyyin_university_01(Except for Bologna)

add_special_building = ub_bologna_university_01(Bologna)

(2) Option_trigger

trigger = {
any_sub_realm_barony = { this = title:b_bologna }
title:b_bologna = {
county = { development_level >= medium_development_level }
NOT = {
title_province = {
has_building_or_higher = ub_bologna_university_01
}
}
}
}
Last edited by 티에; 24 May, 2021 @ 7:29am
< >
Showing 1-4 of 4 comments
Moiros 14 Jul, 2021 @ 8:33pm 
All non-vanilla university (the one starting with ub_ ) appear in the game, but I cannot sand kids to study in them. Same issue didn't append we I build a vanilla university, but even then I can only send kids to the vanilla ones. Can you help me?
티에  [developer] 14 Jul, 2021 @ 9:18pm 
Originally posted by Moiros:
All non-vanilla university (the one starting with ub_ ) appear in the game, but I cannot sand kids to study in them. Same issue didn't append we I build a vanilla university, but even then I can only send kids to the vanilla ones. Can you help me?

Of course I have to help you. I've been listening to your story and testing several universities added to the game. However, when I used UBP alone, there was nothing wrong. The Send a University interaction was normally available to children before they became adults. If you are using a different mod, it seems possible that it is a conflict between that mod and my mod. Could you please provide me with information about the other mods you use? It would be hard for you to type one by one, so it would be better if you could share it through 'imgur'.
Moiros 15 Jul, 2021 @ 3:46am 
Hi, tnx for your availability! So I found the problem: it was a conflicting custom mod I made some time ago that allow kids to be raised in monastic schools (and it never worked properly >.<). the conflicting file where the education trigger ones. So, my bad, but thank you!
Last edited by Moiros; 15 Jul, 2021 @ 3:46am
티에  [developer] 15 Jul, 2021 @ 7:55am 
Originally posted by Moiros:
Hi, tnx for your availability! So I found the problem: it was a conflicting custom mod I made some time ago that allow kids to be raised in monastic schools (and it never worked properly >.<). the conflicting file where the education trigger ones. So, my bad, but thank you!
I'm glad you took care of it yourself. :steamthumbsup: However, please feel free to contact me if you have any questions related to my mod!
< >
Showing 1-4 of 4 comments
Per page: 1530 50