11 Commits

Author SHA1 Message Date
ProjectKoi-Kalo\Kalo
3b9b7af09c 2025-06-27 14:40:44 +08:00
ProjectKoi-Kalo\Kalo
204808c988 改版本号 2025-06-27 14:34:17 +08:00
ProjectKoi-Kalo\Kalo
a9831480ac 补补 2025-06-22 20:12:43 +08:00
ProjectKoi-Kalo\Kalo
c8357ada5c 删点过期的舰R兼容 2025-06-22 20:08:51 +08:00
ProjectKoi-Kalo\Kalo
8245aaf07f 暂存 2025-06-22 15:07:36 +08:00
ProjectKoi-Kalo\Kalo
976e42359c "新增纳米科技不可阻挡蜂群议程及灰国领袖初始化效果调整" 2025-06-07 11:30:06 +08:00
ProjectKoi-Kalo\Kalo
7bfd943359 "新增区域议程文件" 2025-06-07 11:29:58 +08:00
ProjectKoi-Kalo\Kalo
ac0458900b Changes 修 2025-05-09 14:59:02 +08:00
ProjectKoi-Kalo\Kalo
08708a26e4 Changes 写点事件 2025-05-09 14:36:34 +08:00
ProjectKoi-Kalo\Kalo
cd821c03a2 # Changes to be committed:
# modified:   common/districts/rg_station_districts.txt
# modified:   common/zones/rg_zones.txt
#
2025-05-07 16:02:57 +08:00
ProjectKoi-Kalo\Kalo
9947c005ae "更新纳米区段翻译并添加城市特化区域定义" 2025-05-07 15:04:35 +08:00
40 changed files with 1704 additions and 1898 deletions

View File

@@ -24,6 +24,7 @@
# weight = 1
# }
#}
graygoo = {
trigger = {
owner = {
@@ -32,14 +33,20 @@ graygoo = {
}
icon_frame = 3
default = no
stop_when_armies_dead = no
stop_when_ground_combat = no
abduct_pops = no
planet_damage = 100
army_damage = 2
kill_pop_chance = {
base = 3
}
min_pops_to_kill_pop = 0
kill_pop_amount = { min = 0 max = 200 }
# root = fleet
# from = planet
ai_weight = {

View File

@@ -61,7 +61,7 @@ building_rg_nanolab_1 = {
# is_individual_machine = yes
# }
}
job_nanotech_researcher_add = 8
job_nanotech_researcher_add = 800
}
# triggered_desc = {
@@ -153,7 +153,7 @@ building_rg_nanolab_2 = {
# is_individual_machine = yes
# }
}
job_nanotech_researcher_add = 15
job_nanotech_researcher_add = 1500
}
# triggered_desc = {

View File

@@ -0,0 +1,24 @@
rg_agenda_nanotech_unstoppable_swarm = {
agenda_cost = @base_tradition_agenda_cost
allow = {
has_tradition = tr_rg_nanotech_adopt
}
potential = {
has_machine_age_dlc = yes
OR = {
is_individual_machine = yes
is_machine_empire = yes
}
NOR = {
has_cybernetic_ascension = yes
has_country_flag = modularity_traditions_unlocked
has_country_flag = virtuality_traditions_unlocked
}
}
modifier = {
shipsize_nanite_swarmer_build_speed_mult = 0.20
ship_nanite_swarmer_cost_mult = -0.15
}
finish_modifier = agenda_nanotech_unstoppable_swarm_finish
}

View File

@@ -1,3 +0,0 @@
# NGameplay = {
# GOVERNMENT_CIVIC_POINTS_BASE = 3 # Base amount of civic points (to "pay" for government civic costs)
# }

View File

@@ -12,8 +12,8 @@ district_rg_city = {
# TODO_CD: change to real slots
zone_slots = {
slot_city_government
slot_city_01
slot_city_02
slot_rg_city_01
slot_rg_city_02
}
show_on_uncolonized = {
@@ -45,7 +45,7 @@ district_rg_city = {
}
planet_modifier = {
planet_housing_add = 2500
planet_housing_add = 3000
job_enforcer_add = @base_district_jobs
zone_building_slots_add = 2
}
@@ -152,8 +152,8 @@ district_rg_hive = {
# TODO_CD: change to real slots
zone_slots = {
slot_city_government
slot_city_01
slot_city_02
slot_rg_city_01
slot_rg_city_02
}
show_on_uncolonized = {
@@ -241,8 +241,8 @@ district_rg_nexus = {
# TODO_CD: change to real slots
zone_slots = {
slot_city_government
slot_city_01
slot_city_02
slot_rg_city_01
slot_rg_city_02
}
show_on_uncolonized = {
@@ -274,7 +274,7 @@ district_rg_nexus = {
}
planet_modifier = {
planet_housing_add = 2500
planet_housing_add = 3000
job_technician_drone_add = @base_district_jobs
zone_building_slots_add = 2
}
@@ -327,7 +327,7 @@ district_rg_generator = {
# TODO_CD: change to real slots
zone_slots = {
slot_energy
slot_rg_city_01
}
show_on_uncolonized = {
@@ -351,46 +351,8 @@ district_rg_generator = {
}
produces = {
energy = 50
}
}
triggered_planet_modifier = {
planet_housing_add = 1000
}
}
district_rg_mining = {
icon = district_hab_mining
base_buildtime = 30
is_capped_by_modifier = no
zone_slots = {
slot_minerals
}
show_on_uncolonized = {
uses_district_set = rg_station
exists = from
}
potential = {
exists = owner
uses_district_set = rg_station
}
convert_to = {
}
resources = {
category = planet_districts
cost = {
minerals = @rw_cost
}
upkeep = {
energy = 5
}
produces = {
minerals = 50
food = 50
}
}
@@ -399,27 +361,104 @@ district_rg_mining = {
}
}
district_rg_farming = {
icon = district_rw_farming
# district_rg_mining = {
# icon = district_hab_mining
# base_buildtime = 30
# is_capped_by_modifier = no
#
# zone_slots = {
# slot_minerals
# }
#
# show_on_uncolonized = {
# uses_district_set = rg_station
# exists = from
# }
#
# potential = {
# exists = owner
# uses_district_set = rg_station
# }
#
# convert_to = {
# }
#
# resources = {
# category = planet_districts
# cost = {
# minerals = @rw_cost
# }
# upkeep = {
# energy = 5
# }
# produces = {
# minerals = 50
# }
# }
#
# triggered_planet_modifier = {
# planet_housing_add = 1000
# }
# }
#district_rg_farming = {
# icon = district_rw_farming
# base_buildtime = 30
# is_capped_by_modifier = no
#
# # TODO_CD: change to real slots
# zone_slots = {
# slot_food
# }
#
# show_on_uncolonized = { uses_district_set = rg_station }
#
# potential = {
# uses_district_set = rg_station
# exists = owner
# NOT = {
# AND = {
# owner = { is_ai = yes }
# owner = { country_uses_food = no }
# }
# }
# }
#
# resources = {
# category = planet_districts
# cost = {
# minerals = @rw_cost
# }
# upkeep = {
# energy = 5
# }
# produces = {
# food = 50
# }
# }
#
# # triggered for tooltip formatting purposes
# triggered_planet_modifier = {
# modifier = {
# planet_housing_add = 1000
# }
# }
#}
district_rg_industrial = {
icon = district_rw_industrial
base_buildtime = 30
is_capped_by_modifier = no
# TODO_CD: change to real slots
zone_slots = {
slot_food
slot_rg_city_02
}
show_on_uncolonized = { uses_district_set = rg_station }
potential = {
uses_district_set = rg_station
exists = owner
NOT = {
AND = {
owner = { is_ai = yes }
owner = { country_uses_food = no }
}
}
}
resources = {
@@ -429,17 +468,24 @@ district_rg_farming = {
}
upkeep = {
energy = 5
minerals = 50
}
produces = {
food = 50
nanites = 50
}
}
# triggered for tooltip formatting purposes
triggered_planet_modifier = {
modifier = {
planet_housing_add = 1000
}
inline_script = {
script = jobs/industrial_districts_factory_add
AMOUNT = 500
}
inline_script = {
script = jobs/industrial_districts_foundry_add
AMOUNT = 500
}
}
@@ -450,7 +496,7 @@ district_rg_science = {
# TODO_CD: change to real slots
zone_slots = {
slot_city_01
slot_rg_city_03
}
show_on_uncolonized = { uses_district_set = rg_station }
@@ -478,7 +524,7 @@ district_rg_science = {
minerals = @rw_cost
}
upkeep = {
energy = @rw_maintenance
energy = 5
}
}
@@ -585,97 +631,47 @@ district_rg_science = {
}
}
district_rg_industrial = {
icon = district_rw_industrial
base_buildtime = 30
is_capped_by_modifier = no
# TODO_CD: change to real slots
zone_slots = {
slot_city_01
}
show_on_uncolonized = { uses_district_set = rg_station }
potential = {
uses_district_set = rg_station
}
resources = {
category = planet_districts
cost = {
minerals = @rw_cost
}
upkeep = {
energy = @rw_maintenance
}
upkeep = {
trigger = {
exists = owner
owner = {
has_edict = industrial_maintenance
}
}
energy = 4
}
}
triggered_planet_modifier = {
planet_housing_add = 1000
}
inline_script = {
script = jobs/industrial_districts_factory_add
AMOUNT = 500
}
inline_script = {
script = jobs/industrial_districts_foundry_add
AMOUNT = 500
}
}
district_rg_nanites = {
icon = district_rg_nanites
base_buildtime = 30
is_capped_by_modifier = no
# TODO_CD: change to real slots
zone_slots = {
slot_city_01
}
show_on_uncolonized = {
uses_district_set = rg_station
exists = from
}
potential = {
exists = owner
uses_district_set = rg_station
}
convert_to = {
}
resources = {
category = planet_districts
cost = {
minerals = @rw_cost
}
upkeep = {
energy = 5
minerals = 40
}
produces = {
nanites = 40
}
}
triggered_planet_modifier = {
planet_housing_add = 1000
}
}
# district_rg_nanites = {
# icon = district_rg_nanites
# base_buildtime = 30
# is_capped_by_modifier = no
#
# # TODO_CD: change to real slots
# zone_slots = {
# slot_city_01
# }
#
# show_on_uncolonized = {
# uses_district_set = rg_station
# exists = from
# }
#
# potential = {
# exists = owner
# uses_district_set = rg_station
# }
#
# convert_to = {
# }
#
# resources = {
# category = planet_districts
# cost = {
# minerals = @rw_cost
# }
# upkeep = {
# energy = 5
# minerals = 40
# }
# produces = {
# nanites = 40
# }
# }
#
# triggered_planet_modifier = {
# planet_housing_add = 1000
# }
# }
# district_rg_commercial = {
# icon = district_rw_commercial

View File

@@ -1,25 +0,0 @@
immediate = {
rg_timeline_attract_field_init = yes
if = {
# 非正常触发补事件
limit = {
NOT = {
exists = event_target:rg_gray_country
}
}
rg_gray_country_init = yes #创建国家
}
rg_gray_country_after_init = yes
set_country_flag = machine_age_nanites_studied
create_message = {
type = MESSAGE_RECRUITED_LEADER
localization = "rg_event.2.desc"
days = @toast_message_days
target = event_target:rg_gray_country_leader
variable = {
type = name
localization = LEADER
scope = event_target:rg_gray_country_leader
}
}
}

View File

@@ -4,8 +4,7 @@ immediate = {
after = {
hidden_effect = {
remove_country_flag = gray_diplomacy_engaged
#初始化衣柜
reset_gray_cloth = yes
}
}
trigger = {
@@ -165,7 +164,6 @@ option = {
}
}
}
inline_script = "events/rg_wsg_marry_gray_option_500_scripts"
option = {
name = graygoo.500.d
default_hide_option = yes

View File

@@ -42,7 +42,6 @@ immediate = {
after = {
hidden_effect = {
remove_country_flag = gray_diplomacy_engaged
reset_gray_cloth = yes
}
}
option = {
@@ -139,7 +138,6 @@ option = {
}
}
}
inline_script = "events/rg_wsg_marry_gray_option_scripts"
option = {
name = graygoo.500.d
tag = hire_leader

View File

@@ -31,7 +31,6 @@ immediate = {
after = {
hidden_effect = {
remove_country_flag = gray_diplomacy_engaged
reset_gray_cloth = yes
}
}
option = {
@@ -330,7 +329,6 @@ option = {
}
}
}
inline_script = "events/rg_wsg_marry_gray_option_scripts"
option = {
name = graygoo.500.d
tag = hire_leader

View File

@@ -29,7 +29,6 @@ immediate = {
after = {
hidden_effect = {
remove_country_flag = gray_diplomacy_engaged
reset_gray_cloth = yes
}
}
option = {
@@ -289,7 +288,6 @@ option = {
}
}
}
inline_script = "events/rg_wsg_marry_gray_option_scripts"
option = {
name = graygoo.500.d
tag = hire_leader

View File

@@ -11,7 +11,6 @@ trigger = {
option = {
name = OK
}
inline_script = "events/rg_wsg_marry_gray_option_504_scripts"
# option = {
# name = rg_graygoo.504.a
# allow = {

View File

@@ -177,7 +177,6 @@ option = {
}
}
}
inline_script = "events/rg_wsg_marry_gray_option_scripts"
# option = { # 开启建造中继器
# name = rg_event.5.e
# trigger = {

View File

@@ -1,71 +0,0 @@
# event:graygoo.499
# 初始化小灰领袖等级
set_variable = {
which = rg_gray_level
value = 1
}
#Country event_target:gray_owner
#存储当前领袖等级
rg_save_gray_leader_level_effect = {
every_owned_leader = {
if = {
###等级检测
limit = {
has_leader_flag = rg_gray_leader
}
#由于目前是leader域所以不能直接导出等级
#导出等级到暂存
export_trigger_value_to_variable = {
trigger = has_base_skill
variable = rg_gray_level_temp
}
#把leader域中的变量存到country域中
#导入变量
owner = {
set_variable = {
which = rg_gray_level
value = prev.rg_gray_level_temp
}
}
#清理暂存区
clear_variable = rg_gray_level_temp
}
}
}
random_owned_leader = {
#是小灰领袖
limit = {
has_leader_flag = rg_gray_leader
}
export_trigger_value_to_variable = {
trigger = has_base_skill
variable = rg_gray_level_temp
}
owner = {
set_variable = {
which = rg_gray_level
value = prev.rg_gray_level_temp
}
}
}
}
#country scope
#用的时候就
check_variable = {
which = rg_gray_level
value >= 10
}
#Country event_target:gray_owner
#等级导入,把存储的领袖等级赋予到领袖身上
rg_set_varible_as_leader_level_effect = {
random_owned_leader = {
limit = {
has_leader_flag = rg_gray_leader
}
set_skill = owner.rg_gray_level
}
}

View File

@@ -1,63 +0,0 @@
option = {
name = marry_gray
trigger = {
RG_OR_has_wsg_mod_trigger = yes
check_variable = {
which = wg_gray_affection
value > @wg_gray_affection_to_lv4
}
NOT = {
has_country_flag = married_gray
}
}
allow = {
OR = {
AND = {
has_wg_special_authority = no
resource_stockpile_compare = {
resource = sr_living_metal
value >= 100
}
resource_stockpile_compare = {
resource = rare_crystals
value >= 1000
}
}
custom_tooltip = {
check_variable = {
which = wsg_rings
value >= 1
}
fail_text = not_enough_engagement_rings
}
}
custom_tooltip = {
fail_text = gray_become_ruler
NOT = {
ruler = {
has_leader_flag = "gray_leader"
}
}
}
}
if = {
limit = {
has_wg_special_authority = yes
}
subtract_variable = {
which = wsg_rings
value = 1
}
}
else = {
add_resource = {
sr_living_metal = -100
rare_crystals = -1000
}
}
hidden_effect = {
country_event = {
id = wg_affection.30000
}
}
}

View File

@@ -1,34 +0,0 @@
option = {
name = marry_gray
trigger = {
RG_OR_has_wsg_mod_trigger = yes
check_variable = {
which = wg_gray_affection
value > @wg_gray_affection_to_lv4
}
NOT = {
has_country_flag = married_gray
}
}
allow = {
OR = {
has_wg_special_authority = no
custom_tooltip = {
check_variable = {
which = wsg_rings
value >= 1
}
fail_text = not_enough_engagement_rings
}
}
}
subtract_variable = {
which = wsg_rings
value = 1
}
hidden_effect = {
country_event = {
id = wg_affection.30000
}
}
}

View File

@@ -1,37 +0,0 @@
option = {
name = marry_gray
trigger = {
RG_OR_has_wsg_mod_trigger = yes
check_variable = { which = wg_gray_affection value > @wg_gray_affection_to_lv4 }
NOT = { has_country_flag = married_gray }
}
allow = {
OR = {
AND = {
has_wg_special_authority = no
resource_stockpile_compare = {
resource = sr_living_metal
value >= 100
}
resource_stockpile_compare = {
resource = rare_crystals
value >= 1000
}
}
custom_tooltip = {
check_variable = { which = wsg_rings value >= 1 }
fail_text = not_enough_engagement_rings
}
}
}
if = {
limit = { has_wg_special_authority = yes }
subtract_variable = { which = wsg_rings value = 1 }
} else = {
add_resource = {
sr_living_metal = -100
rare_crystals = -1000
}
}
hidden_effect = { country_event = { id = wg_affection.30000 }}
}

View File

@@ -1,145 +0,0 @@
produces = {
trigger = {
exists = planet
planet = {
owner = {
RG_tradition5_or_gray_owner_trigger = yes
}
rg_is_pc_nano = yes
}
OR = {
has_trait = rg_machine_maid_trait
}
}
nanites = -0.1
multiplier = value:rg_maid_trait_mult
}
# vanilla
produces = {
trigger = {
OR = {
has_trait = trait_lithoid_scintillating
has_trait = trait_advanced_scintillating
}
}
rare_crystals = @lithoid_trait_resource_production
multiplier = value:lithoid_trait_mult
}
produces = {
trigger = {
OR = {
has_trait = trait_lithoid_gaseous_byproducts
has_trait = trait_advanced_gaseous_byproducts
}
}
exotic_gases = @lithoid_trait_resource_production
multiplier = value:lithoid_trait_mult
}
produces = {
trigger = {
OR = {
has_trait = trait_lithoid_volatile_excretions
has_trait = trait_advanced_volatile_excretions
}
}
volatile_motes = @lithoid_trait_resource_production
multiplier = value:lithoid_trait_mult
}
produces = {
trigger = {
OR = {
has_trait = trait_notofthisworld
has_trait = trait_robot_notofthisworld
has_trait = trait_exd
}
}
physics_research = 0.5
}
produces = {
trigger = {
exists = planet
planet = {
has_modifier = astralnomical_interest_modifier
}
is_enslaved = no
is_robot_pop = no
}
physics_research = 1
}
produces = {
trigger = {
has_trait = trait_cybernetic
exists = owner
owner = {
has_country_flag = driven_neural_chorus
}
}
unity = 0.1
}
produces = {
trigger = {
exists = planet
planet = {
has_modifier = particle_storm_aftermath_modifier_severity_1
}
}
volatile_motes = 0.02
}
produces = {
trigger = {
exists = planet
planet = {
has_modifier = particle_storm_aftermath_modifier_severity_2
}
}
volatile_motes = 0.04
}
produces = {
trigger = {
exists = planet
planet = {
has_modifier = particle_storm_aftermath_modifier_severity_3
}
}
volatile_motes = 0.06
}
produces = {
trigger = {
exists = planet
planet = {
has_modifier = celestial_storm_aftermath_modifier_severity_1
}
}
rare_crystals = 0.02
}
produces = {
trigger = {
exists = planet
planet = {
has_modifier = celestial_storm_aftermath_modifier_severity_2
}
}
rare_crystals = 0.04
}
produces = {
trigger = {
exists = planet
planet = {
has_modifier = celestial_storm_aftermath_modifier_severity_3
}
}
rare_crystals = 0.06
}

View File

@@ -1,103 +0,0 @@
# example_class = {
# name = <name_key>
# name_plural = <name_plural_key>
# description = <description_key>
#
# #all the following default to no
# can_lead_army = yes/no # Applies skill_<class_id>_army scaled by level to armies
# can_lead_navy = yes/no # Applies skill_<class_id>_navy scaled by level to fleets
# can_govern_planet = yes/no # Applies skill_<class_id>_planet_governor scaled by level to governed planet
# Applies skill_<class_id>_sector_governor scaled by level to governed sector, if governing the sector capital
# Applies skill_<class_id>_background_planet_governor scaled by level togoverned planet, if governing their homeworld
# can_be_envoy = yes/no
# can_research_tech = yes/no
# can_research_special_projects = yes/no
# can_crew_science_ship = yes/no
# can_research_anomalies = yes/no
# can_research_archaeology_site = yes/no
# can_survey = yes/no
# can_boost_cloaking_detection = yes/no
# can_explore_rifts = yes/no
# can_conduct_active_reconnaissance = yes/no
# can_govern_planet = yes/no
# can_have_traits = yes/no # defaults to yes, if no this class will not gain LEADER_ASSIGNED_MONTHLY_EXPERIENCE when assigned
# can_rule_empire = yes/no # defaults to yes
# recruitable = yes/no # defaults to yes
# max_trait_points = <num>
# leader_capacity = <num> # maximum number of leader of this type before you get maluses, 0 means no cap
# replaces_old_class = "old_class" # used for backwards compatibility. When "old_class" appears in an old save, it is converted to this class at loading
# # can appear multiple times
#
# resources = { #upkeep
# category = leader_scientists/etc
# cost = {
# ...
# }
# }
#
# ai_weight = { # used to determine which type of leader the AI prefers (frex: commanders for warlike leaders, and governor for pacifists)
# base = <num>
# modifier = {}
# }
#
# ai_location_weight = { # used to evaluate a specific leader for an assignment to a specific location (right now only used for fleet),
# # scope is the leader, from is the leader location (can be a planet, a fleet, an army etc)
# # if the score is 0 or less, the leader will not be assigned to that location
# base = <num>
# modifier = {}
# }
#
# minimum_ai_target = <num>
#
# leader_background_job_weight = {
# job_name = <weight>
# # etc
# }
# }
#
# icon = 1 # 1-based index in the icon file. might be replaced by an icon name later
#
# paragon_background_selector = <name of an asset_selector>, used to display a background behind paragon portraits
#
#
# How the AI assigns leaders now:
#
# Step 1: Sort all possible location using the NDefines::NAI::LOCATION_WEIGHT_* values (all of them are multipliers except the galactic community which is a flat value)
# Step 2: Sort all available leaders by skill
# Step 3: for each leader in order, calculate a location weight based on the ai_location_weight of their class
# Step 4: Assign the highest leader/location pair based on the weight
# Step 5: if no leader was assigned, see if hiring a leader is possible repeating the same steps
# rg_nanite_leader = {
# name = rg_nanite_leader
# name_plural = rg_nanite_leader_plural
# description = rg_nanite_leader_description
#
# can_lead_army = yes
# can_lead_navy = yes
# can_govern_planet = yes
# can_be_envoy = yes
# can_research_tech = yes
# can_research_special_projects = yes
# can_crew_science_ship = yes
# can_research_anomalies = yes
# can_research_archaeology_site = yes
# can_survey = yes
# can_boost_cloaking_detection = yes
# can_explore_rifts = yes
# can_conduct_active_reconnaissance = yes
# can_govern_planet = yes
# can_have_traits = yes
# can_rule_empire = yes
# recruitable = no
# max_trait_points = 3
# leader_capacity = 3
#
# ai_weight = {
# modifier = {
# factor = 0
# }
# }
# icon = 4
# paragon_background_selector = "paragon_background_selector"
# }

View File

@@ -0,0 +1,33 @@
#message_type = {
# key = "CONSTRUCTION_MESSAGE_TYPE" # Message key, used from code.
# icon = "GFX_message_other_construction" # Sprite to use for gui item "message_icon_button"
# icon_frame = 1 # Frame index to use for gui item "message_frame"
#
# name = "MESSAGE_DECLARE_WAR_TITLE" # Localization key to use for title, if empty it will use "MESSAGE_<key>_TITLE" instead.
# sound = "advisor_notification_construction_complete" # Sound to play on message creation
#
# sound_is_advisor = yes # Deprecated and does nothing.
# ping = "ping_notification_green" # Ping map to use for map visualization.
#
# hidden_in_message_settings = yes # If yes, the message type is not shown in the message settings UI (default: no).
# category = diplomacy # Filter category in message settings, valid: 'diplomacy', 'military', 'economy', 'government', 'science', 'fleets', 'planets', 'leaders', 'other' (default: 'other').
# message_setting_key = "MESSAGE_DECLARE_WAR_SETTING" # Localization key to use in message settings, if empty it will use name instead.
# default_notification = no # Is notification enabled by default (default: yes).
# default_toast = yes # Is toast enabled by default (default: no).
# default_popup = yes # Is popup enabled by default (default: no).
# default_autopause = yes # Is auto-pause enabled by default (default: no).
#}
message_type = {
key = "MESSAGE_TYPE_RG_GRAY_GOO_LEADER_CHAT"
icon = "GFX_toast_leader_acquired"
name = "MESSAGE_RG_GRAY_GOO_LEADER_CHAT_TITLE"
sound = "notification"
ping = "ping_notification_red"
default_toast = yes
category = leaders
}

View File

@@ -7,7 +7,10 @@ rg_event_effect_event1_dragon = {
has_leader_flag = rg_fake_dragon
}
remove_trait = RG_leader_trait_admiral_timed_life
add_trait = RG_leader_trait_admiral_born_tobe_dragon
add_trait = {
trait = RG_leader_trait_admiral_born_tobe_dragon
show_message = no
}
set_leader_flag = rg_fake_dragon_reborn
set_age = 0
}
@@ -29,36 +32,87 @@ rg_event_effect_event1_dragon = {
}
}
#fired from rg_event.1
rg_event_effect_event1_cluster = {
if = {
limit = {
NOT = {
has_global_flag = origin_rg_gray_1st_global
#第一个遥远约定起源的全局标记
set_global_flag = origin_rg_gray_1st_global
#第一个遥远约定起源的国家标记
set_country_flag = origin_rg_gray_1st
#遥远约定星团起源的国家标记
set_country_flag = origin_rg_gray_cluster
#设置小灰改造等级初始为1
set_country_flag = rg_gray_level_1
#给点初始资源免得开局饿死
add_resource = {
energy = 1000
minerals = 1000
alloys = 1000
consumer_goods = 1000
}
#给遥远群星modifier减跃迁范围防止跳出去
add_modifier = {
modifier = rg_distant_stars_modifier
}
rg_event_effect_event1_gray_cluster = yes
}
else = {
rg_event_effect_event1_dragon = yes
#保存成遥远约定起源国家全局target
save_global_event_target_as = origin_rg_gray_country
#调用小灰打招呼事件
country_event = {
id = rg_event.2
days = 30
}
# 生成L星团 还没做TODO
# rg_lcluster_spawn_effect = yes
#计时器十年自动开门事件 还没做TODO
# country_event = {
# id = rg_event.18
# days = 3600
# random = 12800
# }
}
#fired from rg_event.1
rg_event_effect_event1_galaxy = {
#第一个遥远约定起源的全局标记
set_global_flag = origin_rg_gray_1st_global
#第一个遥远约定起源的国家标记
set_country_flag = origin_rg_gray_1st
#遥远约定银河起源的国家标记
set_country_flag = origin_rg_gray_galaxy
#设置小灰改造等级初始为1
set_country_flag = rg_gray_level_1
#由于这里用的是玩家自己选的开局星球所以不送资
rg_event_effect_event1_cluster_galaxy = {
#保存成遥远约定起源国家全局target
save_global_event_target_as = origin_rg_gray_country
if = {
limit = {
OR = {
rg_has_ag_origin_trigger = yes
NOT = {
has_global_flag = origin_rg_gray_1st_global
#有遥远的故事起源国家,这个条件为什么在这我忘了
any_country = {
has_origin = origin_Asgray
}
}
}
rg_event_effect_event1_gray_galaxy = yes
#调用小灰打招呼事件
country_event = {
id = rg_event.2
days = 30
}
#立刻开门防止玩家再次进L星团再刨一个小灰出来
else = {
rg_event_effect_event1_dragon = yes
rg_lcluster_spawn_effect = yes
capital_scope = {
solar_system = {
random_neighbor_system = {
solar_system = {
set_star_flag = lgate
spawn_megastructure = {
type = lgate_base
orbit_angle = 225
orbit_distance = 30
}
}
}
}
}
}
}
@@ -118,12 +172,6 @@ rg_event_effect_event1_gray_galaxy = {
}
}
rg_event_effect_event1_to_event2_effect = {
country_event = {
id = rg_event.2
days = 30
}
}
rg_event_effect_lcluster_spawn_selecter = {
if = {
limit = {
@@ -241,18 +289,3 @@ rg_event_effect_planet2027_spawn_maid_species_non_gray = {
}
}
}
rg_event_effect_event2_gray_origin_init = {
rg_gray_country_init = yes
country_event = {
id = graygoo.499
}
give_technology = {
tech = tech_minilaser_gray_1
message = no
}
give_technology = {
tech = tech_object_gray_5
message = no
}
}

View File

@@ -542,6 +542,21 @@ rg_harbitar_size_calculate = {
}
}
rg_habitat_maid_init = {
if = {
limit = {
NOT = {
exists = event_target:rg_owner_main_maid_species
}
}
event_target:rg_gray_habitat_target = {
every_owned_pop_group = {
rg_event_effect_planet2027_spawn_maid_species = yes
}
}
}
}
#Country event_target:gray_owner
#创造灰风纳米空间站
rg_juggernaut_habitat_init = {
@@ -584,16 +599,6 @@ rg_juggernaut_habitat_init = {
species = owner_main_species
ethos = owner
}
if = {
limit = {
NOT = {
exists = event_target:rg_owner_main_maid_species
}
}
every_owned_pop_group = {
rg_event_effect_planet2027_spawn_maid_species = yes
}
}
set_name = "NAME_rg_gray_habitat_base"
if = {
limit = {
@@ -605,22 +610,6 @@ rg_juggernaut_habitat_init = {
}
set_planet_size = owner.rg_habitat_size
generate_start_buildings_and_districts = yes
while = {
count = 1
add_district = district_rg_generator
}
while = {
count = 1
add_district = district_rg_mining
}
while = {
count = 1
add_district = district_rg_farming
}
while = {
count = 1
add_district = district_rg_industrial
}
if = {
limit = {
exists = owner
@@ -657,6 +646,18 @@ rg_juggernaut_habitat_init = {
add_district = district_rg_nexus
}
}
while = {
count = 1
add_district = district_rg_generator
}
while = {
count = 1
add_district = district_rg_industrial
}
while = {
count = 1
add_district = district_rg_science
}
create_pop_group = {
species = owner_main_species
size = 5
@@ -671,6 +672,7 @@ rg_juggernaut_habitat_init = {
}
}
}
rg_habitat_maid_init = yes
rg_set_gray_harbitat_active_effect = yes
}
}

View File

@@ -40,11 +40,26 @@ rg_gray_govener_init = {
}
set_leader_flag = "gray_leader"
set_leader_flag = gray_leader
add_trait_no_notify = leader_trait_governor_gray
add_trait_no_notify = RG_leader_trait_ruler_gray
add_trait_no_notify = subclass_official_governor
add_trait_no_notify = trait_ruler_architectural_sense_3
add_trait_no_notify = leader_trait_distribution_lines_2
add_trait = {
trait = leader_trait_governor_gray
show_message = no
}
add_trait = {
trait = RG_leader_trait_ruler_gray
show_message = no
}
add_trait = {
trait = subclass_official_governor
show_message = no
}
add_trait = {
trait = trait_ruler_architectural_sense_3
show_message = no
}
add_trait = {
trait = leader_trait_distribution_lines_2
show_message = no
}
if = {
limit = {
owner = {
@@ -53,15 +68,33 @@ rg_gray_govener_init = {
}
}
remove_trait = leader_trait_governor_gray
add_trait_no_notify = leader_trait_governor_gray_weak
add_trait = {
trait = leader_trait_governor_gray_weak
show_message = no
}
}
}
else = {
add_trait_no_notify = RG_leader_trait_governor_gray
add_trait_no_notify = RG_leader_trait_ruler_gray
add_trait_no_notify = subclass_official_governor
add_trait_no_notify = trait_ruler_architectural_sense_3
add_trait_no_notify = leader_trait_distribution_lines_2
add_trait = {
trait = RG_leader_trait_governor_gray
show_message = no
}
add_trait = {
trait = RG_leader_trait_ruler_gray
show_message = no
}
add_trait = {
trait = subclass_official_governor
show_message = no
}
add_trait = {
trait = trait_ruler_architectural_sense_3
show_message = no
}
add_trait = {
trait = leader_trait_distribution_lines_2
show_message = no
}
}
}
}
@@ -92,11 +125,16 @@ rg_gray_govener_init = {
}
if = {
limit = {
owner = { has_country_flag = married_gray }
owner = {
has_country_flag = married_gray
}
}
set_leader_flag = married
}
set_variable = { which = affection value = owner.wg_gray_affection }
set_variable = {
which = affection
value = owner.wg_gray_affection
}
}
# if = {
# limit = {
@@ -113,7 +151,6 @@ rg_gray_govener_init = {
rg_set_gray_portrait = yes
}
}
}
rg_gray_commander_init = {
@@ -158,7 +195,10 @@ rg_gray_commander_init = {
}
set_leader_flag = "gray_leader" # "gray_leader"==rg_gray_leader
set_leader_flag = gray_leader
add_trait_no_notify = gray_admiral
add_trait = {
trait = gray_admiral
show_message = no
}
if = {
limit = {
owner = {
@@ -167,19 +207,40 @@ rg_gray_commander_init = {
}
}
remove_trait = gray_admiral
add_trait_no_notify = leader_trait_admiral_gray_weak
add_trait = {
trait = leader_trait_admiral_gray_weak
show_message = no
}
# 缺少特质leader_trait_admiral_gray_weak将导致KDC故事包远星之歌起源研究纳米星球特殊项目无法完成
}
}
set_leader_flag = rg_gray_leader
add_trait_no_notify = RG_leader_trait_admiral_gray
add_trait_no_notify = RG_leader_trait_admiral_nanorebuild_gray
add_trait = {
trait = RG_leader_trait_admiral_gray
show_message = no
}
add_trait = {
trait = RG_leader_trait_admiral_nanorebuild_gray
show_message = no
}
# add_trait_no_notify = RG_leader_trait_general_gray_skill
# 缺少特质RG_leader_trait_admiral_gray将导致小灰改造项目无法完成
add_trait_no_notify = subclass_commander_councilor
add_trait_no_notify = leader_trait_carrier_specialization
add_trait_no_notify = leader_trait_juryrigger_2
add_trait_no_notify = leader_trait_reinforcer_2
add_trait = {
trait = subclass_commander_councilor
show_message = no
}
add_trait = {
trait = leader_trait_carrier_specialization
show_message = no
}
add_trait = {
trait = leader_trait_juryrigger_2
show_message = no
}
add_trait = {
trait = leader_trait_reinforcer_2
show_message = no
}
}
}
last_created_leader = {
@@ -209,11 +270,16 @@ rg_gray_commander_init = {
}
if = {
limit = {
owner = { has_country_flag = married_gray }
owner = {
has_country_flag = married_gray
}
}
set_leader_flag = married
}
set_variable = { which = affection value = owner.wg_gray_affection }
set_variable = {
which = affection
value = owner.wg_gray_affection
}
}
# add_trait_no_notify = leader_trait_admiral_wg_gray_affection
# if = {
@@ -234,6 +300,7 @@ rg_gray_commander_init = {
RG_leader_trait_admiral_nanorebuild_gray_counter_init_effect = yes
RG_leader_trait_general_tempest_incoming_counter_init_effect = yes
}
#
# rg_gray_admiral_init = {
# event_target:rg_gray_country = {
@@ -457,7 +524,6 @@ rg_gray_commander_init = {
# }
#
# }
rg_gray_scientist_init = {
event_target:rg_gray_country = {
create_leader = {
@@ -530,11 +596,16 @@ rg_gray_scientist_init = {
}
if = {
limit = {
owner = { has_country_flag = married_gray }
owner = {
has_country_flag = married_gray
}
}
set_leader_flag = married
}
set_variable = { which = affection value = owner.wg_gray_affection }
set_variable = {
which = affection
value = owner.wg_gray_affection
}
}
# add_trait_no_notify = leader_trait_admiral_wg_gray_affection
# if = {
@@ -552,7 +623,6 @@ rg_gray_scientist_init = {
rg_set_gray_portrait = yes
}
}
}
rg_gray_country_leader_init = {
@@ -593,18 +663,48 @@ rg_gray_country_leader_init = {
# 暂时和小灰网络断开连接
# set_leader_flag = "gray_leader"
# set_leader_flag = gray_leader
add_trait_no_notify = leader_trait_governor_gray
add_trait_no_notify = RG_leader_trait_ruler_gray
add_trait_no_notify = subclass_official_governor
add_trait_no_notify = trait_ruler_architectural_sense_3
add_trait_no_notify = leader_trait_distribution_lines_2
add_trait = {
trait = leader_trait_governor_gray
show_message = no
}
add_trait = {
trait = RG_leader_trait_ruler_gray
show_message = no
}
add_trait = {
trait = subclass_official_governor
show_message = no
}
add_trait = {
trait = trait_ruler_architectural_sense_3
show_message = no
}
add_trait = {
trait = leader_trait_distribution_lines_2
show_message = no
}
}
else = {
add_trait_no_notify = RG_leader_trait_governor_gray
add_trait_no_notify = RG_leader_trait_ruler_gray
add_trait_no_notify = subclass_official_governor
add_trait_no_notify = trait_ruler_architectural_sense_3
add_trait_no_notify = leader_trait_distribution_lines_2
add_trait = {
trait = RG_leader_trait_governor_gray
show_message = no
}
add_trait = {
trait = RG_leader_trait_ruler_gray
show_message = no
}
add_trait = {
trait = subclass_official_governor
show_message = no
}
add_trait = {
trait = trait_ruler_architectural_sense_3
show_message = no
}
add_trait = {
trait = leader_trait_distribution_lines_2
show_message = no
}
}
}
}

View File

@@ -14,7 +14,7 @@ tr_rg_nanotech_adopt = {
}
}
custom_tooltip = tr_rg_nanotech_adopt_modifier_desc
unlocks_agenda = agenda_nanotech_unstoppable_swarm
unlocks_agenda = rg_agenda_nanotech_unstoppable_swarm
#Unlocks nanolab 1 and Starbase building
}

View File

@@ -0,0 +1,63 @@
# Planet District Zone Slots
# slot_test_01 = {
# start = zone_default # A zone of this type is immediately placed in a new district slot.
#
# include = { # A list of zone types that are available to be built in the slot. The key 'all' can be used to include all existing zone types.
# all
# }
#
# exclude = { # A list of zone types that aren't available to be built in the slot.
# zone_test_05
# }
#
# potential = {
# always = yes # Trigger that defines whether the slot is available on the planet at all. Scope = Planet.
# }
#
# unlock = { # Trigger that defines whether the slot is unlocked on the planet. Scope = Planet.
# always = yes
# }
# }
slot_rg_city_01 = {
include = {
zone_rg_city_housing
zone_rg_city_foundry
zone_rg_city_alloys
zone_rg_city_science
}
exclude = {
zone_default
}
unlock = { # planet scope
uses_district_set = rg_station
}
}
slot_rg_city_02 = {
include = {
zone_rg_city_housing
zone_rg_city_foundry
zone_rg_city_alloys
zone_rg_city_science
}
exclude = {
zone_default
}
unlock = { # planet scope
uses_district_set = rg_station
}
}
slot_rg_city_03 = {
include = {
zone_rg_city_housing
zone_rg_city_foundry
zone_rg_city_alloys
zone_rg_city_science
}
exclude = {
zone_default
}
unlock = { # planet scope
uses_district_set = rg_station
}
}

202
common/zones/rg_zones.txt Normal file
View File

@@ -0,0 +1,202 @@
# Planet District Zones
# zone_test_01 = {
# potential = { # Trigger that defines whether the zone can potentially be built on the Planet. Scope = Planet
# always = yes
# }
#
# unlock = { # Trigger that defines whether the zone is unlocked for building on the planet. Scope = Planet
# always = yes
# }
#
# resources = { # Cost of building. Scope = Planet
# category = planet_districts
# cost = {
# minerals = 50
# }
# }
#
# max_buildings = 3 # Number of slots for buildings.
#
# planet_modifier = { # Planet modifier from the zone
# }
#
# triggered_planet_modifier = { # Triggered planet modifier from the zone. Scope = Planet
# potential = {
# always = yes
# }
# }
#
# triggered_planet_pop_group_modifier = { # Triggered modifier applied to pop groups on planet.
# potential = { # Modifier values are divided in proportion to size between pop groups for which the trigger is true.
# always = yes # Scope = Pop group
# }
# }
#
# district_planet_modifier = { # Planet modifier from the zone. Modifier value is multiplied by the District Level
# }
#
# triggered_district_planet_modifier = { # Triggered planet modifier from the zone. Modifier value is multiplied by the District Level. Scope = Planet
# potential = {
# always = yes
# }
# }
#
# include = { } # Buildings listed here can be constructed in this zone.
#
# exclude = { } # Buildings listed here cannot be constructed in this zone.
#
# included_building_sets = {
# # Buildings belonging to any building set listed here can be constructed in this zone.
# }
#
# excluded_building_sets = {
# # Buildings belonging to any building set listed here cannot be constructed in this zone.
# }
#
# triggered_desc = { # Triggered description of the zone's effect. Scope = Planet
# trigger = {
# exists = owner
# }
# text = job_clerk_effect_desc
# }
# }
zone_rg_city_housing = {
icon = GFX_colony_type_urban
base_buildtime = 120
potential = { # planet scope
always = yes
}
unlock = { # planet scope
always = yes
}
resources = {
category = planet_zones
cost = {
}
}
include = {
all
}
included_building_sets = {
}
triggered_district_planet_modifier = {
potential = {
exists = owner
}
planet_housing_add = 3000
planet_crime_add = -10
planet_amenities_add = 1000
}
planet_modifier = {
zone_building_slots_add = 3
}
}
zone_rg_city_foundry = {
icon = GFX_resource_energy_large
base_buildtime = 120
potential = { # planet scope
always = yes
}
unlock = { # planet scope
always = yes
}
resources = {
category = planet_zones
cost = {
}
}
include = {
all
}
included_building_sets = {
}
inline_script = {
script = jobs/zone_technicians_add
AMOUNT = 1000
}
inline_script = {
script = jobs/zone_miner_add
AMOUNT = 1000
}
inline_script = {
script = jobs/zone_farmers_add
AMOUNT = 1000
}
planet_modifier = {
zone_building_slots_add = 3
}
}
zone_rg_city_alloys = {
icon = GFX_resource_energy_large
base_buildtime = 120
potential = { # planet scope
always = yes
}
unlock = { # planet scope
always = yes
}
resources = {
category = planet_zones
cost = {
}
}
include = {
all
}
included_building_sets = {
}
inline_script = {
script = jobs/zone_factory_add
AMOUNT = 500
}
inline_script = {
script = jobs/zone_foundry_add
AMOUNT = 500
}
planet_modifier = {
zone_building_slots_add = 3
}
}
zone_rg_city_science = {
icon = GFX_colony_type_research
base_buildtime = 120
potential = { # planet scope
always = yes
}
unlock = { # planet scope
always = yes
}
resources = {
category = planet_zones
cost = {
}
}
include = {
all
}
included_building_sets = {
}
inline_script = {
script = jobs/zone_researchers_add
AMOUNT = 1000
}
planet_modifier = {
zone_building_slots_add = 3
}
}

View File

@@ -1,4 +1,4 @@
version="v4.0.2"
version="v3.*.*"
tags={
"Military"
"Balance"
@@ -8,5 +8,5 @@ tags={
}
picture="thumbnail.png"
name="Real Gray"
supported_version="v4.0.*"
supported_version="v3.*.*"
remote_file_id="2136166095"

View File

@@ -827,7 +827,7 @@ ship_event = {
is_triggered_only = yes
immediate = {
from = {
save_event_target_as = gray_homeworld
save_global_event_target_as = gray_homeworld
}
rg_timeline_attract_field_init = yes
}
@@ -848,30 +848,27 @@ country_event = {
id = graygoo.401
title = "TRANSMISSION"
desc = {
trigger = {
NOT = {
is_machine_empire = yes
}
}
trigger = { is_machine_empire = no }
text = "graygoo.401.a.desc"
}
desc = {
trigger = {
is_machine_empire = yes
}
trigger = { is_machine_empire = yes }
text = "graygoo.401.b.desc"
}
is_triggered_only = yes
diplomatic = yes
picture_event_data = {
portrait = event_target:rg_gray_country_leader
planet_background = event_target:gray_homeworld
room = "ethic_spaceship_room"
}
immediate = {
rg_gray_country_init = yes #创建国家
rg_timeline_attract_field_init = yes
}
option = {
name = graygoo.401.a
trigger = {
@@ -881,9 +878,7 @@ country_event = {
}
}
hidden_effect = {
country_event = {
id = graygoo.402
}
country_event = { id = graygoo.402 }
}
}
option = {
@@ -892,9 +887,7 @@ country_event = {
is_machine_empire = yes
}
hidden_effect = {
country_event = {
id = graygoo.402
}
country_event = { id = graygoo.402 }
}
}
option = {
@@ -903,9 +896,7 @@ country_event = {
is_hive_empire = yes
}
hidden_effect = {
country_event = {
id = graygoo.402
}
country_event = { id = graygoo.402 }
}
}
}
@@ -915,17 +906,11 @@ country_event = {
id = graygoo.402
title = "TRANSMISSION"
desc = {
trigger = {
NOT = {
is_machine_empire = yes
}
}
trigger = { is_machine_empire = no }
text = "graygoo.402.a.desc"
}
desc = {
trigger = {
is_machine_empire = yes
}
trigger = { is_machine_empire = yes }
text = "graygoo.402.b.desc"
}
diplomatic = yes
@@ -938,9 +923,7 @@ country_event = {
option = {
name = graygoo.402.a
hidden_effect = {
country_event = {
id = graygoo.403
}
country_event = { id = graygoo.403 }
}
}
}
@@ -960,9 +943,7 @@ country_event = {
option = {
name = graygoo.403.a
hidden_effect = {
country_event = {
id = graygoo.404
}
country_event = { id = graygoo.404 }
}
}
}
@@ -982,9 +963,7 @@ country_event = {
option = {
name = graygoo.404.a
hidden_effect = {
country_event = {
id = graygoo.405
}
country_event = { id = graygoo.405 }
}
}
}
@@ -1004,11 +983,7 @@ country_event = {
option = {
name = graygoo.405.a
hidden_effect = {
owner = {
country_event = {
id = graygoo.406
}
}
country_event = { id = graygoo.406 }
}
}
option = {
@@ -1017,19 +992,23 @@ country_event = {
}
}
# Gray 6
country_event = {
id = graygoo.406
title = "TRANSMISSION"
desc = "graygoo.406.desc"
diplomatic = yes
picture_event_data = {
portrait = event_target:rg_gray_country_leader
planet_background = event_target:gray_homeworld
room = ship_room
}
event_window_type = leader_recruit
is_triggered_only = yes
option = {
name = graygoo.406.a
response_text = graygoo.406.a.response
@@ -1090,8 +1069,29 @@ country_event = {
}
is_ai = no
}
inline_script = {
script = events/rg_graygoo/rg_graygoo.499
immediate = {
if = {
# 非正常触发补事件
limit = {
NOT = {
exists = event_target:rg_gray_country
}
}
rg_gray_country_init = yes #创建国家
}
rg_gray_country_after_init = yes
set_country_flag = machine_age_nanites_studied
create_message = {
type = MESSAGE_TYPE_RG_GRAY_GOO_LEADER_CHAT
localization = "rg_event.2.desc"
days = @toast_message_days
target = event_target:rg_gray_country_leader
variable = {
type = name
localization = LEADER
scope = event_target:rg_gray_country_leader
}
}
}
}
@@ -1117,20 +1117,10 @@ country_event = {
}
}
immediate = {
if = {
limit = {
RG_OR_has_wsg_mod_trigger = yes
}
country_event = {
id = rg_graygoo.500
}
}
else = {
country_event = {
id = rg_grayleader.500
}
}
}
}
# Main Menu (Governor)
@@ -1153,20 +1143,10 @@ country_event = {
exists = event_target:gray_governor
}
immediate = {
if = {
limit = {
RG_OR_has_wsg_mod_trigger = yes
}
country_event = {
id = rg_graygoo.501
}
}
else = {
country_event = {
id = rg_grayleader.501
}
}
}
}
# Main Menu (Warship)
@@ -1195,20 +1175,10 @@ country_event = {
}
}
immediate = {
if = {
limit = {
RG_OR_has_wsg_mod_trigger = yes
}
country_event = {
id = rg_graygoo.502
}
}
else = {
country_event = {
id = rg_grayleader.502
}
}
}
}
# Main Menu (Army)
@@ -1242,20 +1212,10 @@ country_event = {
}
}
immediate = {
if = {
limit = {
RG_OR_has_wsg_mod_trigger = yes
}
country_event = {
id = rg_graygoo.503
}
}
else = {
country_event = {
id = rg_grayleader.503
}
}
}
}
# Main Menu (Gray Reforming)
@@ -1274,20 +1234,10 @@ country_event = {
RG_gray_is_reforming_trigger = yes
}
immediate = {
if = {
limit = {
RG_OR_has_wsg_mod_trigger = yes
}
country_event = {
id = rg_graygoo.504
}
}
else = {
country_event = {
id = rg_grayleader.504
}
}
}
}
# Main Menu (const)
@@ -1316,20 +1266,10 @@ country_event = {
}
}
immediate = {
if = {
limit = {
RG_OR_has_wsg_mod_trigger = yes
}
country_event = {
id = rg_graygoo.505
}
}
else = {
country_event = {
id = rg_grayleader.505
}
}
}
}
# Gray destroyed or disbanded
@@ -1403,7 +1343,9 @@ country_event = {
desc = "graygoo.511.desc"
picture = GFX_evt_circuitry_modification
show_sound = event_radio_chatter
is_triggered_only = yes
option = {
name = graygoo.511.a
}

View File

@@ -1,35 +1,75 @@
namespace = rg_event
# 灰风起源创建灰风事件
# Spawn L-Cluster
# Fired from on_game_start_country
# Scope = Country
country_event = {
id = rg_event.1
hide_window = yes
is_triggered_only = yes
trigger = {
#有遥远约定起源
AND = {
has_origin = origin_rg_gray
# NOT = { has_global_flag = rg_origin_l_cluster }
}
}
immediate = {
#星团起源
if = {
limit = {
#有星团起源标记
has_civic = civic_rg_gray_cluster
}
if = {
#前提是没有已经存在的第一个遥远约定起源的全局标记
limit = {
NOT = {
has_global_flag = origin_rg_gray_1st_global
}
}
rg_event_effect_event1_cluster = yes
}
else = {
#不是第一个选了遥远约定起源的国家,怎么办?
rg_event_effect_event1_dragon = yes
}
}
#银河起源
else_if = {
limit = {
#有银河起源标记
has_civic = civic_rg_gray_non_cluster
}
rg_event_effect_event1_cluster_galaxy = yes
if = {
limit = {
OR = {
#有遥远的故事起源国家,这个条件为什么在这我忘了
any_country = {
has_origin = origin_Asgray
}
#前提是没有已经存在的第一个遥远约定起源的全局标记
NOT = {
has_global_flag = origin_rg_gray_1st_global
}
}
}
rg_event_effect_event1_galaxy = yes
}
else = {
#不是第一个选了遥远约定起源的国家,怎么办?
rg_event_effect_event1_dragon = yes
}
}
#两个标记都没有默认扔进星团
else = {
rg_event_effect_event1_cluster = yes
}
}
}
#小灰打招呼事件
# Fired from rg_event.1
# Scope = Country
country_event = {
id = rg_event.2
title = graygoo.500.title
@@ -41,14 +81,26 @@ country_event = {
}
is_triggered_only = yes
immediate = {
rg_event_effect_event2_gray_origin_init = yes
rg_gray_country_init = yes
#真正送小灰的事件调用499
country_event = {
id = graygoo.499
}
#给开局小科技
give_technology = {
tech = tech_minilaser_gray_1
message = no
}
give_technology = {
tech = tech_object_gray_5
message = no
}
}
option = {
name = rg_event.2.a
default_hide_option = yes
}
}
country_event = {
id = rg_event.3
title = "graygoo.500.title"
@@ -1203,11 +1255,16 @@ country_event = { # Memorial Valuts Civic Paragon Level Tick / FROM = Leader
immediate = {
rg_create_gray_planetkiller_testship_2 = yes
capital_scope = {
every_owned_pop_group = {
modify_species = {
species = root.species
species = owner_main_species
add_trait = rg_machine_maid_trait
}
}
}
}
}
# 拆毁工厂小灰通讯

View File

@@ -42,31 +42,6 @@ planet_event = {
}
set_update_modifiers_batch = end
}
} option = {
trigger = { has_civic = civic_AG_gray_master }
name = AG_dooropen_master.option
if = {
limit = {
any_country = {
has_civic = civic_AG_gray
}
}
#do nothing
}
else_if = {
limit = {
NOT = {
any_country = {
has_civic = civic_AG_gray
}
}
has_global_flag = has_rg_mod
}
force_remove_civic = civic_AG_gray_master
}
else = {
country_event = { id = graygoo.499 }
}
}
# Cracked

View File

@@ -262,11 +262,11 @@ country_event = {
NOR = {
free_jobs_of_type = {
job = mortal_initiate
value >= 1
value >= 100
}
free_jobs_of_type = {
category = bio_trophy
value >= 1
value >= 100
}
}
}
@@ -298,11 +298,11 @@ country_event = {
NOR = {
free_jobs_of_type = {
job = mortal_initiate
value >= 1
value >= 100
}
free_jobs_of_type = {
category = bio_trophy
value >= 1
value >= 100
}
}
# exists = event_target:rg_gray_habitat_target

View File

@@ -621,7 +621,10 @@ country_event = {
has_leader_flag = rg_fake_dragon
}
remove_trait = RG_leader_trait_admiral_timed_life
add_trait = RG_leader_trait_admiral_born_tobe_dragon
add_trait = {
trait = RG_leader_trait_admiral_born_tobe_dragon
show_message = no
}
set_leader_flag = rg_fake_dragon_reborn
set_age = 0
}
@@ -635,794 +638,3 @@ country_event = {
}
}
}
country_event = {
id = rg_story.21
title = "rg_story.21.title"
is_triggered_only = yes
trigger = {
}
picture = GFX_evt_space_dragon
show_sound = evn_fc_observation
desc = {
text = "rg_story.21.desc"
}
option = {
name = rg_story.21.a
default_hide_option = yes
}
}
# 龙噶了把所有卡住的的模拟龙扫描事件中止
country_event = {
id = rg_story.22
hide_window = yes
is_triggered_only = yes
trigger = {
from = {
is_country_type = guardian_dragon
NOR = {
has_country_flag = rubricator_dragon_country
has_country_flag = here_be_the_dragon
}
}
#fromfromfrom = {
# has_fleet_flag = dragon_fleet
#}
}
immediate = {
every_country = {
limit = {
has_special_project = RG_FAKE_DRAGON_SCAN_PROJECT
}
abort_special_project = {
type = RG_FAKE_DRAGON_SCAN_PROJECT
}
}
}
}
# 开始改造
country_event = {
id = rg_story.23
title = rg_story.23.title
desc = rg_story.23.desc
picture = GFX_evt_gray_goo_ships
show_sound = event_radio_chatter
is_triggered_only = yes
trigger = {
NOR = {
has_country_flag = rg_gray_level_2
has_country_flag = rg_gray_level_3
}
}
immediate = {
}
option = {
name = rg_story.23.a
default_hide_option = yes
}
option = {
name = rg_story.23.b
allow = {
resource_stockpile_compare = {
resource = energy
value >= 1500
}
resource_stockpile_compare = {
resource = alloys
value >= 1500
}
}
add_resource = {
energy = -1500
alloys = -1500
}
random_situation = {
limit = {
is_situation_type = situation_rg_gray_mod1
}
set_situation_flag = situation_rg_gray_mod1_stage_1_booster
}
}
}
country_event = {
id = rg_story.24
title = rg_story.24.title
desc = rg_story.24.desc
picture = GFX_evt_gray_goo_ships
show_sound = event_radio_chatter
is_triggered_only = yes
trigger = {
NOR = {
has_country_flag = rg_gray_level_2
has_country_flag = rg_gray_level_3
}
}
immediate = {
}
option = {
name = rg_story.24.a
default_hide_option = yes
}
option = {
name = rg_story.24.b
random_situation = {
limit = {
is_situation_type = situation_rg_gray_mod1
}
set_situation_flag = situation_rg_gray_mod1_stage_2_booster
}
}
}
country_event = {
id = rg_story.25
title = rg_story.25.title
desc = rg_story.25.desc
picture = GFX_evt_gray_goo_ships
show_sound = event_radio_chatter
is_triggered_only = yes
trigger = {
NOR = {
has_country_flag = rg_gray_level_2
has_country_flag = rg_gray_level_3
}
}
immediate = {
}
option = {
name = rg_story.25.a
default_hide_option = yes
random_situation = {
limit = {
is_situation_type = situation_rg_gray_mod1
}
set_situation_flag = situation_rg_gray_mod1_stage_3_booster
}
}
option = {
name = rg_story.25.b
allow = {
resource_stockpile_compare = {
resource = energy
value >= 5000
}
resource_stockpile_compare = {
resource = alloys
value >= 5000
}
}
add_resource = {
energy = -5000
alloys = -5000
}
rg_create_gray_mod1_testship_1 = yes
}
}
country_event = {
id = rg_story.26
title = rg_story.26.title
desc = rg_story.26.desc
picture = GFX_evt_gray_goo_ships
show_sound = event_radio_chatter
is_triggered_only = yes
trigger = {
NOR = {
has_country_flag = rg_gray_level_2
has_country_flag = rg_gray_level_3
}
}
immediate = {
}
option = {
name = rg_story.26.a
default_hide_option = yes
random_situation = {
limit = {
is_situation_type = situation_rg_gray_mod1
}
set_situation_flag = situation_rg_gray_mod1_stage_4_booster
}
}
option = {
name = rg_story.26.b
add_resource = {
energy = -5000
alloys = -5000
}
rg_create_gray_planetkiller_testship_1 = yes
}
}
country_event = {
id = rg_story.27
title = rg_story.27.title
desc = rg_story.27.desc
picture = GFX_evt_gray_goo_ships
show_sound = event_radio_chatter
is_triggered_only = yes
trigger = {
NOR = {
has_country_flag = rg_gray_level_2
has_country_flag = rg_gray_level_3
}
}
immediate = {
}
option = {
name = rg_story.27.a
default_hide_option = yes
}
option = {
name = rg_story.27.b
random_situation = {
limit = {
is_situation_type = situation_rg_gray_mod1
}
set_situation_flag = situation_rg_gray_mod1_stage_5_booster
}
}
}
country_event = {
id = rg_story.28
title = rg_story.28.title
desc = rg_story.28.desc
picture = GFX_evt_gray_goo_ships
show_sound = event_radio_chatter
is_triggered_only = yes
trigger = {
NOR = {
has_country_flag = rg_gray_level_2
has_country_flag = rg_gray_level_3
}
}
immediate = {
enable_special_project = {
name = RG_GRAY_MOD1
location = event_target:gray_owner_capital_starbase
owner = event_target:gray_owner
}
}
option = {
name = rg_story.28.a
default_hide_option = yes
random_situation = {
limit = {
is_situation_type = situation_rg_gray_mod1
}
set_situation_locked = yes
set_situation_flag = locked
set_situation_flag = rg_stage6_locked
set_situation_flag = situation_rg_gray_mod1_stage_6_booster
}
}
}
country_event = {
id = rg_story.29
title = rg_story.29.title
desc = rg_story.29.desc
picture = GFX_evt_gray_goo_ships
show_sound = event_radio_chatter
is_triggered_only = yes
trigger = {
NOR = {
has_country_flag = rg_gray_level_2
has_country_flag = rg_gray_level_3
}
}
immediate = {
}
option = {
name = rg_story.29.a
default_hide_option = yes
}
}
country_event = {
id = rg_story.30
title = rg_story.30.title
desc = rg_story.30.desc
picture = GFX_evt_gray_goo_ships
show_sound = event_radio_chatter
is_triggered_only = yes
trigger = {
NOR = {
has_country_flag = rg_gray_level_1
has_country_flag = rg_gray_level_3
}
}
immediate = {
}
option = {
name = rg_story.30.a
default_hide_option = yes
}
option = {
name = rg_story.30.b
enable_special_project = {
name = rg_gray_mod2_stage1_project
# location = event_target:gray_owner_capital_starbase
owner = event_target:gray_owner
}
}
}
country_event = {
id = rg_story.31
title = rg_story.31.title
desc = rg_story.31.desc
picture = GFX_evt_gray_goo_ships
show_sound = event_radio_chatter
is_triggered_only = yes
trigger = {
NOR = {
has_country_flag = rg_gray_level_1
has_country_flag = rg_gray_level_3
}
}
immediate = {
}
option = {
name = rg_story.31.a
default_hide_option = yes
}
option = {
name = rg_story.31.b
allow = {
resource_stockpile_compare = {
resource = nanites
value >= 150
}
}
add_resource = {
nanites = -150
}
random_situation = {
limit = {
is_situation_type = situation_rg_gray_mod2
}
set_situation_flag = situation_rg_gray_mod2_stage_2_booster
}
}
}
country_event = {
id = rg_story.32
title = rg_story.32.title
desc = rg_story.32.desc
picture = GFX_evt_gray_goo_ships
show_sound = event_radio_chatter
is_triggered_only = yes
trigger = {
NOR = {
has_country_flag = rg_gray_level_1
has_country_flag = rg_gray_level_3
}
}
immediate = {
}
option = {
name = rg_story.32.a
default_hide_option = yes
}
}
country_event = {
id = rg_story.33
title = rg_story.33.title
desc = rg_story.33.desc
picture = GFX_evt_gray_goo_ships
show_sound = event_radio_chatter
is_triggered_only = yes
trigger = {
NOR = {
has_country_flag = rg_gray_level_1
has_country_flag = rg_gray_level_3
}
}
immediate = {
}
option = {
name = rg_story.33.a
default_hide_option = yes
}
option = {
name = rg_story.33.b
enable_special_project = {
name = rg_gray_mod2_stage4_project
# location = event_target:gray_owner_capital_starbase
owner = event_target:gray_owner
}
}
}
country_event = {
id = rg_story.34
title = rg_story.34.title
desc = rg_story.34.desc
picture = GFX_evt_gray_goo_ships
show_sound = event_radio_chatter
is_triggered_only = yes
trigger = {
NOR = {
has_country_flag = rg_gray_level_1
has_country_flag = rg_gray_level_3
}
}
immediate = {
}
option = {
name = rg_story.34.a
default_hide_option = yes
}
option = {
name = rg_story.34.b
allow = {
resource_stockpile_compare = {
resource = alloys
value >= 1500
}
resource_stockpile_compare = {
resource = energy
value >= 1500
}
}
add_resource = {
alloys = -1500
}
add_resource = {
energy = -1500
}
rg_create_gray_mod1_testship_2 = yes
random_situation = {
limit = {
is_situation_type = situation_rg_gray_mod2
}
set_situation_flag = situation_rg_gray_mod2_stage_5_booster
}
}
}
country_event = {
id = rg_story.35
title = rg_story.35.title
desc = rg_story.35.desc
picture = GFX_evt_gray_goo_ships
show_sound = event_radio_chatter
is_triggered_only = yes
trigger = {
NOR = {
has_country_flag = rg_gray_level_1
has_country_flag = rg_gray_level_3
}
}
immediate = {
}
option = {
name = rg_story.35.a
default_hide_option = yes
}
option = {
name = rg_story.35.b
allow = {
resource_stockpile_compare = {
resource = alloys
value >= 1500
}
resource_stockpile_compare = {
resource = energy
value >= 1500
}
}
add_resource = {
alloys = -1500
}
add_resource = {
energy = -1500
}
rg_create_gray_mod1_testship_2 = yes
random_situation = {
limit = {
is_situation_type = situation_rg_gray_mod2
}
set_situation_flag = situation_rg_gray_mod2_stage_6_booster
}
}
}
country_event = {
id = rg_story.36
title = rg_story.36.title
desc = rg_story.36.desc
picture = GFX_evt_gray_goo_ships
show_sound = event_radio_chatter
is_triggered_only = yes
trigger = {
NOR = {
has_country_flag = rg_gray_level_1
has_country_flag = rg_gray_level_3
}
}
immediate = {
}
option = {
name = rg_story.36.a
default_hide_option = yes
}
option = {
name = rg_story.36.b
allow = {
resource_stockpile_compare = {
resource = energy
value >= 4000
}
resource_stockpile_compare = {
resource = minerals
value >= 1500
}
}
add_resource = {
alloys = -1500
}
add_resource = {
energy = -1500
}
random_situation = {
limit = {
is_situation_type = situation_rg_gray_mod2
}
set_situation_flag = situation_rg_gray_mod2_stage_7_booster
}
}
}
country_event = {
id = rg_story.37
title = rg_story.37.title
desc = rg_story.37.desc
picture = GFX_evt_gray_goo_ships
show_sound = event_radio_chatter
is_triggered_only = yes
trigger = {
NOR = {
has_country_flag = rg_gray_level_1
has_country_flag = rg_gray_level_3
}
}
immediate = {
}
option = {
name = rg_story.37.a
default_hide_option = yes
}
option = {
name = rg_story.37.b
allow = {
resource_stockpile_compare = {
resource = consumer_goods
value >= 3000
}
}
add_resource = {
consumer_goods = -3000
}
random_situation = {
limit = {
is_situation_type = situation_rg_gray_mod2
}
set_situation_flag = situation_rg_gray_mod2_stage_8_booster
}
}
}
country_event = {
id = rg_story.38
title = rg_story.38.title
desc = rg_story.38.desc
picture = GFX_evt_gray_goo_ships
show_sound = event_radio_chatter
is_triggered_only = yes
trigger = {
NOR = {
has_country_flag = rg_gray_level_1
has_country_flag = rg_gray_level_3
}
}
immediate = {
}
option = {
name = rg_story.38.a
default_hide_option = yes
}
option = {
name = rg_story.38.b
allow = {
resource_stockpile_compare = {
resource = alloys
value >= 1500
}
resource_stockpile_compare = {
resource = energy
value >= 1500
}
}
add_resource = {
alloys = -1500
}
add_resource = {
energy = -1500
}
rg_create_gray_mod1_testship_2 = yes
random_situation = {
limit = {
is_situation_type = situation_rg_gray_mod2
}
set_situation_flag = situation_rg_gray_mod2_stage_9_booster
}
}
}
country_event = {
id = rg_story.39
title = rg_story.39.title
desc = rg_story.39.desc
picture = GFX_evt_gray_goo_ships
show_sound = event_radio_chatter
is_triggered_only = yes
trigger = {
NOR = {
has_country_flag = rg_gray_level_1
has_country_flag = rg_gray_level_3
}
}
immediate = {
}
option = {
name = rg_story.39.a
default_hide_option = yes
}
option = {
name = rg_story.39.b
allow = {
resource_stockpile_compare = {
resource = alloys
value >= 3000
}
}
add_resource = {
alloys = -3000
}
random_situation = {
limit = {
is_situation_type = situation_rg_gray_mod2
}
set_situation_flag = situation_rg_gray_mod2_stage_10_booster
}
}
}
country_event = {
id = rg_story.40
title = rg_story.40.title
desc = rg_story.40.desc
picture = GFX_evt_gray_goo_ships
show_sound = event_radio_chatter
is_triggered_only = yes
trigger = {
NOR = {
has_country_flag = rg_gray_level_1
has_country_flag = rg_gray_level_3
}
}
immediate = {
}
option = {
name = rg_story.40.a
default_hide_option = yes
}
option = {
name = rg_story.40.b
allow = {
resource_stockpile_compare = {
resource = nanites
value >= 500
}
}
add_resource = {
alloys = -500
}
random_situation = {
limit = {
is_situation_type = situation_rg_gray_mod2
}
set_situation_flag = situation_rg_gray_mod2_stage_11_booster
}
}
}
country_event = {
id = rg_story.41
title = rg_story.41.title
desc = rg_story.41.desc
picture = GFX_evt_gray_goo_ships
show_sound = event_radio_chatter
is_triggered_only = yes
trigger = {
NOR = {
has_country_flag = rg_gray_level_1
has_country_flag = rg_gray_level_3
}
}
immediate = {
enable_special_project = {
name = RG_GRAY_MOD2
location = event_target:gray_owner_capital_starbase
owner = event_target:gray_owner
}
}
option = {
name = rg_story.41.a
default_hide_option = yes
random_situation = {
limit = {
is_situation_type = situation_rg_gray_mod2
}
set_situation_locked = yes
set_situation_flag = locked
set_situation_flag = rg_stage6_locked
}
}
}
country_event = {
id = rg_story.42
title = rg_story.42.title
desc = rg_story.42.desc
picture = GFX_evt_gray_goo_ships
show_sound = event_radio_chatter
is_triggered_only = yes
trigger = {
NOR = {
has_country_flag = rg_gray_level_1
has_country_flag = rg_gray_level_3
}
}
immediate = {
}
option = {
name = rg_story.42.a
default_hide_option = yes
}
}
country_event = {
id = rg_story.43
title = rg_story.43.title
desc = rg_story.43.desc
picture = GFX_evt_gray_goo_ships
show_sound = event_radio_chatter
is_triggered_only = yes
trigger = {
NOR = {
has_country_flag = rg_gray_level_1
has_country_flag = rg_gray_level_3
}
}
immediate = {
enable_special_project = {
name = RG_GRAY_MOD3
location = event_target:gray_owner_capital_starbase
owner = event_target:gray_owner
}
}
option = {
name = rg_story.43.a
default_hide_option = yes
}
}

792
events/RG_story_event2.txt Normal file
View File

@@ -0,0 +1,792 @@
namespace = rg_story
country_event = {
id = rg_story.21
title = "rg_story.21.title"
is_triggered_only = yes
trigger = {
}
picture = GFX_evt_space_dragon
show_sound = evn_fc_observation
desc = {
text = "rg_story.21.desc"
}
option = {
name = rg_story.21.a
default_hide_option = yes
}
}
# 龙噶了把所有卡住的的模拟龙扫描事件中止
country_event = {
id = rg_story.22
hide_window = yes
is_triggered_only = yes
trigger = {
from = {
is_country_type = guardian_dragon
NOR = {
has_country_flag = rubricator_dragon_country
has_country_flag = here_be_the_dragon
}
}
#fromfromfrom = {
# has_fleet_flag = dragon_fleet
#}
}
immediate = {
every_country = {
limit = {
has_special_project = RG_FAKE_DRAGON_SCAN_PROJECT
}
abort_special_project = {
type = RG_FAKE_DRAGON_SCAN_PROJECT
}
}
}
}
# 开始改造
country_event = {
id = rg_story.23
title = rg_story.23.title
desc = rg_story.23.desc
picture = GFX_evt_gray_goo_ships
show_sound = event_radio_chatter
is_triggered_only = yes
trigger = {
NOR = {
has_country_flag = rg_gray_level_2
has_country_flag = rg_gray_level_3
}
}
immediate = {
}
option = {
name = rg_story.23.a
default_hide_option = yes
}
option = {
name = rg_story.23.b
allow = {
resource_stockpile_compare = {
resource = energy
value >= 1500
}
resource_stockpile_compare = {
resource = alloys
value >= 1500
}
}
add_resource = {
energy = -1500
alloys = -1500
}
random_situation = {
limit = {
is_situation_type = situation_rg_gray_mod1
}
set_situation_flag = situation_rg_gray_mod1_stage_1_booster
}
}
}
country_event = {
id = rg_story.24
title = rg_story.24.title
desc = rg_story.24.desc
picture = GFX_evt_gray_goo_ships
show_sound = event_radio_chatter
is_triggered_only = yes
trigger = {
NOR = {
has_country_flag = rg_gray_level_2
has_country_flag = rg_gray_level_3
}
}
immediate = {
}
option = {
name = rg_story.24.a
default_hide_option = yes
}
option = {
name = rg_story.24.b
random_situation = {
limit = {
is_situation_type = situation_rg_gray_mod1
}
set_situation_flag = situation_rg_gray_mod1_stage_2_booster
}
}
}
country_event = {
id = rg_story.25
title = rg_story.25.title
desc = rg_story.25.desc
picture = GFX_evt_gray_goo_ships
show_sound = event_radio_chatter
is_triggered_only = yes
trigger = {
NOR = {
has_country_flag = rg_gray_level_2
has_country_flag = rg_gray_level_3
}
}
immediate = {
}
option = {
name = rg_story.25.a
default_hide_option = yes
random_situation = {
limit = {
is_situation_type = situation_rg_gray_mod1
}
set_situation_flag = situation_rg_gray_mod1_stage_3_booster
}
}
option = {
name = rg_story.25.b
allow = {
resource_stockpile_compare = {
resource = energy
value >= 5000
}
resource_stockpile_compare = {
resource = alloys
value >= 5000
}
}
add_resource = {
energy = -5000
alloys = -5000
}
rg_create_gray_mod1_testship_1 = yes
}
}
country_event = {
id = rg_story.26
title = rg_story.26.title
desc = rg_story.26.desc
picture = GFX_evt_gray_goo_ships
show_sound = event_radio_chatter
is_triggered_only = yes
trigger = {
NOR = {
has_country_flag = rg_gray_level_2
has_country_flag = rg_gray_level_3
}
}
immediate = {
}
option = {
name = rg_story.26.a
default_hide_option = yes
random_situation = {
limit = {
is_situation_type = situation_rg_gray_mod1
}
set_situation_flag = situation_rg_gray_mod1_stage_4_booster
}
}
option = {
name = rg_story.26.b
add_resource = {
energy = -5000
alloys = -5000
}
rg_create_gray_planetkiller_testship_1 = yes
}
}
country_event = {
id = rg_story.27
title = rg_story.27.title
desc = rg_story.27.desc
picture = GFX_evt_gray_goo_ships
show_sound = event_radio_chatter
is_triggered_only = yes
trigger = {
NOR = {
has_country_flag = rg_gray_level_2
has_country_flag = rg_gray_level_3
}
}
immediate = {
}
option = {
name = rg_story.27.a
default_hide_option = yes
}
option = {
name = rg_story.27.b
random_situation = {
limit = {
is_situation_type = situation_rg_gray_mod1
}
set_situation_flag = situation_rg_gray_mod1_stage_5_booster
}
}
}
country_event = {
id = rg_story.28
title = rg_story.28.title
desc = rg_story.28.desc
picture = GFX_evt_gray_goo_ships
show_sound = event_radio_chatter
is_triggered_only = yes
trigger = {
NOR = {
has_country_flag = rg_gray_level_2
has_country_flag = rg_gray_level_3
}
}
immediate = {
enable_special_project = {
name = RG_GRAY_MOD1
location = event_target:gray_owner_capital_starbase
owner = event_target:gray_owner
}
}
option = {
name = rg_story.28.a
default_hide_option = yes
random_situation = {
limit = {
is_situation_type = situation_rg_gray_mod1
}
set_situation_locked = yes
set_situation_flag = locked
set_situation_flag = rg_stage6_locked
set_situation_flag = situation_rg_gray_mod1_stage_6_booster
}
}
}
country_event = {
id = rg_story.29
title = rg_story.29.title
desc = rg_story.29.desc
picture = GFX_evt_gray_goo_ships
show_sound = event_radio_chatter
is_triggered_only = yes
trigger = {
NOR = {
has_country_flag = rg_gray_level_2
has_country_flag = rg_gray_level_3
}
}
immediate = {
}
option = {
name = rg_story.29.a
default_hide_option = yes
}
}
country_event = {
id = rg_story.30
title = rg_story.30.title
desc = rg_story.30.desc
picture = GFX_evt_gray_goo_ships
show_sound = event_radio_chatter
is_triggered_only = yes
trigger = {
NOR = {
has_country_flag = rg_gray_level_1
has_country_flag = rg_gray_level_3
}
}
immediate = {
}
option = {
name = rg_story.30.a
default_hide_option = yes
}
option = {
name = rg_story.30.b
enable_special_project = {
name = rg_gray_mod2_stage1_project
# location = event_target:gray_owner_capital_starbase
owner = event_target:gray_owner
}
}
}
country_event = {
id = rg_story.31
title = rg_story.31.title
desc = rg_story.31.desc
picture = GFX_evt_gray_goo_ships
show_sound = event_radio_chatter
is_triggered_only = yes
trigger = {
NOR = {
has_country_flag = rg_gray_level_1
has_country_flag = rg_gray_level_3
}
}
immediate = {
}
option = {
name = rg_story.31.a
default_hide_option = yes
}
option = {
name = rg_story.31.b
allow = {
resource_stockpile_compare = {
resource = nanites
value >= 150
}
}
add_resource = {
nanites = -150
}
random_situation = {
limit = {
is_situation_type = situation_rg_gray_mod2
}
set_situation_flag = situation_rg_gray_mod2_stage_2_booster
}
}
}
country_event = {
id = rg_story.32
title = rg_story.32.title
desc = rg_story.32.desc
picture = GFX_evt_gray_goo_ships
show_sound = event_radio_chatter
is_triggered_only = yes
trigger = {
NOR = {
has_country_flag = rg_gray_level_1
has_country_flag = rg_gray_level_3
}
}
immediate = {
}
option = {
name = rg_story.32.a
default_hide_option = yes
}
}
country_event = {
id = rg_story.33
title = rg_story.33.title
desc = rg_story.33.desc
picture = GFX_evt_gray_goo_ships
show_sound = event_radio_chatter
is_triggered_only = yes
trigger = {
NOR = {
has_country_flag = rg_gray_level_1
has_country_flag = rg_gray_level_3
}
}
immediate = {
}
option = {
name = rg_story.33.a
default_hide_option = yes
}
option = {
name = rg_story.33.b
enable_special_project = {
name = rg_gray_mod2_stage4_project
# location = event_target:gray_owner_capital_starbase
owner = event_target:gray_owner
}
}
}
country_event = {
id = rg_story.34
title = rg_story.34.title
desc = rg_story.34.desc
picture = GFX_evt_gray_goo_ships
show_sound = event_radio_chatter
is_triggered_only = yes
trigger = {
NOR = {
has_country_flag = rg_gray_level_1
has_country_flag = rg_gray_level_3
}
}
immediate = {
}
option = {
name = rg_story.34.a
default_hide_option = yes
}
option = {
name = rg_story.34.b
allow = {
resource_stockpile_compare = {
resource = alloys
value >= 1500
}
resource_stockpile_compare = {
resource = energy
value >= 1500
}
}
add_resource = {
alloys = -1500
}
add_resource = {
energy = -1500
}
rg_create_gray_mod1_testship_2 = yes
random_situation = {
limit = {
is_situation_type = situation_rg_gray_mod2
}
set_situation_flag = situation_rg_gray_mod2_stage_5_booster
}
}
}
country_event = {
id = rg_story.35
title = rg_story.35.title
desc = rg_story.35.desc
picture = GFX_evt_gray_goo_ships
show_sound = event_radio_chatter
is_triggered_only = yes
trigger = {
NOR = {
has_country_flag = rg_gray_level_1
has_country_flag = rg_gray_level_3
}
}
immediate = {
}
option = {
name = rg_story.35.a
default_hide_option = yes
}
option = {
name = rg_story.35.b
allow = {
resource_stockpile_compare = {
resource = alloys
value >= 1500
}
resource_stockpile_compare = {
resource = energy
value >= 1500
}
}
add_resource = {
alloys = -1500
}
add_resource = {
energy = -1500
}
rg_create_gray_mod1_testship_2 = yes
random_situation = {
limit = {
is_situation_type = situation_rg_gray_mod2
}
set_situation_flag = situation_rg_gray_mod2_stage_6_booster
}
}
}
country_event = {
id = rg_story.36
title = rg_story.36.title
desc = rg_story.36.desc
picture = GFX_evt_gray_goo_ships
show_sound = event_radio_chatter
is_triggered_only = yes
trigger = {
NOR = {
has_country_flag = rg_gray_level_1
has_country_flag = rg_gray_level_3
}
}
immediate = {
}
option = {
name = rg_story.36.a
default_hide_option = yes
}
option = {
name = rg_story.36.b
allow = {
resource_stockpile_compare = {
resource = energy
value >= 4000
}
resource_stockpile_compare = {
resource = minerals
value >= 1500
}
}
add_resource = {
alloys = -1500
}
add_resource = {
energy = -1500
}
random_situation = {
limit = {
is_situation_type = situation_rg_gray_mod2
}
set_situation_flag = situation_rg_gray_mod2_stage_7_booster
}
}
}
country_event = {
id = rg_story.37
title = rg_story.37.title
desc = rg_story.37.desc
picture = GFX_evt_gray_goo_ships
show_sound = event_radio_chatter
is_triggered_only = yes
trigger = {
NOR = {
has_country_flag = rg_gray_level_1
has_country_flag = rg_gray_level_3
}
}
immediate = {
}
option = {
name = rg_story.37.a
default_hide_option = yes
}
option = {
name = rg_story.37.b
allow = {
resource_stockpile_compare = {
resource = consumer_goods
value >= 3000
}
}
add_resource = {
consumer_goods = -3000
}
random_situation = {
limit = {
is_situation_type = situation_rg_gray_mod2
}
set_situation_flag = situation_rg_gray_mod2_stage_8_booster
}
}
}
country_event = {
id = rg_story.38
title = rg_story.38.title
desc = rg_story.38.desc
picture = GFX_evt_gray_goo_ships
show_sound = event_radio_chatter
is_triggered_only = yes
trigger = {
NOR = {
has_country_flag = rg_gray_level_1
has_country_flag = rg_gray_level_3
}
}
immediate = {
}
option = {
name = rg_story.38.a
default_hide_option = yes
}
option = {
name = rg_story.38.b
allow = {
resource_stockpile_compare = {
resource = alloys
value >= 1500
}
resource_stockpile_compare = {
resource = energy
value >= 1500
}
}
add_resource = {
alloys = -1500
}
add_resource = {
energy = -1500
}
rg_create_gray_mod1_testship_2 = yes
random_situation = {
limit = {
is_situation_type = situation_rg_gray_mod2
}
set_situation_flag = situation_rg_gray_mod2_stage_9_booster
}
}
}
country_event = {
id = rg_story.39
title = rg_story.39.title
desc = rg_story.39.desc
picture = GFX_evt_gray_goo_ships
show_sound = event_radio_chatter
is_triggered_only = yes
trigger = {
NOR = {
has_country_flag = rg_gray_level_1
has_country_flag = rg_gray_level_3
}
}
immediate = {
}
option = {
name = rg_story.39.a
default_hide_option = yes
}
option = {
name = rg_story.39.b
allow = {
resource_stockpile_compare = {
resource = alloys
value >= 3000
}
}
add_resource = {
alloys = -3000
}
random_situation = {
limit = {
is_situation_type = situation_rg_gray_mod2
}
set_situation_flag = situation_rg_gray_mod2_stage_10_booster
}
}
}
country_event = {
id = rg_story.40
title = rg_story.40.title
desc = rg_story.40.desc
picture = GFX_evt_gray_goo_ships
show_sound = event_radio_chatter
is_triggered_only = yes
trigger = {
NOR = {
has_country_flag = rg_gray_level_1
has_country_flag = rg_gray_level_3
}
}
immediate = {
}
option = {
name = rg_story.40.a
default_hide_option = yes
}
option = {
name = rg_story.40.b
allow = {
resource_stockpile_compare = {
resource = nanites
value >= 500
}
}
add_resource = {
alloys = -500
}
random_situation = {
limit = {
is_situation_type = situation_rg_gray_mod2
}
set_situation_flag = situation_rg_gray_mod2_stage_11_booster
}
}
}
country_event = {
id = rg_story.41
title = rg_story.41.title
desc = rg_story.41.desc
picture = GFX_evt_gray_goo_ships
show_sound = event_radio_chatter
is_triggered_only = yes
trigger = {
NOR = {
has_country_flag = rg_gray_level_1
has_country_flag = rg_gray_level_3
}
}
immediate = {
enable_special_project = {
name = RG_GRAY_MOD2
location = event_target:gray_owner_capital_starbase
owner = event_target:gray_owner
}
}
option = {
name = rg_story.41.a
default_hide_option = yes
random_situation = {
limit = {
is_situation_type = situation_rg_gray_mod2
}
set_situation_locked = yes
set_situation_flag = locked
set_situation_flag = rg_stage6_locked
}
}
}
country_event = {
id = rg_story.42
title = rg_story.42.title
desc = rg_story.42.desc
picture = GFX_evt_gray_goo_ships
show_sound = event_radio_chatter
is_triggered_only = yes
trigger = {
NOR = {
has_country_flag = rg_gray_level_1
has_country_flag = rg_gray_level_3
}
}
immediate = {
}
option = {
name = rg_story.42.a
default_hide_option = yes
}
}
country_event = {
id = rg_story.43
title = rg_story.43.title
desc = rg_story.43.desc
picture = GFX_evt_gray_goo_ships
show_sound = event_radio_chatter
is_triggered_only = yes
trigger = {
NOR = {
has_country_flag = rg_gray_level_1
has_country_flag = rg_gray_level_3
}
}
immediate = {
enable_special_project = {
name = RG_GRAY_MOD3
location = event_target:gray_owner_capital_starbase
owner = event_target:gray_owner
}
}
option = {
name = rg_story.43.a
default_hide_option = yes
}
}

View File

@@ -1,143 +0,0 @@
namespace = rg_graygoo
# 舰R启用兼容用事件
# Main Menu (Initial)
country_event = {
id = rg_graygoo.500
title = "graygoo.500.title"
desc = "graygoo.500.a.desc"
desc = "graygoo.500.b.desc"
desc = "graygoo.500.c.desc"
desc = "graygoo.500.d.desc"
diplomatic = yes
custom_gui = wg_gray_new_commu_window
custom_gui_option = wg_new_commu_option
is_triggered_only = yes
inline_script = {
script = events/rg_graygoo/rg_graygoo.500
}
}
# Main Menu (Governor)
country_event = {
id = rg_graygoo.501
title = "graygoo.500.title"
desc = "graygoo.501.a.desc"
desc = "graygoo.501.b.desc"
desc = "graygoo.501.c.desc"
desc = "graygoo.501.d.desc"
diplomatic = yes
custom_gui = wg_gray_new_commu_window
custom_gui_option = wg_new_commu_option
is_triggered_only = yes
inline_script = {
script = events/rg_graygoo/rg_graygoo.501
}
}
# Main Menu (Warship)
country_event = {
id = rg_graygoo.502
title = "graygoo.500.title"
desc = "graygoo.502.a.desc"
desc = "graygoo.502.b.desc"
desc = "graygoo.502.c.desc"
desc = "graygoo.502.d.desc"
diplomatic = yes
custom_gui = wg_gray_new_commu_window
custom_gui_option = wg_new_commu_option
is_triggered_only = yes
inline_script = {
script = events/rg_graygoo/rg_graygoo.502
}
}
# Main Menu (Army)
country_event = {
id = rg_graygoo.503
title = "graygoo.500.title"
desc = "graygoo.503.a.desc"
desc = "graygoo.503.b.desc"
desc = "graygoo.503.c.desc"
desc = "graygoo.503.d.desc"
diplomatic = yes
custom_gui = wg_gray_new_commu_window
custom_gui_option = wg_new_commu_option
is_triggered_only = yes
inline_script = {
script = events/rg_graygoo/rg_graygoo.503
}
}
# Main Menu (Gray Reforming)
country_event = {
id = rg_graygoo.504
title = "graygoo.500.title"
desc = "graygoo.504.desc"
diplomatic = yes
custom_gui = wg_gray_new_commu_window
custom_gui_option = wg_new_commu_option
is_triggered_only = yes
inline_script = {
script = events/rg_graygoo/rg_graygoo.504
}
}
# Main Menu (const)
country_event = {
id = rg_graygoo.505
title = "graygoo.500.title"
desc = "graygoo.505.a.desc"
desc = "graygoo.505.b.desc"
desc = "graygoo.505.c.desc"
desc = "graygoo.505.d.desc"
diplomatic = yes
custom_gui = wg_gray_new_commu_window
custom_gui_option = wg_new_commu_option
is_triggered_only = yes
inline_script = {
script = events/rg_graygoo/rg_graygoo.505
}
}
# help Menu (Initial)
country_event = {
id = rg_graygoo.4
title = "graygoo.500.title"
desc = "rg_graygoo.4.a.desc"
diplomatic = yes
custom_gui = wg_gray_new_commu_window
custom_gui_option = wg_new_commu_option
is_triggered_only = yes
inline_script = {
script = events/rg_graygoo/rg_graygoo.4
}
}
country_event = {
id = rg_graygoo.5
title = "graygoo.500.title"
desc = "rg_event.5.a.desc"
desc = "rg_event.5.b.desc"
desc = "rg_event.5.c.desc"
diplomatic = yes
custom_gui = wg_gray_new_commu_window
custom_gui_option = wg_new_commu_option
is_triggered_only = yes
inline_script = {
script = events/rg_graygoo/rg_graygoo.5
}
}
country_event = {
id = rg_graygoo.6
title = "graygoo.500.title"
desc = "rg_event.6.a.desc"
desc = "rg_event.6.b.desc"
diplomatic = yes
custom_gui = wg_gray_new_commu_window
custom_gui_option = wg_new_commu_option
is_triggered_only = yes
inline_script = {
script = events/rg_graygoo/rg_graygoo.6
}
}

View File

@@ -1,24 +0,0 @@
namespace = wg_affection
# 3.9引用空事件崩溃问题占位
# 3.10已弃用
# country_event = {
# id = wg_affection.30000
# title = wg_affection.30000.name
# desc = wg_affection.30000.desc
# is_triggered_only = yes
# diplomatic = yes
# show_sound = event_wg_wedding
# custom_gui = wg_gray_commu_window
# custom_gui_option = wg_gray_commu_option
#
# immediate = {
# set_country_flag = married_gray
# }
#
# option = {
# name = wg_affection.30000.a
# response_text = wg_affection.30000.response
# change_variable = { which = rankpts value = 2 }
# }
# }

View File

@@ -121,3 +121,6 @@
opinion_nanophage: "神秘失踪"
opinion_nanophage_our_species: "纳米同化我们的物种"
MESSAGE_RG_GRAY_GOO_LEADER_CHAT_TITLE:"小灰"
MESSAGE_TYPE_RG_GRAY_GOO_LEADER_CHAT:"小灰的悄悄话"

View File

@@ -14,30 +14,43 @@
district_rg_farming: "农业区段"
district_rg_farming_plural: "农业区段"
district_rg_farming_desc: "无垠的农田之海充斥着这个区段,其中种满了大量的食物。"
district_rg_generator: "发电区段"
district_rg_generator_plural: "发电区段"
district_rg_generator_desc: "反应堆填满了这个区段,专注于生产能量。"
district_rg_nanites: "纳米区段"
district_rg_nanites_plural: "纳米区段"
district_rg_nanites_desc: "纳米机器复制仪填满了这个区段,目标是生产尽可能多的纳米机器人。"
district_rg_generator: "纳米复制区段"
district_rg_generator_plural: "纳米复制区段"
district_rg_generator_desc: "纳米机器复制仪填满了这个区段,专注于生产基础资源。"
district_rg_nanites: "纳米铸造区段"
district_rg_nanites_plural: "纳米铸造区段"
district_rg_nanites_desc: "纳米机器复制仪填满了这个区段,目标是生产尽可能多的纳米机器人与合金。"
district_rg_mining: "采矿区段"
district_rg_mining_plural: "采矿区段"
district_rg_mining_desc: "采矿无人机集群填满了这个区段,专注于从附近星球上采集有用的矿物。"
district_rg_science: "研区段"
district_rg_science_plural: "研区段"
district_rg_science_desc: "这个区段充满了各类研究设施。"
district_rg_science: "纳米科研区段"
district_rg_science_plural: "纳米科研区段"
district_rg_science_desc: "这个区段充满了住房与各类研究设施。"
district_rg_commercial: "商业区段"
district_rg_commercial_plural: "商业区段"
district_rg_commercial_desc: "这个区段充斥着专门用于商业的民用工厂和设施。"
district_rg_city: "城市区段"
district_rg_city_plural: "城市区段"
district_rg_city: "纳米居住区段"
district_rg_city_plural: "纳米居住区段"
district_rg_city_desc: "这个区段充满了城市中心,这些城市中心提供大量的住房和职员的办公场所。"
district_rg_hive: "蜂巢区段"
district_rg_hive_plural: "蜂巢区段"
district_rg_hive: "纳米蜂巢区段"
district_rg_hive_plural: "纳米蜂巢区段"
district_rg_hive_desc: "高耸的尖塔布满这个区段,当子个体不在工作时,就会集结于此摄取营养素。"
district_rg_nexus: "中枢区段"
district_rg_nexus_plural: "中枢区段"
district_rg_nexus: "纳米中枢区段"
district_rg_nexus_plural: "纳米中枢区段"
district_rg_nexus_desc: "高效的区划填满了这个区段,无人机部署作业前,在这些集中区划中接受整修服务。"
district_rg_industrial: "工业区段"
district_rg_industrial_plural: "工业区段"
district_rg_industrial: "纳米铸造区段"
district_rg_industrial_plural: "纳米铸造区段"
district_rg_industrial_desc: "这个区段中遍布着叮当作响的工厂与强劲的机械,为帝国提供了有力的工业基础。"
zone_rg_city_housing:0 "纳米居住特化"
zone_rg_city_housing_desc:0 "使用零素方钢和纳米物质,房屋就像凭空出现一样相互堆叠。"
zone_rg_city_housing_plural:0 "纳米居住特化"
zone_rg_city_foundry:0 "纳米复制特化"
zone_rg_city_foundry_desc:0 "使用先进的零素方钢和膨胀螺栓堆叠技术,这些凭空增加的复制仪专注于生产基础资源。"
zone_rg_city_foundry_plural:0 "纳米复制特化"
zone_rg_city_science:0 "纳米研发特化"
zone_rg_city_science_desc:0 "通过缩减研究人员宿舍空间,我们的科研设备数量得以增加。"
zone_rg_city_science_plural:0 "纳米研发特化"
zone_rg_city_alloys:0 "纳米铸造特化"
zone_rg_city_alloys_desc:0 "使用先进的零素方钢和膨胀螺栓堆叠技术,这些凭空增加的复制仪目标是生产尽可能多的纳米机器人与合金。"
zone_rg_city_alloys_plural:0 "纳米铸造特化"

View File

@@ -1,10 +1,20 @@
{
"folders": [
{
"path": "."
"name": "playasgray",
"path": "../playasgray"
},
{
"name": "Stellaris",
"path": "../../../../../../../Steam/steamapps/common/Stellaris"
},
{
"name": "2293827000",
"path": "../../../../../../../Steam/steamapps/workshop/content/281990/2293827000"
},
{
"name": "3412303559",
"path": "../../../../../../../Steam/steamapps/workshop/content/281990/3412303559"
}
]
}