Skip to content

Instantly share code, notes, and snippets.

@gbromios
Created February 8, 2019 08:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gbromios/185092d4c77f5946d9a12c4c1e41cd23 to your computer and use it in GitHub Desktop.
Save gbromios/185092d4c77f5946d9a12c4c1e41cd23 to your computer and use it in GitHub Desktop.
diff --git a/common/institutions/00_Core.txt b/common/institutions/00_Core.txt
index 3117177..13b93bc 100644
--- a/common/institutions/00_Core.txt
+++ b/common/institutions/00_Core.txt
@@ -4388,12 +4388,12 @@ global_trade = {
scale = yes
force_potential = yes # Hide the this modifier when potential is false
potential = {
- NOT = { has_building = trade_lvl_1 }
+ NOT = { has_building = marketplace }
NOT = { has_building = trade_lvl_2 }
- NOT = { has_building = trade_lvl_3 }
- NOT = { has_building = trade_lvl_4 }
+ NOT = { has_building = trade_depot }
+ NOT = { has_building = stock_exchange }
} #BTAddOn new - this cleans up UI by making only one or two spread factors show, instead of all three. Might cause some minor confusion to a player because trade depot and stock exchange don't appear to spread it at first, but in my opinion cleaning it up does more good than harm, even so
- has_building = trade_lvl_1
+ has_building = marketplace
}
modifier = {
factor = 0.1
@@ -4401,10 +4401,10 @@ global_trade = {
force_potential = yes # Hide the this modifier when potential is false
potential = {
OR = {
- has_building = trade_lvl_1
+ has_building = marketplace
has_building = trade_lvl_2
- has_building = trade_lvl_3
- has_building = trade_lvl_4
+ has_building = trade_depot
+ has_building = stock_exchange
}
} #BTAddOn new - this cleans up UI by making only one spread factor show, instead of all three. Might cause some minor confusion to a player because trade depot and stock exchange don't appear to spread it at first, but in my opinion cleaning it up does more good than harm, even so
has_building = trade_lvl_2
@@ -4415,13 +4415,13 @@ global_trade = {
force_potential = yes # Hide the this modifier when potential is false
potential = {
OR = {
- has_building = trade_lvl_1
+ has_building = marketplace
has_building = trade_lvl_2
- has_building = trade_lvl_3
- has_building = trade_lvl_4
+ has_building = trade_depot
+ has_building = stock_exchange
}
} #BTAddOn new - this cleans up UI by making only one spread factor show, instead of all three. Might cause some minor confusion to a player because trade depot and stock exchange don't appear to spread it at first, but in my opinion cleaning it up does more good than harm, even so
- has_building = trade_lvl_3
+ has_building = trade_depot
}
modifier = {
factor = 0.5 #BTAddOn changed from 1.0. Want CoT to be the most important for this institution, rather than buildings and TP, so lowering the bonus here.
@@ -4429,13 +4429,13 @@ global_trade = {
force_potential = yes # Hide the this modifier when potential is false
potential = {
OR = {
- has_building = trade_lvl_1
+ has_building = marketplace
has_building = trade_lvl_2
- has_building = trade_lvl_3
- has_building = trade_lvl_4
+ has_building = trade_depot
+ has_building = stock_exchange
}
} #BTAddOn new - this cleans up UI by making only one spread factor show, instead of all three. Might cause some minor confusion to a player because trade depot and stock exchange don't appear to spread it at first, but in my opinion cleaning it up does more good than harm, even so
- has_building = trade_lvl_4
+ has_building = stock_exchange
}
##########################################################################################################################################################################################################################################################
#BTAddOn Note - removing trade power factors for global trade spread entirely. They are messy, complicated, don't encourage proper spread, and are redundant as most major factors in tp (CoT/buildings) also spread global trade themselves, estuaries lose out, but oh well. Leaving this here in case I reconsider.
@@ -5764,7 +5764,7 @@ enlightenment = {
#BTAddOn notes - completed overhauled requirements and UI display here. It IS possible for the enlightenment to be delayed until a country can fulfill the requirements, this is intentional, there is 50 years for someone to meet the criteria
#Also note tech to build Unis will likely be reached at least 80-85 years before this, so there should be plenty of Unis around, especially in western Europe with new ai factors in building file.
OR = {
- has_building = government_lvl_5
+ has_building = university
custom_trigger_tooltip = {
tooltip = tooltip_bt_add_new_instituiton_details_o
development = 32
@@ -6307,7 +6307,7 @@ enlightenment = {
modifier = {
factor = 0.2 #BTAddOn change from 5.0, also now scaled. Greenland with a university is still Greenland, and Paris without a university is still Paris.
scale = yes #BTAddOn new - now scaled like most others
- has_building = government_lvl_5
+ has_building = university
}
#BTAddOn note - I know, ra ra for democracy and all that, but simply having representation at a federal level doesn't automatically mean that the people are 'englightened'
#modifier = {
diff --git a/events/Parlaments.txt b/events/Parlaments.txt
index f214d31..b3847c5 100644
--- a/events/Parlaments.txt
+++ b/events/Parlaments.txt
@@ -269,7 +269,7 @@ province_event = {
trigger = {
has_dlc = "Common Sense"
- has_building = government_lvl_5
+ has_building = university
NOT = { has_province_modifier = rotten_borough }
has_seat_in_parliament = yes
owner = { has_active_debate = yes }
@@ -324,12 +324,12 @@ province_event = {
OR = {
has_port = yes
has_building = wharf
- has_building = navyforcelimit_lvl_1
- has_building = navymanpower_lvl_1
- has_building = navymanpower_lvl_3
- has_building = trade_lvl_1
- has_building = trade_lvl_3
- has_building = trade_lvl_4
+ has_building = shipyard
+ has_building = dock
+ has_building = drydock
+ has_building = marketplace
+ has_building = trade_depot
+ has_building = stock_exchange
}
owner = { has_active_debate = yes }
is_backing_current_issue = no
@@ -393,8 +393,8 @@ province_event = {
has_building = weapons
has_building = manpower_lvl_1
has_building = forcelimit_lvl_1
- has_building = manpower_lvl_3
- has_building = forcelimit_lvl_3
+ has_building = training_fields
+ has_building = conscription_center
fort_level = 1
base_manpower = 6
}
@@ -461,7 +461,7 @@ province_event = {
has_building = textile
has_building = plantations
has_building = tradecompany
- has_building = production_lvl_1
+ has_building = workshop
has_building = production_lvl_3
base_production = 8
}
@@ -940,7 +940,7 @@ province_event = {
has_building = textile
has_building = plantations
has_building = tradecompany
- has_building = production_lvl_1
+ has_building = workshop
has_building = production_lvl_3
base_production = 8
}
@@ -1000,8 +1000,8 @@ province_event = {
has_building = weapons
has_building = manpower_lvl_1
has_building = forcelimit_lvl_1
- has_building = manpower_lvl_3
- has_building = forcelimit_lvl_3
+ has_building = training_fields
+ has_building = conscription_center
fort_level = 1
base_manpower = 6
}
@@ -1065,9 +1065,9 @@ province_event = {
has_seat_in_parliament = yes
OR = {
has_building = wharf
- has_building = navyforcelimit_lvl_1
- has_building = navymanpower_lvl_1
- has_building = navymanpower_lvl_3
+ has_building = shipyard
+ has_building = dock
+ has_building = drydock
has_port = yes
}
owner = { has_active_debate = yes }
@@ -1197,7 +1197,7 @@ province_event = {
owner = { current_debate = nationwide_land_survey }
owner = { current_debate = nationwide_census }
}
- has_building = government_lvl_5
+ has_building = university
}
is_mtth_scaled_to_size = 1
diff --git a/events/PriceChanges.txt b/events/PriceChanges.txt
index f1800d7..4d408b6 100644
--- a/events/PriceChanges.txt
+++ b/events/PriceChanges.txt
@@ -2545,7 +2545,7 @@ country_event = {
is_state = yes
is_capital = no
OR = {
- has_building = production_lvl_1
+ has_building = workshop
has_building = production_lvl_3
}
province_without_special_goods_produced_trigger = yes
diff --git a/events/SikhEvents.txt b/events/SikhEvents.txt
index dd151ce..e20c696 100644
--- a/events/SikhEvents.txt
+++ b/events/SikhEvents.txt
@@ -184,26 +184,26 @@ country_event = {
limit = {
owns = 2075 # Punjab
2075 = {
- NOT = { has_building = taxation_lvl_1 }
+ NOT = { has_building = temple }
num_free_building_slots = 1
}
}
2075 = {
- add_building = taxation_lvl_1
+ add_building = temple
}
}
else_if = {
limit = {
any_owned_province = {
- NOT = { has_building = taxation_lvl_1 }
+ NOT = { has_building = temple }
}
}
random_owned_province = {
limit = {
- NOT = { has_building = taxation_lvl_1 }
+ NOT = { has_building = temple }
num_free_building_slots = 1
}
- add_building = taxation_lvl_1
+ add_building = temple
}
}
else = {
diff --git a/missions/01_Russian_missions.txt b/missions/01_Russian_missions.txt
index e8325f6..8885401 100644
--- a/missions/01_Russian_missions.txt
+++ b/missions/01_Russian_missions.txt
@@ -738,15 +738,15 @@ russia_siberian_missions_slot = {
1043 = {
num_free_building_slots = 1
NOT = {
- has_building = navymanpower_lvl_1
+ has_building = dock
}
NOT = {
- has_building = navymanpower_lvl_3
+ has_building = drydock
}
}
}
1043 = {
- add_building = navymanpower_lvl_1
+ add_building = dock
}
}
1043 = {
diff --git a/missions/Bohemian_Missions.txt b/missions/Bohemian_Missions.txt
index 90ef6db..32d8f7f 100644
--- a/missions/Bohemian_Missions.txt
+++ b/missions/Bohemian_Missions.txt
@@ -158,8 +158,8 @@ boh_development_group = {
trigger = {
capital_scope = {
- has_building = taxation_lvl_3
- has_building = government_lvl_5
+ has_building = cathedral
+ has_building = university
}
}
diff --git a/missions/Lithuanian Missions.txt b/missions/Lithuanian Missions.txt
index 19f8bed..f0d3524 100644
--- a/missions/Lithuanian Missions.txt
+++ b/missions/Lithuanian Missions.txt
@@ -16,8 +16,8 @@ lithuanian_missions_1 = {
NOT = {
OR = {
development = 10
- has_building = taxation_lvl_1
- has_building = taxation_lvl_3
+ has_building = temple
+ has_building = cathedral
}
}
}
@@ -28,8 +28,8 @@ lithuanian_missions_1 = {
region = ruthenia_region
OR = {
development = 10
- has_building = taxation_lvl_1
- has_building = taxation_lvl_3
+ has_building = temple
+ has_building = cathedral
}
value = 10
}
@@ -121,7 +121,7 @@ lithuanian_missions_1 = {
else = {
280 = {
OR = {
- has_building = taxation_lvl_3
+ has_building = cathedral
has_building = farm_estate
}
}
@@ -137,8 +137,8 @@ lithuanian_missions_1 = {
else = {
280 = {
OR = {
- has_building = trade_lvl_3
- has_building = trade_lvl_4
+ has_building = trade_depot
+ has_building = stock_exchange
}
}
}
@@ -175,7 +175,7 @@ lithuanian_missions_1 = {
province_id = 4545
NOT = {
OR = {
- has_building = production_lvl_1
+ has_building = workshop
has_building = production_lvl_3
}
}
@@ -184,7 +184,7 @@ lithuanian_missions_1 = {
4545 = {
has_building = textile
OR = {
- has_building = production_lvl_1
+ has_building = workshop
has_building = production_lvl_3
}
}
@@ -311,15 +311,15 @@ lithuanian_missions_2 = {
province_id = 262
NOT = {
country_or_non_sovereign_subject_holds = ROOT
- has_building = government_lvl_5
+ has_building = university
}
}
trigger = {
owns_core_province = 262
262 = {
- has_building = government_lvl_5
+ has_building = university
}
- government_lvl_5 = 5
+ university = 5
has_institution = printing_press
}
effect = {
diff --git a/missions/Mamluk_Missions.txt b/missions/Mamluk_Missions.txt
index bfb1d6c..186b4da 100644
--- a/missions/Mamluk_Missions.txt
+++ b/missions/Mamluk_Missions.txt
@@ -132,7 +132,7 @@ mam_north_missions = {
OR = {
trade_embargoing = VEN
358 = {
- has_building = trade_lvl_1
+ has_building = marketplace
}
}
}
diff --git a/missions/Polish_Missions.txt b/missions/Polish_Missions.txt
index 80e0a6b..26d0463 100644
--- a/missions/Polish_Missions.txt
+++ b/missions/Polish_Missions.txt
@@ -242,12 +242,12 @@ plc_missions_1 = {
NOT = {
owned_by = ROOT
OR = {
- has_building = navyforcelimit_lvl_1
- has_building = navyforcelimit_lvl_3
+ has_building = grand_shipyard
+ has_building = shipyard
}
OR = {
- has_building = navymanpower_lvl_1
- has_building = navymanpower_lvl_3
+ has_building = dock
+ has_building = shipyard
}
}
}
@@ -255,12 +255,12 @@ plc_missions_1 = {
43 = {
owned_by = ROOT
OR = {
- has_building = navyforcelimit_lvl_1
- has_building = navyforcelimit_lvl_3
+ has_building = grand_shipyard
+ has_building = shipyard
}
OR = {
- has_building = navymanpower_lvl_1
- has_building = navymanpower_lvl_3
+ has_building = dock
+ has_building = drydock
}
}
naval_forcelimit = 20
@@ -781,7 +781,7 @@ polish_missions_slot_4 = {
area = west_dniepr_area
area = east_dniepr_area
}
- has_building = taxation_lvl_3
+ has_building = cathedral
value = 5
}
}
@@ -886,7 +886,7 @@ polish_missions_slot_5 = {
NOT = { unrest = 1 }
NOT = { devastation = 1 }
OR = {
- has_building = production_lvl_1
+ has_building = workshop
has_building = production_lvl_3
}
if = {
@@ -897,8 +897,8 @@ polish_missions_slot_5 = {
}
else = {
OR = {
- has_building = trade_lvl_3
- has_building = trade_lvl_4
+ has_building = trade_depot
+ has_building = stock_exchange
}
}
}
@@ -966,7 +966,7 @@ polish_missions_slot_5 = {
}
else = {
OR = {
- has_building = taxation_lvl_3
+ has_building = cathedral
has_building = production_lvl_3
}
}
@@ -979,8 +979,8 @@ polish_missions_slot_5 = {
}
else = {
OR = {
- has_building = trade_lvl_3
- has_building = trade_lvl_4
+ has_building = trade_depot
+ has_building = stock_exchange
}
}
}
@@ -996,7 +996,7 @@ polish_missions_slot_5 = {
}
else = {
OR = {
- has_building = taxation_lvl_3
+ has_building = cathedral
has_building = production_lvl_3
}
}
@@ -1009,8 +1009,8 @@ polish_missions_slot_5 = {
}
else = {
OR = {
- has_building = trade_lvl_3
- has_building = trade_lvl_4
+ has_building = trade_depot
+ has_building = stock_exchange
}
}
}
@@ -1037,4 +1037,4 @@ polish_missions_slot_5 = {
}
}
}
-}
\ No newline at end of file
+}
diff --git a/missions/RB_Scottish_Missions.txt b/missions/RB_Scottish_Missions.txt
index 1a2da08..9818d61 100644
--- a/missions/RB_Scottish_Missions.txt
+++ b/missions/RB_Scottish_Missions.txt
@@ -505,7 +505,7 @@ sco_rb_colonial = {
is_strongest_trade_power = ROOT
}
num_of_owned_provinces_with = {
- has_building = trade_lvl_1
+ has_building = marketplace
value = 2
}
num_of_light_ship = 10
diff --git a/missions/Romanian_Missions.txt b/missions/Romanian_Missions.txt
index fb033c8..91a65eb 100644
--- a/missions/Romanian_Missions.txt
+++ b/missions/Romanian_Missions.txt
@@ -301,11 +301,11 @@ romanian_missions_5 = {
NOT = { devastation = 1 }
NOT = { unrest = 1 }
OR = {
- has_building = taxation_lvl_1
- has_building = taxation_lvl_3
+ has_building = temple
+ has_building = cathedral
}
OR = {
- has_building = production_lvl_1
+ has_building = workshop
has_building = production_lvl_3
}
}
diff --git a/missions/TR_Novgorodian_Missions.txt b/missions/TR_Novgorodian_Missions.txt
index 5575c4e..36a16db 100644
--- a/missions/TR_Novgorodian_Missions.txt
+++ b/missions/TR_Novgorodian_Missions.txt
@@ -326,8 +326,8 @@ tr_novgorod_3 = {
trigger = {
33 = {
owned_by = ROOT
- has_building = trade_lvl_1
- has_building = navyforcelimit_lvl_1
+ has_building = marketplace
+ has_building = shipyard
is_strongest_trade_power = ROOT
}
navy_size_percentage = 1
@@ -551,8 +551,8 @@ tr_novgorod_4 = {
owns = 313
313 = {
OR = {
- has_building = trade_lvl_1
- has_building = navyforcelimit_lvl_1
+ has_building = marketplace
+ has_building = shipyard
}
}
}
@@ -880,8 +880,8 @@ tr_novgorod_5 = {
owned_by = ROOT
has_state_patriach = yes
OR = {
- has_building = taxation_lvl_1
- has_building = taxation_lvl_3
+ has_building = temple
+ has_building = cathedral
}
}
OR = {
diff --git a/missions/TR_Russian_missions.txt b/missions/TR_Russian_missions.txt
index a8f29c9..9eb57cf 100644
--- a/missions/TR_Russian_missions.txt
+++ b/missions/TR_Russian_missions.txt
@@ -24,8 +24,8 @@ tr_russia_religious_missions = {
num_of_owned_provinces_with = {
value = 20
OR = {
- taxation_lvl_1 = 20
- taxation_lvl_3= 20
+ temple = 20
+ cathedral= 20
}
}
}
@@ -1674,15 +1674,15 @@ tr_siberia_missions = {
limit = {
1043 = {
NOT = {
- has_building = navymanpower_lvl_1
+ has_building = dock
}
NOT = {
- has_building = navymanpower_lvl_3
+ has_building = drydock
}
}
}
1043 = {
- add_building = navymanpower_lvl_1
+ add_building = dock
}
}
1043 = {
@@ -1744,4 +1744,4 @@ tr_siberia_missions = {
}
}
}
-}
\ No newline at end of file
+}
diff --git a/missions/Tatar_Missions.txt b/missions/Tatar_Missions.txt
index 1055d6f..3bebf73 100644
--- a/missions/Tatar_Missions.txt
+++ b/missions/Tatar_Missions.txt
@@ -301,9 +301,9 @@ tatar_missions_1 = {
region = khorasan_region
}
OR = {
- has_building = trade_lvl_1
- has_building = trade_lvl_3
- has_building = trade_lvl_4
+ has_building = marketplace
+ has_building = trade_depot
+ has_building = stock_exchange
}
value = 8
}
diff --git a/common/buildings/Idea Variation Buildings.txt b/common/buildings/Idea Variation Buildings.txt
index 2f6017b..d75b305 100644
--- a/common/buildings/Idea Variation Buildings.txt
+++ b/common/buildings/Idea Variation Buildings.txt
@@ -1140,7 +1140,7 @@ counting_house = {
# Taxation / Steuern
################################################
#taxation_lvl_1 = {
- temple = {
+temple = {
cost = 100
time = 12
@@ -1235,8 +1235,8 @@ taxation_lvl_2 = {
}
}
-cathedral = {
#taxation_lvl_3 = {
+cathedral = {
cost = 400
time = 12
diff --git a/common/state_edicts/advancement_effort.txt b/common/state_edicts/advancement_effort.txt
index d825d41..361c05f 100644
--- a/common/state_edicts/advancement_effort.txt
+++ b/common/state_edicts/advancement_effort.txt
@@ -6,7 +6,7 @@ edict_advancement_effort = {
any_province_in_state = {
OR = {
- has_building = government_lvl_2
+ has_building = town_hall
has_building = government_lvl_3
has_building = government_lvl_4
}
@@ -199,4 +199,4 @@ edict_advancement_effort_4 = {
}
}
}
-}
\ No newline at end of file
+}
diff --git a/common/state_edicts/centralisation_edict.txt b/common/state_edicts/centralisation_edict.txt
index ed4f8cc..ee5d122 100644
--- a/common/state_edicts/centralisation_edict.txt
+++ b/common/state_edicts/centralisation_edict.txt
@@ -6,7 +6,7 @@ edict_centralization_effort = {
any_province_in_state = {
OR = {
- has_building = government_lvl_2
+ has_building = town_hall
has_building = government_lvl_3
has_building = government_lvl_4
}
@@ -199,4 +199,4 @@ edict_centralization_effort_4 = {
}
}
}
-}
\ No newline at end of file
+}
diff --git a/common/state_edicts/defensive_edict.txt b/common/state_edicts/defensive_edict.txt
index b4c08da..a20cb1a 100644
--- a/common/state_edicts/defensive_edict.txt
+++ b/common/state_edicts/defensive_edict.txt
@@ -6,7 +6,7 @@ edict_defensive_edict = {
any_province_in_state = {
OR = {
- has_building = government_lvl_2
+ has_building = town_hall
has_building = government_lvl_3
has_building = government_lvl_4
}
@@ -139,4 +139,4 @@ edict_defensive_edict_4 = {
ai_will_do = {
factor = 0
}
-}
\ No newline at end of file
+}
diff --git a/common/state_edicts/encourage_development.txt b/common/state_edicts/encourage_development.txt
index 40ee732..5003511 100644
--- a/common/state_edicts/encourage_development.txt
+++ b/common/state_edicts/encourage_development.txt
@@ -6,7 +6,7 @@ edict_encourage_development = {
any_province_in_state = {
OR = {
- has_building = government_lvl_2
+ has_building = town_hall
has_building = government_lvl_3
has_building = government_lvl_4
}
@@ -143,4 +143,4 @@ edict_encourage_development_4 = {
factor = 0
}
-}
\ No newline at end of file
+}
diff --git a/common/state_edicts/promote_military_recruitment.txt b/common/state_edicts/promote_military_recruitment.txt
index 2cf3afe..7c3c032 100644
--- a/common/state_edicts/promote_military_recruitment.txt
+++ b/common/state_edicts/promote_military_recruitment.txt
@@ -6,7 +6,7 @@ edict_promote_military_recruitment = {
any_province_in_state = {
OR = {
- has_building = government_lvl_2
+ has_building = town_hall
has_building = government_lvl_3
has_building = government_lvl_4
}
@@ -199,4 +199,4 @@ edict_promote_military_recruitment_4 = {
}
}
}
-}
\ No newline at end of file
+}
diff --git a/common/state_edicts/protect_trade.txt b/common/state_edicts/protect_trade.txt
index 30e2ffd..cab3b0d 100644
--- a/common/state_edicts/protect_trade.txt
+++ b/common/state_edicts/protect_trade.txt
@@ -6,7 +6,7 @@ edict_protect_trade = {
any_province_in_state = {
OR = {
- has_building = government_lvl_2
+ has_building = town_hall
has_building = government_lvl_3
has_building = government_lvl_4
}
@@ -211,4 +211,4 @@ edict_protect_trade_4 = {
}
}
}
-}
\ No newline at end of file
+}
diff --git a/common/state_edicts/religious_unity.txt b/common/state_edicts/religious_unity.txt
index 9992a41..5e8eee3 100644
--- a/common/state_edicts/religious_unity.txt
+++ b/common/state_edicts/religious_unity.txt
@@ -6,7 +6,7 @@ edict_religious_unity = {
any_province_in_state = {
OR = {
- has_building = government_lvl_2
+ has_building = town_hall
has_building = government_lvl_3
has_building = government_lvl_4
}
@@ -183,4 +183,4 @@ edict_religious_unity_4 = {
}
}
}
-}
\ No newline at end of file
+}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment