Crusader Kings III

Crusader Kings III

Unique Building Plus
 此主题已被置顶,因此可能具有重要性
티에  [开发者] 2021 年 5 月 24 日 上午 5:18
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
}
}
}
}
最后由 티에 编辑于; 2021 年 5 月 24 日 上午 7:29
< >
正在显示第 1 - 4 条,共 4 条留言
Moiros 2021 年 7 月 14 日 下午 8:33 
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?
티에  [开发者] 2021 年 7 月 14 日 下午 9:18 
引用自 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 2021 年 7 月 15 日 上午 3:46 
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!
最后由 Moiros 编辑于; 2021 年 7 月 15 日 上午 3:46
티에  [开发者] 2021 年 7 月 15 日 上午 7:55 
引用自 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!
< >
正在显示第 1 - 4 条,共 4 条留言
每页显示数: 1530 50