This commit is contained in:
ProjectKoi-Kalo\Kalo 2024-09-23 15:47:39 +08:00
parent fba832ca77
commit 47506cc3ce
5 changed files with 39 additions and 42 deletions

View File

@ -19,30 +19,3 @@ gray_army = {
always = no
}
}
# Gray Nanite Army
rg_gray_army_base = {
damage = 10
health = 18
has_morale = no
morale_damage = 6
collateral_damage = 5
war_exhaustion = 4
prerequisites = {
"tech_gray_army_7"
}
time = 180
resources = {
category = armies
cost = {
alloys = 800
}
produces = {
energy = 1
}
}
has_species = no
icon = GFX_army_type_machine_assault
potential_country = {
}
}

View File

@ -0,0 +1,26 @@
# Gray Nanite Army
rg_gray_army_base = {
damage = 10
health = 18
has_morale = no
morale_damage = 6
collateral_damage = 5
war_exhaustion = 4
prerequisites = {
"tech_gray_army_7"
}
time = 180
resources = {
category = armies
cost = {
alloys = 800
}
produces = {
energy = 1
}
}
has_species = no
icon = GFX_army_type_machine_assault
potential_country = {
}
}

View File

@ -598,10 +598,7 @@ rg_juggernaut_habitat_init = {
if = {
limit = {
event_target:gray_owner = {
OR = {
has_country_flag = gray_official_active
has_country_flag = gray_governor_active #旧版flag
}
RG_gray_official_active_trigger = yes
}
}
assign_leader = event_target:gray_governor

View File

@ -11,6 +11,7 @@ RG_gray_mod1_trigger = {
}
}
}
RG_gray_mod1_allow_trigger = {
hidden_trigger = {
event_target:gray_warship = {
@ -46,6 +47,7 @@ RG_gray_mod1_allow_trigger = {
value >= 15000
}
}
RG_gray_mod2_trigger = {
AND = {
event_target:gray_leader_admiral = {
@ -61,6 +63,7 @@ RG_gray_mod2_trigger = {
}
}
}
RG_gray_mod2_allow_trigger = {
hidden_trigger = {
# To prevent exploit
@ -103,6 +106,7 @@ RG_gray_mod2_allow_trigger = {
value >= 150000
}
}
RG_gray_mod3_trigger = {
NOR = {
RG_gray_is_reforming_trigger = yes
@ -110,6 +114,7 @@ RG_gray_mod3_trigger = {
}
has_country_flag = rg_gray_level_3
}
RG_gray_mod3_allow_trigger = {
resource_stockpile_compare = {
resource = energy
@ -124,15 +129,18 @@ RG_gray_mod3_allow_trigger = {
has_technology = tech_juggernaut
}
}
RG_gray_official_active_trigger = {
OR = {
has_country_flag = gray_official_active
has_country_flag = gray_governor_active #旧版flag
has_country_flag = gray_governor_active #旧版flag
}
}
RG_gray_warship_active_trigger = {
has_country_flag = gray_warship_active
}
RG_gray_army_active_trigger = {
has_country_flag = gray_army_active
}
@ -144,15 +152,15 @@ RG_gray_scientist_active_trigger = {
RG_gray_harbitat_active_trigger = {
has_country_flag = rg_habitat_enabled
}
RG_gray_not_avaliable_trigger = {
OR = {
RG_gray_is_reforming_trigger = yes
has_country_flag = gray_diplomacy_engaged
}
}
#小灰噶了
RG_gray_is_reforming_trigger = {
has_country_flag = gray_reforming
}

View File

@ -24,13 +24,6 @@ RG_planet_can_auto_build = {
}
}
RG_NOR_has_wsg_mod_trigger = {
NOR = {
has_global_flag = has_wsg_mod
has_global_flag = kdc_event_mod_active
}
}
RG_OR_has_wsg_mod_trigger = {
OR = {
has_global_flag = has_wsg_mod