空间站核心
This commit is contained in:
@@ -31,8 +31,9 @@ country_event = {
|
||||
save_global_event_target_as = origin_rg_gray_country
|
||||
rg_lcluster_spawn_effect = yes
|
||||
country_event = {
|
||||
id = rg_cluster
|
||||
years = 10
|
||||
id = rg_event.18
|
||||
days = 3600
|
||||
random = 12800
|
||||
}
|
||||
}
|
||||
else = {
|
||||
@@ -919,6 +920,9 @@ country_event = {
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
name = OK
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -309,6 +309,54 @@ country_event = {
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# 空间站
|
||||
name = RG_graygoo.500.f
|
||||
response_text = RG_graygoo.502.f.response
|
||||
trigger = {
|
||||
has_country_flag = rg_juggernaut_fired
|
||||
NOT = {
|
||||
has_country_flag = rg_habitat_enabled
|
||||
}
|
||||
}
|
||||
allow = {
|
||||
has_country_flag = rg_juggernaut_fired # To prevent exploit
|
||||
}
|
||||
custom_tooltip = rg_need_manual_toggle
|
||||
hidden_effect = {
|
||||
if = {
|
||||
limit = {
|
||||
has_country_flag = rg_habitat_enabled
|
||||
}
|
||||
rg_clear_harbitat = yes
|
||||
}
|
||||
else = {
|
||||
rg_juggernaut_habitat_init = yes
|
||||
}
|
||||
country_event = {
|
||||
id = rg_grayleader_dialog.5026
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# 空间站
|
||||
name = RG_graygoo.500.g
|
||||
response_text = RG_graygoo.502.g.response
|
||||
trigger = {
|
||||
has_country_flag = rg_juggernaut_fired
|
||||
has_country_flag = rg_habitat_enabled
|
||||
}
|
||||
allow = {
|
||||
has_country_flag = rg_juggernaut_fired # To prevent exploit
|
||||
}
|
||||
custom_tooltip = rg_need_manual_toggle
|
||||
hidden_effect = {
|
||||
rg_clear_harbitat = yes
|
||||
country_event = {
|
||||
id = rg_grayleader_dialog.5027
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# help
|
||||
name = rg_help
|
||||
@@ -437,50 +485,6 @@ country_event = {
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# Juggernaut
|
||||
name = RG_graygoo.500.f
|
||||
response_text = RG_graygoo.502.f.response
|
||||
trigger = {
|
||||
has_country_flag = rg_juggernaut_fired
|
||||
NOT = {
|
||||
has_country_flag = rg_habitat_enabled
|
||||
}
|
||||
}
|
||||
allow = {
|
||||
hidden_trigger = {
|
||||
exists = event_target:gray_governor
|
||||
} # To prevent exploit
|
||||
}
|
||||
custom_tooltip = rg_need_manual_toggle
|
||||
hidden_effect = {
|
||||
set_country_flag = rg_habitat_enabled
|
||||
country_event = {
|
||||
id = rg_grayleader_dialog.5026
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# Warship
|
||||
name = RG_graygoo.500.g
|
||||
response_text = RG_graygoo.502.g.response
|
||||
trigger = {
|
||||
has_country_flag = rg_juggernaut_fired
|
||||
has_country_flag = rg_habitat_enabled
|
||||
}
|
||||
allow = {
|
||||
hidden_trigger = {
|
||||
exists = event_target:gray_governor
|
||||
} # To prevent exploit
|
||||
}
|
||||
custom_tooltip = rg_need_manual_toggle
|
||||
hidden_effect = {
|
||||
remove_country_flag = rg_habitat_enabled
|
||||
country_event = {
|
||||
id = rg_grayleader_dialog.5027
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# const
|
||||
name = rg_const
|
||||
@@ -497,6 +501,46 @@ country_event = {
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# 空间站
|
||||
name = RG_graygoo.500.f
|
||||
response_text = RG_graygoo.502.f.response
|
||||
trigger = {
|
||||
has_country_flag = rg_juggernaut_fired
|
||||
NOT = {
|
||||
has_country_flag = rg_habitat_enabled
|
||||
}
|
||||
}
|
||||
allow = {
|
||||
has_country_flag = rg_juggernaut_fired # To prevent exploit
|
||||
}
|
||||
custom_tooltip = rg_need_manual_toggle
|
||||
hidden_effect = {
|
||||
rg_juggernaut_habitat_init = yes
|
||||
country_event = {
|
||||
id = rg_grayleader_dialog.5026
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# 空间站
|
||||
name = RG_graygoo.500.g
|
||||
response_text = RG_graygoo.502.g.response
|
||||
trigger = {
|
||||
has_country_flag = rg_juggernaut_fired
|
||||
has_country_flag = rg_habitat_enabled
|
||||
}
|
||||
allow = {
|
||||
has_country_flag = rg_juggernaut_fired # To prevent exploit
|
||||
}
|
||||
custom_tooltip = rg_need_manual_toggle
|
||||
hidden_effect = {
|
||||
rg_clear_harbitat = yes
|
||||
country_event = {
|
||||
id = rg_grayleader_dialog.5027
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# help
|
||||
name = rg_help
|
||||
@@ -751,6 +795,54 @@ country_event = {
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# 空间站
|
||||
name = RG_graygoo.500.f
|
||||
response_text = RG_graygoo.502.f.response
|
||||
trigger = {
|
||||
has_country_flag = rg_juggernaut_fired
|
||||
NOT = {
|
||||
has_country_flag = rg_habitat_enabled
|
||||
}
|
||||
}
|
||||
allow = {
|
||||
has_country_flag = rg_juggernaut_fired # To prevent exploit
|
||||
}
|
||||
custom_tooltip = rg_need_manual_toggle
|
||||
hidden_effect = {
|
||||
if = {
|
||||
limit = {
|
||||
has_country_flag = rg_habitat_enabled
|
||||
}
|
||||
rg_clear_harbitat = yes
|
||||
}
|
||||
else = {
|
||||
rg_juggernaut_habitat_init = yes
|
||||
}
|
||||
country_event = {
|
||||
id = rg_grayleader_dialog.5026
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# 空间站
|
||||
name = RG_graygoo.500.g
|
||||
response_text = RG_graygoo.502.g.response
|
||||
trigger = {
|
||||
has_country_flag = rg_juggernaut_fired
|
||||
has_country_flag = rg_habitat_enabled
|
||||
}
|
||||
allow = {
|
||||
has_country_flag = rg_juggernaut_fired # To prevent exploit
|
||||
}
|
||||
custom_tooltip = rg_need_manual_toggle
|
||||
hidden_effect = {
|
||||
rg_clear_harbitat = yes
|
||||
country_event = {
|
||||
id = rg_grayleader_dialog.5027
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
#升级-2
|
||||
name = rg_levelup_2
|
||||
@@ -1114,6 +1206,54 @@ country_event = {
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# 空间站
|
||||
name = RG_graygoo.500.f
|
||||
response_text = RG_graygoo.502.f.response
|
||||
trigger = {
|
||||
has_country_flag = rg_juggernaut_fired
|
||||
NOT = {
|
||||
has_country_flag = rg_habitat_enabled
|
||||
}
|
||||
}
|
||||
allow = {
|
||||
has_country_flag = rg_juggernaut_fired # To prevent exploit
|
||||
}
|
||||
custom_tooltip = rg_need_manual_toggle
|
||||
hidden_effect = {
|
||||
if = {
|
||||
limit = {
|
||||
has_country_flag = rg_habitat_enabled
|
||||
}
|
||||
rg_clear_harbitat = yes
|
||||
}
|
||||
else = {
|
||||
rg_juggernaut_habitat_init = yes
|
||||
}
|
||||
country_event = {
|
||||
id = rg_grayleader_dialog.5026
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# 空间站
|
||||
name = RG_graygoo.500.g
|
||||
response_text = RG_graygoo.502.g.response
|
||||
trigger = {
|
||||
has_country_flag = rg_juggernaut_fired
|
||||
has_country_flag = rg_habitat_enabled
|
||||
}
|
||||
allow = {
|
||||
has_country_flag = rg_juggernaut_fired # To prevent exploit
|
||||
}
|
||||
custom_tooltip = rg_need_manual_toggle
|
||||
hidden_effect = {
|
||||
rg_clear_harbitat = yes
|
||||
country_event = {
|
||||
id = rg_grayleader_dialog.5027
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# 开启隐形
|
||||
name = rg_event.4.e
|
||||
@@ -1379,6 +1519,54 @@ country_event = {
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# 空间站
|
||||
name = RG_graygoo.500.f
|
||||
response_text = RG_graygoo.502.f.response
|
||||
trigger = {
|
||||
has_country_flag = rg_juggernaut_fired
|
||||
NOT = {
|
||||
has_country_flag = rg_habitat_enabled
|
||||
}
|
||||
}
|
||||
allow = {
|
||||
has_country_flag = rg_juggernaut_fired # To prevent exploit
|
||||
}
|
||||
custom_tooltip = rg_need_manual_toggle
|
||||
hidden_effect = {
|
||||
if = {
|
||||
limit = {
|
||||
has_country_flag = rg_habitat_enabled
|
||||
}
|
||||
rg_clear_harbitat = yes
|
||||
}
|
||||
else = {
|
||||
rg_juggernaut_habitat_init = yes
|
||||
}
|
||||
country_event = {
|
||||
id = rg_grayleader_dialog.5026
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# 空间站
|
||||
name = RG_graygoo.500.g
|
||||
response_text = RG_graygoo.502.g.response
|
||||
trigger = {
|
||||
has_country_flag = rg_juggernaut_fired
|
||||
has_country_flag = rg_habitat_enabled
|
||||
}
|
||||
allow = {
|
||||
has_country_flag = rg_juggernaut_fired # To prevent exploit
|
||||
}
|
||||
custom_tooltip = rg_need_manual_toggle
|
||||
hidden_effect = {
|
||||
rg_clear_harbitat = yes
|
||||
country_event = {
|
||||
id = rg_grayleader_dialog.5027
|
||||
}
|
||||
}
|
||||
}
|
||||
# option = { # 开启建造中继器
|
||||
# name = rg_event.5.e
|
||||
# trigger = {
|
||||
@@ -1530,6 +1718,32 @@ country_event = {
|
||||
rg_create_gray_colony_1 = yes
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# 购买巨像
|
||||
name = rg_event.4.h
|
||||
trigger = {
|
||||
NOT = {
|
||||
has_country_flag = gray_reforming
|
||||
}
|
||||
}
|
||||
allow = {
|
||||
resource_stockpile_compare = {
|
||||
resource = energy
|
||||
value >= 8000
|
||||
}
|
||||
resource_stockpile_compare = {
|
||||
resource = alloys
|
||||
value >= 8000
|
||||
}
|
||||
}
|
||||
add_resource = {
|
||||
energy = -8000
|
||||
alloys = -8000
|
||||
}
|
||||
hidden_effect = {
|
||||
rg_create_gray_planetkiller_testship_1 = yes
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# 没钱了,救救
|
||||
name = rg_event.4.c
|
||||
|
||||
@@ -94,7 +94,7 @@ planet_event = {
|
||||
while = {
|
||||
count = num_pops
|
||||
create_pop = {
|
||||
species = rg_gray_maid_species
|
||||
species = owner_main_species
|
||||
}
|
||||
}
|
||||
# Kill pops generated in excess (e.g. from forbidden jobs)
|
||||
|
||||
Reference in New Issue
Block a user