Compare commits
6 commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 22c377b71d | |||
| 09a20252ac | |||
| 3f75cf6006 | |||
| 2af5330b44 | |||
| 02f089e1bf | |||
| 8715595ea8 |
7 changed files with 180 additions and 71 deletions
|
|
@ -1,55 +0,0 @@
|
|||
|
||||
e_europa = {
|
||||
item = {
|
||||
trigger = {
|
||||
holder = {
|
||||
faith = faith:carolingian
|
||||
}
|
||||
}
|
||||
coat_of_arms = e_lotharingia
|
||||
}
|
||||
}
|
||||
|
||||
e_france = {
|
||||
item = {
|
||||
trigger = {
|
||||
holder = {
|
||||
faith = faith:carolingian
|
||||
}
|
||||
}
|
||||
coat_of_arms = e_west_francia
|
||||
}
|
||||
}
|
||||
|
||||
e_germany = {
|
||||
item = {
|
||||
trigger = {
|
||||
holder = {
|
||||
faith = faith:carolingian
|
||||
}
|
||||
}
|
||||
coat_of_arms = e_east_francia
|
||||
}
|
||||
}
|
||||
|
||||
k_france = {
|
||||
item = {
|
||||
trigger = {
|
||||
holder = {
|
||||
faith = faith:carolingian
|
||||
}
|
||||
}
|
||||
coat_of_arms = k_neustria
|
||||
}
|
||||
}
|
||||
|
||||
k_belgium = {
|
||||
item = {
|
||||
trigger = {
|
||||
holder = {
|
||||
faith = faith:carolingian
|
||||
}
|
||||
}
|
||||
coat_of_arms = k_austrasia
|
||||
}
|
||||
}
|
||||
|
|
@ -40,7 +40,7 @@ corsican = { #Corsu
|
|||
|
||||
ethos = ethos_communal
|
||||
heritage = heritage_italian
|
||||
language = NEOW_tusco_corsican
|
||||
language = NEOW_language_tusco_corsican
|
||||
martial_custom = martial_custom_male_only
|
||||
head_determination = head_determination_domain
|
||||
|
||||
|
|
|
|||
|
|
@ -633,6 +633,7 @@ NEOW_language_south_helvetic = {
|
|||
parameters = {
|
||||
rhaeto_romance_group_language_param = yes
|
||||
french_group_language_param = yes
|
||||
high_german_group_language_param = yes
|
||||
}
|
||||
ai_will_do = {
|
||||
value = 10
|
||||
|
|
@ -652,6 +653,7 @@ NEOW_language_romansch = {
|
|||
}
|
||||
}
|
||||
parameters = {
|
||||
high_german_group_language_param = yes
|
||||
rhaeto_romance_group_language_param = yes
|
||||
gallo_italian_group_language_param = yes
|
||||
}
|
||||
|
|
@ -720,6 +722,7 @@ NEOW_language_new_hebrew = {
|
|||
}
|
||||
parameters = {
|
||||
hewbrew_group_language_param = yes
|
||||
arabic_group_language_param = yes
|
||||
}
|
||||
ai_will_do = {
|
||||
value = 10
|
||||
|
|
@ -1257,6 +1260,7 @@ NEOW_language_andalusian = {
|
|||
}
|
||||
}
|
||||
parameters = {
|
||||
arabic_group_language_param = yes
|
||||
middle_hispanic_group_language_param = yes
|
||||
}
|
||||
ai_will_do = {
|
||||
|
|
@ -1279,6 +1283,7 @@ NEOW_language_llanito = {
|
|||
parameters = {
|
||||
middle_hispanic_group_language_param = yes
|
||||
anglic_group_language_param = yes
|
||||
arabic_group_language_param = yes
|
||||
}
|
||||
ai_will_do = {
|
||||
value = 10
|
||||
|
|
|
|||
|
|
@ -738,6 +738,8 @@ peasantrepublic_government = {
|
|||
|
||||
# Use flags instead of has_government for moddability if possible (i.e., wherever not visible to the player).
|
||||
flags = {
|
||||
government_can_raid_rule
|
||||
government_enables_naval_raiding
|
||||
government_is_settled
|
||||
may_elevate_co_monarch
|
||||
government_uses_domain_limit
|
||||
|
|
@ -823,6 +825,8 @@ urbanrepublic_government = {
|
|||
|
||||
# Use flags instead of has_government for moddability if possible (i.e., wherever not visible to the player).
|
||||
flags = {
|
||||
government_can_raid_rule
|
||||
government_enables_naval_raiding
|
||||
government_has_influence
|
||||
government_is_settled
|
||||
government_has_treasury
|
||||
|
|
|
|||
139
common/scripted_triggers/00_scripted_rule_triggers.txt
Normal file
139
common/scripted_triggers/00_scripted_rule_triggers.txt
Normal file
|
|
@ -0,0 +1,139 @@
|
|||
#Controls the can_raid rule.
|
||||
can_raid_trigger = {
|
||||
OR = {
|
||||
# Government logic.
|
||||
government_has_flag = government_can_raid_rule
|
||||
## Admin - Frontier themes
|
||||
vassal_contract_has_flag = admin_theme_can_raid
|
||||
## Clan - Ghazi
|
||||
vassal_contract_has_flag = vassal_contract_allow_raiding
|
||||
# Faith Logic.
|
||||
faith = { has_doctrine_parameter = faith_can_raid }
|
||||
# Dynasty logic.
|
||||
dynasty ?= {
|
||||
OR = {
|
||||
can_raid_dynasty_modifiers_that_enable_raiding_overseas_list_trigger = yes
|
||||
can_raid_dynasty_modifiers_that_enable_raiding_overland_list_trigger = yes
|
||||
}
|
||||
}
|
||||
# House logic.
|
||||
house ?= {
|
||||
OR = {
|
||||
can_raid_house_modifiers_that_enable_raiding_overseas_list_trigger = yes
|
||||
can_raid_house_modifiers_that_enable_raiding_overland_list_trigger = yes
|
||||
}
|
||||
}
|
||||
# Cultural logic.
|
||||
## With restrictions.
|
||||
AND = {
|
||||
can_raid_cultural_parameter_requirements_for_non_tribals_trigger = yes
|
||||
culture = {
|
||||
OR = {
|
||||
has_cultural_parameter = culture_can_raid_at_sea_even_if_feudal
|
||||
has_cultural_parameter = culture_can_raid_over_land_even_if_feudal
|
||||
}
|
||||
}
|
||||
}
|
||||
## Without restrictions.
|
||||
culture = {
|
||||
OR = {
|
||||
has_cultural_parameter = culture_can_raid_at_sea_even_if_feudal_no_restrictions
|
||||
has_cultural_parameter = culture_can_raid_over_land_even_if_feudal_no_restrictions
|
||||
}
|
||||
}
|
||||
# Trait logics.
|
||||
## With restrictions.
|
||||
AND = {
|
||||
can_raid_trait_flag_standard_requirements_trigger = yes
|
||||
has_trait_with_flag = trait_enable_raiding_per_standard_restrictions
|
||||
}
|
||||
## Without restrictions.
|
||||
has_trait_with_flag = trait_enable_raiding_without_restrictions
|
||||
}
|
||||
# Some faiths prohibit this.
|
||||
OR = {
|
||||
NOR = {
|
||||
faith = { has_doctrine_parameter = holy_wars_forbidden }
|
||||
government_has_flag = government_is_landless_adventurer
|
||||
}
|
||||
# But not for Nomads or Wanua
|
||||
government_has_flag = government_is_nomadic
|
||||
government_has_flag = government_is_wanua
|
||||
government_has_flag = government_is_urepublic
|
||||
government_has_flag = government_is_prepublic
|
||||
}
|
||||
is_landed = yes
|
||||
}
|
||||
|
||||
# Here so that you can plug in whatever dynasty modifiers you want without overwriting the whole scripted rule trigger.
|
||||
can_raid_dynasty_modifiers_that_enable_raiding_overseas_list_trigger = {
|
||||
# Yes, I realise the OR is redundant till someone else puts something in here. Shoosh.
|
||||
has_dynasty_modifier = fp1_legacy_of_piracy_modifier
|
||||
|
||||
}
|
||||
can_raid_dynasty_modifiers_that_enable_raiding_overland_list_trigger = {
|
||||
OR = {
|
||||
# Yes, I realise the OR is redundant till someone else puts something in here. Shoosh.
|
||||
# Always = no because we have no vanilla use-case atm — the assumption is that modders'll overwrite it.
|
||||
always = no
|
||||
}
|
||||
}
|
||||
|
||||
# Here so that you can plug in whatever house modifiers you want without overwriting the whole scripted rule trigger.
|
||||
can_raid_house_modifiers_that_enable_raiding_overseas_list_trigger = {
|
||||
OR = {
|
||||
# Yes, I realise the OR is redundant till someone else puts something in here. Shoosh.
|
||||
# Always = no because we have no vanilla use-case atm — the assumption is that modders'll overwrite it.
|
||||
always = no
|
||||
}
|
||||
}
|
||||
can_raid_house_modifiers_that_enable_raiding_overland_list_trigger = {
|
||||
OR = {
|
||||
# Yes, I realise the OR is redundant till someone else puts something in here. Shoosh.
|
||||
# Always = no because we have no vanilla use-case atm — the assumption is that modders'll overwrite it.
|
||||
always = no
|
||||
}
|
||||
}
|
||||
|
||||
# Here so that you can tweak the rules on how non-tribals raid via CulTrad without overriding the whole scripted rule trigger.
|
||||
can_raid_cultural_parameter_requirements_for_non_tribals_trigger = {
|
||||
OR = {
|
||||
highest_held_title_tier <= tier_duchy
|
||||
realm_size <= minor_realm_size
|
||||
}
|
||||
}
|
||||
|
||||
# Here so that you can tweak the rules on which innovations allow raiding without overriding the whole scripted rule trigger.
|
||||
can_ran_raid_overseas_cultural_innovations_trigger = {
|
||||
OR = {
|
||||
has_innovation = innovation_longboats
|
||||
has_innovation = innovation_african_canoes
|
||||
}
|
||||
}
|
||||
|
||||
# Here so that you can tweak the rules on characters with a trait that lets them raid under certain circumstances raid without overriding the whole scripted rule trigger.
|
||||
can_raid_trait_flag_standard_requirements_trigger = {
|
||||
# We don't use this in vanilla, so we don't have any actual requirements atm.
|
||||
always = yes
|
||||
}
|
||||
|
||||
can_raid_across_water_trigger = {
|
||||
OR = {
|
||||
# Culture logic.
|
||||
culture = {
|
||||
OR = {
|
||||
can_ran_raid_overseas_cultural_innovations_trigger = yes
|
||||
has_cultural_parameter = culture_can_raid_at_sea_even_if_feudal
|
||||
has_cultural_parameter = culture_can_raid_at_sea_even_if_feudal_no_restrictions
|
||||
}
|
||||
}
|
||||
# Dynasty logic.
|
||||
dynasty ?= { can_raid_dynasty_modifiers_that_enable_raiding_overseas_list_trigger = yes }
|
||||
# House logic.
|
||||
house ?= { can_raid_house_modifiers_that_enable_raiding_overseas_list_trigger = yes }
|
||||
# Can raid overseas by government rules
|
||||
government_has_flag = government_enables_naval_raiding
|
||||
#Is Hereward.
|
||||
has_trait = the_wake
|
||||
}
|
||||
}
|
||||
16
common/scripted_triggers/00_tutorial_triggers.txt
Normal file
16
common/scripted_triggers/00_tutorial_triggers.txt
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
should_show_tutorial_alert = {
|
||||
OR= {
|
||||
can_start_tutorial_lesson = $LESSON$
|
||||
is_tutorial_lesson_active = $LESSON$
|
||||
}
|
||||
}
|
||||
|
||||
valid_raid_target_trigger = {
|
||||
NOR = {
|
||||
has_raid_immunity_against = root
|
||||
is_allied_to = root
|
||||
has_truce = root
|
||||
target_is_vassal_or_below = root
|
||||
top_liege = root.top_liege
|
||||
}
|
||||
}
|
||||
|
|
@ -17,6 +17,7 @@
|
|||
language_maltese_name:0 "Maltese"
|
||||
language_rhaetoromance_name:0 "Rhaetic"
|
||||
language_sorbian_name:0 "Sorbian"
|
||||
|
||||
NEOW_language_irish_name:0 "Irish"
|
||||
NEOW_language_manx_name:0 "Manx"
|
||||
NEOW_language_scottish_name:0 "Scottish"
|
||||
|
|
@ -33,7 +34,7 @@
|
|||
NEOW_language_asturleonese_name:0 "Asturleonese"
|
||||
NEOW_language_balearic_name:0 "Balearic"
|
||||
NEOW_language_basque_name:0 "Basque"
|
||||
NEOW_language_castillian_name:0 "Castillian"
|
||||
NEOW_language_castillian_name:0 "Castilian"
|
||||
NEOW_language_valencian_name:0 "Valencian"
|
||||
NEOW_language_portuguese_name:0 "Portuguese"
|
||||
NEOW_language_canarian_name:0 "Canarian"
|
||||
|
|
@ -46,13 +47,13 @@
|
|||
NEOW_language_norner_name:0 "Nornish"
|
||||
NEOW_language_norflander_name:0 "Norflandish"
|
||||
NEOW_language_easlander_name:0 "Easlandish"
|
||||
NEOW_language_arbereshe_name:0 "Arbereshian"
|
||||
NEOW_language_arbereshe_name:0 "Arbëresh"
|
||||
NEOW_language_albanian_name:0 "Albanian"
|
||||
NEOW_language_german_turk_name:0 "Turko-German"
|
||||
NEOW_language_swabian_name:0 "Swabian"
|
||||
NEOW_language_saxon_name:0 "Saxon"
|
||||
NEOW_language_rottish_name:0 "Rhonish"
|
||||
NEOW_language_rhinelandic_name:0 "Rhinelandic"
|
||||
NEOW_language_rottish_name:0 "Rhodanic"
|
||||
NEOW_language_rhinelandic_name:0 "Rhenish"
|
||||
NEOW_language_palatine_name:0 "Palatine"
|
||||
NEOW_language_pomeranian_name:0 "Pomeranian"
|
||||
NEOW_language_westphalian_name:0 "Westphalian"
|
||||
|
|
@ -72,15 +73,15 @@
|
|||
NEOW_language_friulian_name:0 "Friulian"
|
||||
NEOW_language_ligurian_name:0 "Ligurian"
|
||||
NEOW_language_venetian_name:0 "Venetian"
|
||||
NEOW_language_tusco_corsican_name:0 "Tusco-corsican"
|
||||
NEOW_language_tusco_corsican_name:0 "Corso-Tuscan"
|
||||
NEOW_language_sicilian_name:0 "Sicilian"
|
||||
NEOW_language_emilo_romagnol_name:0 "Emilo-Romagnol"
|
||||
NEOW_language_emilo_romagnol_name:0 "Emilian–Romagnol"
|
||||
NEOW_language_neapolitan_name:0 "Neapolitan"
|
||||
NEOW_language_lombard_piedmontese_name:0 "Lombard-piedmontese"
|
||||
NEOW_language_lombard_piedmontese_name:0 "Lombard-Piedmontese"
|
||||
NEOW_language_north_mosellic_name:0 "North Mosellic"
|
||||
NEOW_language_south_mosellic_name:0 "South Mosellic"
|
||||
NEOW_language_swedish_name:0 "Swedish"
|
||||
NEOW_language_norweigian_name:0 "Norweigian"
|
||||
NEOW_language_norweigian_name:0 "Norwegian"
|
||||
NEOW_language_danish_name:0 "Danish"
|
||||
NEOW_language_jaamtlandic_name:0 "Jaamtlandic"
|
||||
NEOW_language_icelandic_name:0 "Icelandic"
|
||||
|
|
@ -91,15 +92,15 @@
|
|||
NEOW_language_dutch_name:0 "Dutch"
|
||||
NEOW_language_frisian_name:0 "Frisian"
|
||||
NEOW_language_limburgish_name:0 "Limburgish"
|
||||
NEOW_language_west_south_slavic_name:0 "Middle South Slavic"
|
||||
NEOW_language_east_south_slavic_name:0 "East South Slavic"
|
||||
NEOW_language_west_south_slavic_name:0 "Serbocroatian"
|
||||
NEOW_language_east_south_slavic_name:0 "Bulgarian"
|
||||
NEOW_language_sorbian_name:0 "Sorbian"
|
||||
NEOW_language_czech_name:0 "Czech"
|
||||
NEOW_language_polish_name:0 "Polish"
|
||||
NEOW_language_slovene_name:0 "West South Slavic"
|
||||
NEOW_language_slovene_name:0 "Slovenian"
|
||||
NEOW_language_north_helvetic_name:0 "North Helvetic"
|
||||
NEOW_language_south_helvetic_name:0 "South Helvetic"
|
||||
NEOW_language_romansch_name:0 "Romansch"
|
||||
NEOW_language_romansch_name:0 "Romansh"
|
||||
|
||||
#########################################
|
||||
# Grouping Stuff
|
||||
|
|
@ -109,7 +110,7 @@
|
|||
ACCEPTANCE_BASELINE_LANGUAGE_BRYTHONIC:0 "[languages|E] are both of #V Brythonic Origin#!"
|
||||
ACCEPTANCE_BASELINE_LANGUAGE_FRENCH:0 "[languages|E] are both of #V French Origin#!"
|
||||
ACCEPTANCE_BASELINE_LANGUAGE_MIDDLE_GERMAN:0 "[languages|E] are both of #V Middle German Origin#!"
|
||||
ACCEPTANCE_BASELINE_LANGUAGE_LAUSATIAN:0 "[languages|E] are both of #V Lusatian Origin#!"
|
||||
ACCEPTANCE_BASELINE_LANGUAGE_LAUSATIAN:0 "[languages|E] are both of #V Lusitanian Origin#!"
|
||||
ACCEPTANCE_BASELINE_LANGUAGE_WEST_HISPANIC:0 "[languages|E] are both of #V West Hispanic Origin#!"
|
||||
ACCEPTANCE_BASELINE_LANGUAGE_VASCONIC:0 "[languages|E] are both of #V Vasconic Origin#!"
|
||||
ACCEPTANCE_BASELINE_LANGUAGE_MIDDLE_HISPANIC:0 "[languages|E] are both of #V Middle Hispanic Origin#!"
|
||||
|
|
@ -138,7 +139,7 @@
|
|||
culture_parameter_french_group_language_param: "This [language|E] is of #V French Origin#!"
|
||||
culture_parameter_middle_german_group_language_param: "This [language|E] is of #V Middle German Origin#!"
|
||||
culture_parameter_east_hispanic_group_language_param: "This [language|E] is of #V East Hispanic Origin#!"
|
||||
culture_parameter_lausatian_group_language_param: "This [language|E] is of #V Lusatian Origin#!"
|
||||
culture_parameter_lausatian_group_language_param: "This [language|E] is of #V Lusitanian Origin#!"
|
||||
culture_parameter_west_hispanic_group_language_param: "This [language|E] is of #V West Hispanic Origin#!"
|
||||
culture_parameter_basque_group_language_param: "This [language|E] is of #V Basque Origin#!"
|
||||
culture_parameter_middle_hispanic_group_language_param: "This [language|E] is of #V Middle Hispanic Origin#!"
|
||||
|
|
@ -163,4 +164,3 @@
|
|||
|
||||
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue