筛查修语法bug
This commit is contained in:
parent
638a314145
commit
7aa701f86d
@ -11,7 +11,7 @@ rg_ap_nantiematter = {
|
|||||||
can_research_technology = tech_lgate_activation
|
can_research_technology = tech_lgate_activation
|
||||||
}
|
}
|
||||||
NOT = {
|
NOT = {
|
||||||
has_ascension_perk = rg_nantiematter
|
has_ascension_perk = rg_ap_nantiematter
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
potential = {
|
potential = {
|
||||||
|
@ -2,16 +2,27 @@
|
|||||||
# BASIC SHIP COMPUTERS #
|
# BASIC SHIP COMPUTERS #
|
||||||
########################
|
########################
|
||||||
|
|
||||||
|
@cost1 = 5
|
||||||
|
@cost2 = 10
|
||||||
|
@cost3 = 15
|
||||||
|
@cost4 = 20
|
||||||
|
|
||||||
|
@power0 = -5
|
||||||
|
@power1 = -10
|
||||||
|
@power2 = -15
|
||||||
|
@power3 = -20
|
||||||
|
@power4 = -30
|
||||||
|
|
||||||
utility_component_template = {
|
utility_component_template = {
|
||||||
key = "RG_COMBAT_COMPUTER_SWARM_DEFAULT"
|
key = "RG_COMBAT_COMPUTER_SWARM_DEFAULT"
|
||||||
size = small
|
size = small
|
||||||
icon = "GFX_ship_part_computer_default"
|
icon = "GFX_ship_part_computer_default"
|
||||||
icon_frame = 1
|
icon_frame = 1
|
||||||
power = @power0
|
power = -5
|
||||||
resources = {
|
resources = {
|
||||||
category = ship_components
|
category = ship_components
|
||||||
cost = {
|
cost = {
|
||||||
alloys = @cost0
|
alloys = 0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ship_behavior = "swarm"
|
ship_behavior = "swarm"
|
||||||
@ -40,11 +51,11 @@ utility_component_template = {
|
|||||||
size = small
|
size = small
|
||||||
icon = "GFX_ship_part_computer_default"
|
icon = "GFX_ship_part_computer_default"
|
||||||
icon_frame = 1
|
icon_frame = 1
|
||||||
power = @power0
|
power = -5
|
||||||
resources = {
|
resources = {
|
||||||
category = ship_components
|
category = ship_components
|
||||||
cost = {
|
cost = {
|
||||||
alloys = @cost0
|
alloys = 0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ship_behavior = "picket"
|
ship_behavior = "picket"
|
||||||
@ -75,11 +86,11 @@ utility_component_template = {
|
|||||||
size = small
|
size = small
|
||||||
icon = "GFX_ship_part_computer_default"
|
icon = "GFX_ship_part_computer_default"
|
||||||
icon_frame = 1
|
icon_frame = 1
|
||||||
power = @power0
|
power = -5
|
||||||
resources = {
|
resources = {
|
||||||
category = ship_components
|
category = ship_components
|
||||||
cost = {
|
cost = {
|
||||||
alloys = @cost0
|
alloys = 0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ship_behavior = "line"
|
ship_behavior = "line"
|
||||||
@ -108,11 +119,11 @@ utility_component_template = {
|
|||||||
size = small
|
size = small
|
||||||
icon = "GFX_ship_part_computer_default"
|
icon = "GFX_ship_part_computer_default"
|
||||||
icon_frame = 1
|
icon_frame = 1
|
||||||
power = @power0
|
power = -5
|
||||||
resources = {
|
resources = {
|
||||||
category = ship_components
|
category = ship_components
|
||||||
cost = {
|
cost = {
|
||||||
alloys = @cost0
|
alloys = 0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ship_behavior = "artillery"
|
ship_behavior = "artillery"
|
||||||
@ -141,11 +152,11 @@ utility_component_template = {
|
|||||||
size = small
|
size = small
|
||||||
icon = "GFX_ship_part_computer_default"
|
icon = "GFX_ship_part_computer_default"
|
||||||
icon_frame = 1
|
icon_frame = 1
|
||||||
power = @power0
|
power = -5
|
||||||
resources = {
|
resources = {
|
||||||
category = ship_components
|
category = ship_components
|
||||||
cost = {
|
cost = {
|
||||||
alloys = @cost0
|
alloys = 0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ship_behavior = "torpedo"
|
ship_behavior = "torpedo"
|
||||||
|
@ -371,40 +371,40 @@ utility_component_template = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
utility_component_template = {
|
utility_component_template = {
|
||||||
key = "RG_Mothership_DARK_MATTER_REACTOR"
|
key = "RG_Mothership_DARK_MATTER_REACTOR"
|
||||||
size = small
|
size = small
|
||||||
icon = "GFX_ship_part_dark_matter_power_core"
|
icon = "GFX_ship_part_dark_matter_power_core"
|
||||||
icon_frame = 1
|
icon_frame = 1
|
||||||
power =
|
power = 20
|
||||||
resources = {
|
resources = {
|
||||||
category = ship_components
|
category = ship_components
|
||||||
cost = {
|
cost = {
|
||||||
alloys = 296
|
alloys = 296
|
||||||
sr_dark_matter = 8
|
sr_dark_matter = 8
|
||||||
}
|
}
|
||||||
upkeep = {
|
upkeep = {
|
||||||
energy = 2.98
|
energy = 2.98
|
||||||
alloys = 0.298
|
alloys = 0.298
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
prerequisites = {
|
prerequisites = {
|
||||||
"tech_dark_matter_power_core"
|
"tech_dark_matter_power_core"
|
||||||
}
|
}
|
||||||
component_set = "power_core"
|
component_set = "power_core"
|
||||||
size_restriction = {
|
size_restriction = {
|
||||||
RG_graygoo_mothership
|
RG_graygoo_mothership
|
||||||
RG_gray_juggernaut
|
RG_gray_juggernaut
|
||||||
RG_graygoo_capitalship
|
RG_graygoo_capitalship
|
||||||
}
|
}
|
||||||
ai_weight = {
|
ai_weight = {
|
||||||
weight = 6
|
weight = 6
|
||||||
modifier = {
|
modifier = {
|
||||||
factor = 0
|
factor = 0
|
||||||
no_resource_for_component = {
|
no_resource_for_component = {
|
||||||
RESOURCE = sr_dark_matter
|
RESOURCE = sr_dark_matter
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
utility_component_template = {
|
utility_component_template = {
|
||||||
@ -446,7 +446,7 @@ utility_component_template = {
|
|||||||
category = ship_components
|
category = ship_components
|
||||||
cost = {
|
cost = {
|
||||||
alloys = 80
|
alloys = 80
|
||||||
nanties = 2
|
nanites = 2
|
||||||
}
|
}
|
||||||
upkeep = {
|
upkeep = {
|
||||||
energy = 0.8
|
energy = 0.8
|
||||||
@ -473,7 +473,7 @@ utility_component_template = {
|
|||||||
size = small
|
size = small
|
||||||
icon = "GFX_ship_part_thruster_1"
|
icon = "GFX_ship_part_thruster_1"
|
||||||
icon_frame = 1
|
icon_frame = 1
|
||||||
power = @battleship_power_1
|
power = -80
|
||||||
resources = {
|
resources = {
|
||||||
category = ship_components
|
category = ship_components
|
||||||
cost = {
|
cost = {
|
||||||
@ -508,7 +508,7 @@ utility_component_template = {
|
|||||||
size = small
|
size = small
|
||||||
icon = "GFX_ship_part_thruster_2"
|
icon = "GFX_ship_part_thruster_2"
|
||||||
icon_frame = 1
|
icon_frame = 1
|
||||||
power = @battleship_power_2
|
power = -120
|
||||||
resources = {
|
resources = {
|
||||||
category = ship_components
|
category = ship_components
|
||||||
cost = {
|
cost = {
|
||||||
@ -545,7 +545,7 @@ utility_component_template = {
|
|||||||
size = small
|
size = small
|
||||||
icon = "GFX_ship_part_thruster_3"
|
icon = "GFX_ship_part_thruster_3"
|
||||||
icon_frame = 1
|
icon_frame = 1
|
||||||
power = @battleship_power_3
|
power = -160
|
||||||
resources = {
|
resources = {
|
||||||
category = ship_components
|
category = ship_components
|
||||||
cost = {
|
cost = {
|
||||||
@ -582,7 +582,7 @@ utility_component_template = {
|
|||||||
size = small
|
size = small
|
||||||
icon = "GFX_ship_part_thruster_4"
|
icon = "GFX_ship_part_thruster_4"
|
||||||
icon_frame = 1
|
icon_frame = 1
|
||||||
power = @battleship_power_4
|
power = -200
|
||||||
resources = {
|
resources = {
|
||||||
category = ship_components
|
category = ship_components
|
||||||
cost = {
|
cost = {
|
||||||
@ -619,7 +619,7 @@ utility_component_template = {
|
|||||||
size = small
|
size = small
|
||||||
icon = "GFX_ship_part_thruster_5"
|
icon = "GFX_ship_part_thruster_5"
|
||||||
icon_frame = 1
|
icon_frame = 1
|
||||||
power = @battleship_power_5
|
power = -240
|
||||||
resources = {
|
resources = {
|
||||||
category = ship_components
|
category = ship_components
|
||||||
cost = {
|
cost = {
|
||||||
@ -1183,7 +1183,7 @@ utility_component_template = {
|
|||||||
"tech_cloaking_3"
|
"tech_cloaking_3"
|
||||||
}
|
}
|
||||||
component_set = "science_cloaking_components"
|
component_set = "science_cloaking_components"
|
||||||
upgrades_to = "RG_CIENCE_CLOAKING_DARK_MATTER"
|
upgrades_to = "RG_SCIENCE_CLOAKING_DARK_MATTER"
|
||||||
ai_weight = {
|
ai_weight = {
|
||||||
weight = 15
|
weight = 15
|
||||||
}
|
}
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@shipAuraRange = 80
|
||||||
|
|
||||||
#混合装甲
|
#混合装甲
|
||||||
utility_component_template = {
|
utility_component_template = {
|
||||||
key = "LARGE_GRAY_MIX_ARMOR"
|
key = "LARGE_GRAY_MIX_ARMOR"
|
||||||
@ -988,7 +990,7 @@ strike_craft_component_template = {
|
|||||||
speed = 225
|
speed = 225
|
||||||
rotation_speed = 0.25
|
rotation_speed = 0.25
|
||||||
acceleration = 0.6
|
acceleration = 0.6
|
||||||
size_damage_factor = 1
|
# size_damage_factor = 1
|
||||||
shield_damage = 1.2
|
shield_damage = 1.2
|
||||||
armor_penetration = 1
|
armor_penetration = 1
|
||||||
weapon_type = instant
|
weapon_type = instant
|
||||||
@ -1050,7 +1052,7 @@ strike_craft_component_template = {
|
|||||||
speed = 225
|
speed = 225
|
||||||
rotation_speed = 0.25
|
rotation_speed = 0.25
|
||||||
acceleration = 0.6
|
acceleration = 0.6
|
||||||
size_damage_factor = 1
|
# size_damage_factor = 1
|
||||||
shield_damage = 1.2
|
shield_damage = 1.2
|
||||||
armor_penetration = 1
|
armor_penetration = 1
|
||||||
weapon_type = instant
|
weapon_type = instant
|
||||||
@ -1637,7 +1639,7 @@ utility_component_template = {
|
|||||||
resources = {
|
resources = {
|
||||||
category = ship_components
|
category = ship_components
|
||||||
cost = {
|
cost = {
|
||||||
alloys = @cost0
|
alloys = 0
|
||||||
nanites = 4
|
nanites = 4
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1661,11 +1663,11 @@ utility_component_template = {
|
|||||||
icon = "GFX_ship_part_enigmatic_encoder"
|
icon = "GFX_ship_part_enigmatic_encoder"
|
||||||
icon_frame = 1
|
icon_frame = 1
|
||||||
hidden = yes
|
hidden = yes
|
||||||
power = @cost0
|
power = 0
|
||||||
resources = {
|
resources = {
|
||||||
category = ship_components
|
category = ship_components
|
||||||
cost = {
|
cost = {
|
||||||
alloys = @cost0
|
alloys = 0
|
||||||
nanites = 4
|
nanites = 4
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1693,7 +1695,7 @@ utility_component_template = {
|
|||||||
resources = {
|
resources = {
|
||||||
category = ship_components
|
category = ship_components
|
||||||
cost = {
|
cost = {
|
||||||
alloys = @cost0
|
alloys = 0
|
||||||
nanites = 4
|
nanites = 4
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1721,11 +1723,11 @@ utility_component_template = {
|
|||||||
icon = "GFX_ship_part_instrument_covenant_aux"
|
icon = "GFX_ship_part_instrument_covenant_aux"
|
||||||
icon_frame = 1
|
icon_frame = 1
|
||||||
hidden = yes
|
hidden = yes
|
||||||
power = @cost0
|
power = 0
|
||||||
resources = {
|
resources = {
|
||||||
category = ship_components
|
category = ship_components
|
||||||
cost = {
|
cost = {
|
||||||
alloys = @cost0
|
alloys = 0
|
||||||
nanites = 4
|
nanites = 4
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1963,15 +1965,15 @@ utility_component_template = {
|
|||||||
id = friendly_BAKAHALO
|
id = friendly_BAKAHALO
|
||||||
priority = 233
|
priority = 233
|
||||||
}
|
}
|
||||||
damage_per_day = {
|
# damage_per_day = {
|
||||||
accuracy = 0.5
|
# accuracy = 0.5
|
||||||
damage = {
|
# damage = {
|
||||||
min = 48
|
# min = 48
|
||||||
max = 96
|
# max = 96
|
||||||
}
|
# }
|
||||||
shield_penetration = 1
|
# shield_penetration = 1
|
||||||
armor_penetration = 1
|
# armor_penetration = 1
|
||||||
}
|
# }
|
||||||
modifier = {
|
modifier = {
|
||||||
ship_shield_mult = -0.1
|
ship_shield_mult = -0.1
|
||||||
ship_speed_mult = -0.1
|
ship_speed_mult = -0.1
|
||||||
@ -2036,43 +2038,43 @@ weapon_component_template = {
|
|||||||
tags = {
|
tags = {
|
||||||
weapon_type_rg_halo
|
weapon_type_rg_halo
|
||||||
}
|
}
|
||||||
friendly_aura = {
|
# friendly_aura = {
|
||||||
name = "RG_ANTIBAKAHALO"
|
# name = "RG_ANTIBAKAHALO"
|
||||||
radius = @shipAuraRange
|
# radius = @shipAuraRange
|
||||||
apply_on = ships
|
# apply_on = ships
|
||||||
stack_info = {
|
# stack_info = {
|
||||||
#A ship can only be affected by one aura of a certain id. If multiple auras have the same ID the one with the highest priority will be applied.
|
# #A ship can only be affected by one aura of a certain id. If multiple auras have the same ID the one with the highest priority will be applied.
|
||||||
id = friendly_BAKAHALO
|
# id = friendly_BAKAHALO
|
||||||
priority = 233
|
# priority = 233
|
||||||
}
|
# }
|
||||||
modifier = {
|
# modifier = {
|
||||||
ship_shield_mult = -0.1
|
# ship_shield_mult = -0.1
|
||||||
ship_speed_mult = -0.1
|
# ship_speed_mult = -0.1
|
||||||
ship_armor_mult = -0.1
|
# ship_armor_mult = -0.1
|
||||||
ship_hull_mult = -0.1
|
# ship_hull_mult = -0.1
|
||||||
ship_shield_hardening_add = 1
|
# ship_shield_hardening_add = 1
|
||||||
ship_armor_hardening_add = 1
|
# ship_armor_hardening_add = 1
|
||||||
ship_shield_penetration_mult = 1
|
# ship_shield_penetration_mult = 1
|
||||||
ship_armor_penetration_mult = 1
|
# ship_armor_penetration_mult = 1
|
||||||
ship_weapon_range_mult = -0.1
|
# ship_weapon_range_mult = -0.1
|
||||||
ship_tracking_add = -10
|
# ship_tracking_add = -10
|
||||||
ship_engagement_range_mult = -0.1
|
# ship_engagement_range_mult = -0.1
|
||||||
ship_disengage_chance_mult = -0.1
|
# ship_disengage_chance_mult = -0.1
|
||||||
ship_ftl_jumpdrive_range_mult = -0.1
|
# ship_ftl_jumpdrive_range_mult = -0.1
|
||||||
ship_windup_mult = 0.1
|
# ship_windup_mult = 0.1
|
||||||
ship_jumpdrive_cooldown_mult = 0.1
|
# ship_jumpdrive_cooldown_mult = 0.1
|
||||||
}
|
# }
|
||||||
graphics = {
|
# graphics = {
|
||||||
area_effect = {
|
# area_effect = {
|
||||||
entity = "circle_area_entity"
|
# entity = "circle_area_entity"
|
||||||
dynamic_scale = yes
|
# dynamic_scale = yes
|
||||||
}
|
# }
|
||||||
ship_effect = {
|
# ship_effect = {
|
||||||
entity = "ship_aura_positive_entity"
|
# entity = "ship_aura_positive_entity"
|
||||||
dynamic_scale = no
|
# dynamic_scale = no
|
||||||
}
|
# }
|
||||||
}
|
# }
|
||||||
}
|
# }
|
||||||
hull_damage = 0
|
hull_damage = 0
|
||||||
shield_penetration = 0
|
shield_penetration = 0
|
||||||
shield_damage = 0
|
shield_damage = 0
|
||||||
@ -2122,51 +2124,51 @@ weapon_component_template = {
|
|||||||
tags = {
|
tags = {
|
||||||
weapon_type_rg_halo
|
weapon_type_rg_halo
|
||||||
}
|
}
|
||||||
hostile_aura = {
|
# hostile_aura = {
|
||||||
name = "RG_BAKAHALO"
|
# name = "RG_BAKAHALO"
|
||||||
radius = @shipAuraRange
|
# radius = @shipAuraRange
|
||||||
apply_on = ships
|
# apply_on = ships
|
||||||
stack_info = {
|
# stack_info = {
|
||||||
id = hostile_BAKAHALO
|
# id = hostile_BAKAHALO
|
||||||
priority = 233
|
# priority = 233
|
||||||
}
|
# }
|
||||||
modifier = {
|
# modifier = {
|
||||||
ship_shield_mult = -0.1
|
# ship_shield_mult = -0.1
|
||||||
ship_speed_mult = -0.1
|
# ship_speed_mult = -0.1
|
||||||
ship_armor_mult = -0.1
|
# ship_armor_mult = -0.1
|
||||||
ship_hull_mult = -0.1
|
# ship_hull_mult = -0.1
|
||||||
ship_shield_hardening_add = -1
|
# ship_shield_hardening_add = -1
|
||||||
ship_armor_hardening_add = -1
|
# ship_armor_hardening_add = -1
|
||||||
ship_shield_penetration_mult = -1
|
# ship_shield_penetration_mult = -1
|
||||||
ship_armor_penetration_mult = -1
|
# ship_armor_penetration_mult = -1
|
||||||
ship_weapon_range_mult = -0.1
|
# ship_weapon_range_mult = -0.1
|
||||||
ship_tracking_add = -10
|
# ship_tracking_add = -10
|
||||||
ship_engagement_range_mult = -0.1
|
# ship_engagement_range_mult = -0.1
|
||||||
ship_disengage_chance_mult = -0.1
|
# ship_disengage_chance_mult = -0.1
|
||||||
ship_ftl_jumpdrive_range_mult = -0.1
|
# ship_ftl_jumpdrive_range_mult = -0.1
|
||||||
ship_windup_mult = 1
|
# ship_windup_mult = 1
|
||||||
ship_jumpdrive_cooldown_mult = 1
|
# ship_jumpdrive_cooldown_mult = 1
|
||||||
}
|
# }
|
||||||
damage_per_day = {
|
# damage_per_day = {
|
||||||
accuracy = 0.5
|
# accuracy = 0.5
|
||||||
damage = {
|
# damage = {
|
||||||
min = 96
|
# min = 96
|
||||||
max = 192
|
# max = 192
|
||||||
}
|
# }
|
||||||
shield_penetration = 1
|
# shield_penetration = 1
|
||||||
armor_penetration = 1
|
# armor_penetration = 1
|
||||||
}
|
# }
|
||||||
graphics = {
|
# graphics = {
|
||||||
area_effect = {
|
# area_effect = {
|
||||||
entity = "circle_area_entity"
|
# entity = "circle_area_entity"
|
||||||
dynamic_scale = yes
|
# dynamic_scale = yes
|
||||||
}
|
# }
|
||||||
ship_effect = {
|
# ship_effect = {
|
||||||
entity = "ship_aura_negative_entity"
|
# entity = "ship_aura_negative_entity"
|
||||||
dynamic_scale = no
|
# dynamic_scale = no
|
||||||
}
|
# }
|
||||||
}
|
# }
|
||||||
}
|
# }
|
||||||
hull_damage = 0
|
hull_damage = 0
|
||||||
shield_penetration = 0
|
shield_penetration = 0
|
||||||
shield_damage = 0
|
shield_damage = 0
|
||||||
@ -2198,7 +2200,7 @@ utility_component_template = {
|
|||||||
category = ship_components
|
category = ship_components
|
||||||
cost = {
|
cost = {
|
||||||
alloys = 300
|
alloys = 300
|
||||||
nanties = 10
|
nanites = 10
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
prerequisites = { "tech_gray_nano_boost_3" }
|
prerequisites = { "tech_gray_nano_boost_3" }
|
||||||
@ -2230,7 +2232,7 @@ utility_component_template = {
|
|||||||
category = ship_components
|
category = ship_components
|
||||||
cost = {
|
cost = {
|
||||||
alloys = 100
|
alloys = 100
|
||||||
nanties = 5
|
nanites = 5
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
sensor_range = 15
|
sensor_range = 15
|
||||||
@ -2260,7 +2262,7 @@ utility_component_template = {
|
|||||||
category = ship_components
|
category = ship_components
|
||||||
cost = {
|
cost = {
|
||||||
alloys = 200
|
alloys = 200
|
||||||
nanties = 10
|
nanites = 10
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
prerequisites = { "tech_gray_nano_boost_3" }
|
prerequisites = { "tech_gray_nano_boost_3" }
|
||||||
@ -2287,7 +2289,7 @@ utility_component_template = {
|
|||||||
resources = {
|
resources = {
|
||||||
category = ship_components
|
category = ship_components
|
||||||
cost = {
|
cost = {
|
||||||
nanties = 12
|
nanites = 12
|
||||||
alloys = 120
|
alloys = 120
|
||||||
}
|
}
|
||||||
upkeep = {
|
upkeep = {
|
||||||
@ -2322,7 +2324,7 @@ utility_component_template = {
|
|||||||
resources = {
|
resources = {
|
||||||
category = ship_components
|
category = ship_components
|
||||||
cost = {
|
cost = {
|
||||||
nanties = 24
|
nanites = 24
|
||||||
alloys = 120
|
alloys = 120
|
||||||
}
|
}
|
||||||
upkeep = {
|
upkeep = {
|
||||||
@ -2355,7 +2357,7 @@ utility_component_template = {
|
|||||||
resources = {
|
resources = {
|
||||||
category = ship_components
|
category = ship_components
|
||||||
cost = {
|
cost = {
|
||||||
nanties = 120
|
nanites = 120
|
||||||
alloys = 120
|
alloys = 120
|
||||||
}
|
}
|
||||||
upkeep = {
|
upkeep = {
|
||||||
@ -2390,7 +2392,7 @@ utility_component_template = {
|
|||||||
category = ship_components
|
category = ship_components
|
||||||
cost = {
|
cost = {
|
||||||
alloys = 200
|
alloys = 200
|
||||||
nanties = 10
|
nanites = 10
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
modifier = {
|
modifier = {
|
||||||
|
@ -0,0 +1,23 @@
|
|||||||
|
# Here you can specify the lists of limits for the number of ships of some types that country can own
|
||||||
|
# and potentially the lists of limits for the number of building of some type (not implemented yet)
|
||||||
|
|
||||||
|
# Note for overwriting: ownership_limits are extendable/additive. So if you make a second "default" and
|
||||||
|
# add a single ship_of_size_limit inside it, it will apply both the limits described here, and the one
|
||||||
|
# that you specified.
|
||||||
|
# To do a full overwrite, you need to overwrite 00_ownership_limits.txt instead.
|
||||||
|
|
||||||
|
# Example:
|
||||||
|
# name_of_ownership_limit = {
|
||||||
|
# ship_of_size_limits = {
|
||||||
|
# # the list of keys to ship_of_size_limits database
|
||||||
|
# }
|
||||||
|
# building_of_type_limit = {
|
||||||
|
# # not implemented yet
|
||||||
|
# }
|
||||||
|
# }
|
||||||
|
|
||||||
|
default = {
|
||||||
|
ship_of_size_limits = {
|
||||||
|
RG_gray_juggernaut_ships_limit
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,10 @@
|
|||||||
|
RG_gray_juggernaut_ships_limit = {
|
||||||
|
ship_types = {
|
||||||
|
RG_gray_juggernaut
|
||||||
|
}
|
||||||
|
base = 2 # 1 * juggernaut's size_multiplier
|
||||||
|
show = {
|
||||||
|
is_scope_valid = yes
|
||||||
|
has_technology = tech_gray_juggernaut_8
|
||||||
|
}
|
||||||
|
}
|
@ -341,6 +341,7 @@ district_rg_generator = {
|
|||||||
}
|
}
|
||||||
produces = {
|
produces = {
|
||||||
energy = 200
|
energy = 200
|
||||||
|
mult = country.rg_gray_level
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2333,7 +2333,7 @@ ship_design = {
|
|||||||
ship_size = RG_graygoo_icebreaker_interdictor
|
ship_size = RG_graygoo_icebreaker_interdictor
|
||||||
is_event_design = yes
|
is_event_design = yes
|
||||||
section = {
|
section = {
|
||||||
template = "RG_icebreaker_interdictor"
|
template = "RG_icebreaker_interdictor_key"
|
||||||
slot = "mid"
|
slot = "mid"
|
||||||
component = {
|
component = {
|
||||||
slot = "PD_01"
|
slot = "PD_01"
|
||||||
|
@ -269,14 +269,23 @@ orbital_ring_restored = {
|
|||||||
dismantle = yes
|
dismantle = yes
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
From = {
|
||||||
|
create_ship_design = {
|
||||||
|
design = "RG_ORBITAL_RING_TIER_1_STARBASE_SECTION"
|
||||||
|
}
|
||||||
|
add_ship_design = last_created_design
|
||||||
|
}
|
||||||
create_starbase = {
|
create_starbase = {
|
||||||
design = "RG_ORBITAL_RING_TIER_1_STARBASE_SECTION"
|
size = RG_orbital_ring_tier_1
|
||||||
owner = FROM
|
owner = FROM
|
||||||
#module = <starbase_module>
|
#module = <starbase_module>
|
||||||
#building = <starbase_building>
|
#building = <starbase_building>
|
||||||
effect = {
|
effect = {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
From = {
|
||||||
|
remove_ship_design = last_created_design
|
||||||
|
}
|
||||||
}
|
}
|
||||||
every_system_ambient_object = {
|
every_system_ambient_object = {
|
||||||
limit = {
|
limit = {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
rg_tempest_invocator = {
|
rg_tempest_invocator = {
|
||||||
activation_duration = @triumph_duration
|
activation_duration = 3600
|
||||||
portrait = "GFX_relic_the_tempest_exsoulcillator"
|
portrait = "GFX_relic_the_tempest_exsoulcillator"
|
||||||
sound = "relic_activation_vultaum_real_perforator"
|
sound = "relic_activation_vultaum_real_perforator"
|
||||||
|
|
||||||
@ -53,7 +53,7 @@ rg_tempest_invocator = {
|
|||||||
hidden_effect = {
|
hidden_effect = {
|
||||||
add_modifier = {
|
add_modifier = {
|
||||||
modifier = "relic_activation_cooldown"
|
modifier = "relic_activation_cooldown"
|
||||||
days = @triumph_duration
|
days = 3600
|
||||||
}
|
}
|
||||||
set_country_flag = used_tempest_invocator_relic_achievement
|
set_country_flag = used_tempest_invocator_relic_achievement
|
||||||
}
|
}
|
||||||
@ -75,7 +75,7 @@ rg_tempest_invocator = {
|
|||||||
possible = {
|
possible = {
|
||||||
inline_script = {
|
inline_script = {
|
||||||
script = relics/activation_checks
|
script = relics/activation_checks
|
||||||
RELIC = r_the_tempest_invocator
|
RELIC = rg_tempest_invocator
|
||||||
}
|
}
|
||||||
|
|
||||||
custom_tooltip = {
|
custom_tooltip = {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
rg_count_maid = {
|
rg_count_maid = {
|
||||||
base = 0
|
base = 0
|
||||||
complex_trigger_modifier = {
|
complex_trigger_modifier = {
|
||||||
trigger = count_traits
|
trigger = num_traits
|
||||||
trigger_scope = pop
|
trigger_scope = pop
|
||||||
parameters = {
|
parameters = {
|
||||||
limit = {
|
limit = {
|
||||||
|
@ -22,7 +22,7 @@ start_lcluster_chain = {
|
|||||||
if = {
|
if = {
|
||||||
limit = {
|
limit = {
|
||||||
NOR = {
|
NOR = {
|
||||||
is_same_value = origin_rg_gray_country
|
is_same_value = event_target:origin_rg_gray_country
|
||||||
has_country_flag = origin_rg_gray_1st
|
has_country_flag = origin_rg_gray_1st
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -166,8 +166,11 @@ rg_event_effect_planet2027_spawn_maid_species = {
|
|||||||
gender = this
|
gender = this
|
||||||
traits = {
|
traits = {
|
||||||
trait = trait_machine_unit
|
trait = trait_machine_unit
|
||||||
|
trait = trait_robot_domestic_protocols
|
||||||
trait = rg_machine_maid_trait
|
trait = rg_machine_maid_trait
|
||||||
trait = trait_robot_mass_produced
|
trait = trait_auto_mod_robotic
|
||||||
|
trait = trait_robot_streamlined_protocols
|
||||||
|
trait = trait_robot_luxurious
|
||||||
}
|
}
|
||||||
effect = {
|
effect = {
|
||||||
save_event_target_as = rg_owner_main_maid_species
|
save_event_target_as = rg_owner_main_maid_species
|
||||||
|
@ -10,7 +10,6 @@ rg_create_fallen_empire_species_effect = {
|
|||||||
trait = trait_auto_mod_robotic
|
trait = trait_auto_mod_robotic
|
||||||
trait = trait_robot_streamlined_protocols
|
trait = trait_robot_streamlined_protocols
|
||||||
trait = trait_robot_luxurious
|
trait = trait_robot_luxurious
|
||||||
trait = ramdom_trait
|
|
||||||
}
|
}
|
||||||
extra_trait_points = 3
|
extra_trait_points = 3
|
||||||
allow_negative_traits = no
|
allow_negative_traits = no
|
||||||
@ -88,7 +87,7 @@ rg_create_fallen_empire_country_effect = {
|
|||||||
if = {
|
if = {
|
||||||
limit = {
|
limit = {
|
||||||
NOT = {
|
NOT = {
|
||||||
exist = event_target:rg_gray_country_leader
|
exists = event_target:rg_gray_country_leader
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
rg_gray_country_leader_init = yes
|
rg_gray_country_leader_init = yes
|
||||||
|
@ -693,9 +693,13 @@ rg_juggernaut_habitat_init = {
|
|||||||
set_name = "NAME_rg_gray_habitat_base"
|
set_name = "NAME_rg_gray_habitat_base"
|
||||||
|
|
||||||
if = {
|
if = {
|
||||||
OR = {
|
limit = {
|
||||||
has_country_flag = gray_official_active
|
event_target:gray_owner = {
|
||||||
has_country_flag = gray_governor_active #旧版flag
|
OR = {
|
||||||
|
has_country_flag = gray_official_active
|
||||||
|
has_country_flag = gray_governor_active #旧版flag
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
assign_leader = event_target:gray_governor
|
assign_leader = event_target:gray_governor
|
||||||
}
|
}
|
||||||
|
@ -1992,7 +1992,7 @@ RG_destroy_star_system = {
|
|||||||
exists = event_target:gray_owner #i.e. not final destruction of all matter
|
exists = event_target:gray_owner #i.e. not final destruction of all matter
|
||||||
is_mobile = yes
|
is_mobile = yes
|
||||||
}
|
}
|
||||||
set_mia = yes
|
set_mia = mia_emergency_ftl
|
||||||
}
|
}
|
||||||
else = {
|
else = {
|
||||||
destroy_fleet = this
|
destroy_fleet = this
|
||||||
|
@ -31,9 +31,9 @@ graytempest_storm_apply_aftermath_modifier = {
|
|||||||
storm_apply_aftermath_modifier = {
|
storm_apply_aftermath_modifier = {
|
||||||
severity = {
|
severity = {
|
||||||
modifier = "graytempest_storm_aftermath_modifier_severity_1"
|
modifier = "graytempest_storm_aftermath_modifier_severity_1"
|
||||||
days = @Severity1Duration
|
days = 1080
|
||||||
chance = {
|
chance = {
|
||||||
base = @Severity1BaseChance
|
base = 33
|
||||||
modifier = {
|
modifier = {
|
||||||
factor = 0
|
factor = 0
|
||||||
OR = {
|
OR = {
|
||||||
@ -49,9 +49,9 @@ graytempest_storm_apply_aftermath_modifier = {
|
|||||||
|
|
||||||
severity = {
|
severity = {
|
||||||
modifier = "graytempest_storm_aftermath_modifier_severity_2"
|
modifier = "graytempest_storm_aftermath_modifier_severity_2"
|
||||||
days = @Severity2Duration
|
days = 1080
|
||||||
chance = {
|
chance = {
|
||||||
base = @Severity2BaseChance
|
base = 3
|
||||||
modifier = {
|
modifier = {
|
||||||
factor = 0
|
factor = 0
|
||||||
has_modifier = "graytempest_storm_aftermath_modifier_severity_3"
|
has_modifier = "graytempest_storm_aftermath_modifier_severity_3"
|
||||||
@ -64,9 +64,9 @@ graytempest_storm_apply_aftermath_modifier = {
|
|||||||
|
|
||||||
severity = {
|
severity = {
|
||||||
modifier = "graytempest_storm_aftermath_modifier_severity_3"
|
modifier = "graytempest_storm_aftermath_modifier_severity_3"
|
||||||
days = @Severity3Duration
|
days = 1080
|
||||||
chance = {
|
chance = {
|
||||||
base = @Severity3BaseChance
|
base = 33
|
||||||
modifier = {
|
modifier = {
|
||||||
factor = $FactorSev3|1$
|
factor = $FactorSev3|1$
|
||||||
}
|
}
|
||||||
|
@ -19,7 +19,9 @@ rg_warship_init_mod1 = {
|
|||||||
prefix = no
|
prefix = no
|
||||||
upgradable = yes
|
upgradable = yes
|
||||||
effect = {
|
effect = {
|
||||||
set_fleet_flag = gray_fleet_ship
|
PREV = {
|
||||||
|
set_fleet_flag = gray_fleet_ship
|
||||||
|
}
|
||||||
save_global_event_target_as = gray_warship_ship
|
save_global_event_target_as = gray_warship_ship
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -63,7 +65,9 @@ rg_warship_init_mod2 = {
|
|||||||
prefix = no
|
prefix = no
|
||||||
upgradable = yes
|
upgradable = yes
|
||||||
effect = {
|
effect = {
|
||||||
set_fleet_flag = gray_fleet_ship
|
PREV = {
|
||||||
|
set_fleet_flag = gray_fleet_ship
|
||||||
|
}
|
||||||
save_global_event_target_as = gray_warship_ship
|
save_global_event_target_as = gray_warship_ship
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -108,7 +112,9 @@ rg_warship_init_mod3 = {
|
|||||||
prefix = no
|
prefix = no
|
||||||
upgradable = yes
|
upgradable = yes
|
||||||
effect = {
|
effect = {
|
||||||
set_fleet_flag = gray_fleet_ship
|
PREV = {
|
||||||
|
set_fleet_flag = gray_fleet_ship
|
||||||
|
}
|
||||||
save_global_event_target_as = gray_warship_ship
|
save_global_event_target_as = gray_warship_ship
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -151,7 +157,9 @@ rg_warship_init_mod0 = {
|
|||||||
prefix = no
|
prefix = no
|
||||||
upgradable = yes
|
upgradable = yes
|
||||||
effect = {
|
effect = {
|
||||||
set_fleet_flag = gray_fleet_ship
|
PREV = {
|
||||||
|
set_fleet_flag = gray_fleet_ship
|
||||||
|
}
|
||||||
save_global_event_target_as = gray_warship_ship
|
save_global_event_target_as = gray_warship_ship
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -103,6 +103,127 @@ can_destroy_planet_with_RG_PLANET_KILLER_SP = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
can_destroy_planet_with_RG_PLANET_KILLER_CRACKER = {
|
||||||
|
custom_tooltip = {
|
||||||
|
fail_text = is_not_a_standard_planet_or_megastructure
|
||||||
|
is_a_planet_megastructure = yes
|
||||||
|
}
|
||||||
|
custom_tooltip = {
|
||||||
|
fail_text = is_shielded
|
||||||
|
NOR = {
|
||||||
|
is_planet_class = pc_shielded
|
||||||
|
is_planet_class = pc_ringworld_shielded
|
||||||
|
is_planet_class = pc_habitat_shielded
|
||||||
|
}
|
||||||
|
}
|
||||||
|
custom_tooltip = {
|
||||||
|
fail_text = fotd_cant_collossus
|
||||||
|
NOT = { has_planet_flag = fotd_seperatist_planet@from.owner }
|
||||||
|
exists = from.owner
|
||||||
|
from.owner = {
|
||||||
|
NOT = { has_country_flag = fotd_seperatist_country@from.owner }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
OR = {
|
||||||
|
custom_tooltip = {
|
||||||
|
text = is_not_hostile_cracker
|
||||||
|
OR = {
|
||||||
|
AND = {
|
||||||
|
exists = space_owner
|
||||||
|
space_owner = {
|
||||||
|
OR = {
|
||||||
|
is_at_war_with = from.owner
|
||||||
|
is_country_type = swarm
|
||||||
|
is_country_type = extradimensional
|
||||||
|
is_country_type = extradimensional_2
|
||||||
|
is_country_type = extradimensional_3
|
||||||
|
is_country_type = ai_empire
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
AND = { # colony
|
||||||
|
exists = owner
|
||||||
|
owner = {
|
||||||
|
OR = {
|
||||||
|
is_at_war_with = from.owner
|
||||||
|
is_country_type = swarm
|
||||||
|
is_country_type = extradimensional
|
||||||
|
is_country_type = extradimensional_2
|
||||||
|
is_country_type = extradimensional_3
|
||||||
|
is_country_type = ai_empire
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
AND = {
|
||||||
|
# primitive target
|
||||||
|
custom_tooltip = {
|
||||||
|
text = cannot_crack_pre_ftl_planet_ownership
|
||||||
|
exists = space_owner
|
||||||
|
exists = owner
|
||||||
|
owner = {
|
||||||
|
is_primitive = yes
|
||||||
|
}
|
||||||
|
space_owner = {
|
||||||
|
OR = {
|
||||||
|
is_same_value = from.owner
|
||||||
|
is_at_war_with = from.owner
|
||||||
|
is_country_type = swarm
|
||||||
|
is_country_type = extradimensional
|
||||||
|
is_country_type = extradimensional_2
|
||||||
|
is_country_type = extradimensional_3
|
||||||
|
is_country_type = ai_empire
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
custom_tooltip = {
|
||||||
|
text = cannot_crack_pre_ftl_planet_interference
|
||||||
|
# primitive
|
||||||
|
exists = owner
|
||||||
|
owner = {
|
||||||
|
is_primitive = yes
|
||||||
|
}
|
||||||
|
from.owner = {
|
||||||
|
has_policy_flag = interference_aggressive
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
custom_tooltip = {
|
||||||
|
text = not_barren_molten_frozen_toxic_test_fire
|
||||||
|
NOT = { exists = owner }
|
||||||
|
OR = {
|
||||||
|
NOT = { exists = space_owner }
|
||||||
|
AND = {
|
||||||
|
exists = space_owner
|
||||||
|
space_owner = { is_same_value = from.owner }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
OR = {
|
||||||
|
is_planet_class = pc_barren
|
||||||
|
is_planet_class = pc_barren_cold
|
||||||
|
is_planet_class = pc_frozen
|
||||||
|
is_planet_class = pc_molten
|
||||||
|
is_planet_class = pc_toxic
|
||||||
|
is_planet_class = pc_desert
|
||||||
|
is_planet_class = pc_tropical
|
||||||
|
is_planet_class = pc_arid
|
||||||
|
is_planet_class = pc_continental
|
||||||
|
is_planet_class = pc_ocean
|
||||||
|
is_planet_class = pc_tundra
|
||||||
|
is_planet_class = pc_arctic
|
||||||
|
is_planet_class = pc_alpine
|
||||||
|
is_planet_class = pc_savannah
|
||||||
|
is_planet_class = pc_gaia
|
||||||
|
is_planet_class = pc_relic
|
||||||
|
is_planet_class = pc_nuked
|
||||||
|
is_planet_class = pc_ringworld_habitable
|
||||||
|
is_planet_class = pc_habitat
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
can_destroy_planet_with_RG_PLANET_KILLER_SHIELDER = {
|
can_destroy_planet_with_RG_PLANET_KILLER_SHIELDER = {
|
||||||
custom_tooltip = {
|
custom_tooltip = {
|
||||||
fail_text = is_not_a_habitable_planet_or_megastructure
|
fail_text = is_not_a_habitable_planet_or_megastructure
|
||||||
@ -135,7 +256,7 @@ can_destroy_planet_with_RG_PLANET_KILLER_SHIELDER = {
|
|||||||
from.owner = {
|
from.owner = {
|
||||||
OR = {
|
OR = {
|
||||||
has_policy_flag = interference_active
|
has_policy_flag = interference_active
|
||||||
has_policy_flag = interference_full
|
has_policy_flag = interference_aggressive
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -256,7 +377,7 @@ can_destroy_planet_with_RG_PLANET_KILLER_GODRAY = {
|
|||||||
from.owner = {
|
from.owner = {
|
||||||
OR = {
|
OR = {
|
||||||
has_policy_flag = interference_active
|
has_policy_flag = interference_active
|
||||||
has_policy_flag = interference_full
|
has_policy_flag = interference_aggressive
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -330,7 +451,7 @@ can_destroy_planet_with_RG_PLANET_KILLER_NANOBOTS = {
|
|||||||
custom_tooltip = {
|
custom_tooltip = {
|
||||||
fail_text = primitives_not_full_interference
|
fail_text = primitives_not_full_interference
|
||||||
from.owner = {
|
from.owner = {
|
||||||
has_policy_flag = interference_full
|
has_policy_flag = interference_aggressive
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -429,7 +550,7 @@ can_destroy_planet_with_RG_PLANET_KILLER_DELUGE = {
|
|||||||
custom_tooltip = {
|
custom_tooltip = {
|
||||||
fail_text = primitives_not_full_interference
|
fail_text = primitives_not_full_interference
|
||||||
from.owner = {
|
from.owner = {
|
||||||
has_policy_flag = interference_full
|
has_policy_flag = interference_aggressive
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -164,7 +164,6 @@ ship_section_template = {
|
|||||||
fits_on_slot = "core"
|
fits_on_slot = "core"
|
||||||
entity = "grey_tempesttw_starbase_starfortress_section_entity"
|
entity = "grey_tempesttw_starbase_starfortress_section_entity"
|
||||||
icon = "GFX_ship_part_core_mid"
|
icon = "GFX_ship_part_core_mid"
|
||||||
hidden = yes
|
|
||||||
component_slot = {
|
component_slot = {
|
||||||
name = "LARGE_GUN_01"
|
name = "LARGE_GUN_01"
|
||||||
template = "invisible_large_turret"
|
template = "invisible_large_turret"
|
||||||
|
@ -257,8 +257,6 @@ RG_gray_juggernaut = {
|
|||||||
required_component_set = "ship_aura_components"
|
required_component_set = "ship_aura_components"
|
||||||
required_component_set = "ship_aura_components"
|
required_component_set = "ship_aura_components"
|
||||||
|
|
||||||
empire_limit = 1
|
|
||||||
|
|
||||||
components_add_to_cost = no
|
components_add_to_cost = no
|
||||||
resources = {
|
resources = {
|
||||||
category = ships
|
category = ships
|
||||||
@ -811,8 +809,8 @@ RG_orbital_ring_tier_1 = {
|
|||||||
required_component_set = "combat_computers"
|
required_component_set = "combat_computers"
|
||||||
required_component_set = "science_cloaking_components"
|
required_component_set = "science_cloaking_components"
|
||||||
required_component_set = "ship_aura_components"
|
required_component_set = "ship_aura_components"
|
||||||
build_block_radius = @build_block_orbital_ring
|
build_block_radius = 20
|
||||||
formation_priority = @orbital_ring_formation_priority
|
formation_priority = 1
|
||||||
icon_frame = 7
|
icon_frame = 7
|
||||||
scales_with_planet = yes
|
scales_with_planet = yes
|
||||||
graphical_culture = yes
|
graphical_culture = yes
|
||||||
|
@ -109,8 +109,8 @@ graygoo_factory = {
|
|||||||
ship_modifier = {
|
ship_modifier = {
|
||||||
ship_shield_hardening_add = 5
|
ship_shield_hardening_add = 5
|
||||||
ship_armor_hardening_add = 5
|
ship_armor_hardening_add = 5
|
||||||
ship_armor_regen_add = 10240
|
ship_armor_regen_add_static = 10240
|
||||||
ship_hull_regen_add = 5120
|
ship_hull_regen_add_static = 5120
|
||||||
}
|
}
|
||||||
max_hitpoints = 2048000
|
max_hitpoints = 2048000
|
||||||
size_multiplier = 32
|
size_multiplier = 32
|
||||||
|
@ -31,7 +31,7 @@ situation_rg_gray_mod1 = {
|
|||||||
situation_rg_gray_mod1_stage_1 = {
|
situation_rg_gray_mod1_stage_1 = {
|
||||||
icon = GFX_situation_stage_1
|
icon = GFX_situation_stage_1
|
||||||
icon_background = GFX_situation_stage_frame_green
|
icon_background = GFX_situation_stage_frame_green
|
||||||
end = 16.5
|
end = 17
|
||||||
custom_tooltip = situation_rg_gray_mod1_stage_1_tooltip
|
custom_tooltip = situation_rg_gray_mod1_stage_1_tooltip
|
||||||
on_first_enter = {
|
on_first_enter = {
|
||||||
event_target:gray_warship = {
|
event_target:gray_warship = {
|
||||||
@ -86,7 +86,7 @@ situation_rg_gray_mod1 = {
|
|||||||
situation_rg_gray_mod1_stage_5 = {
|
situation_rg_gray_mod1_stage_5 = {
|
||||||
icon = GFX_situation_stage_5
|
icon = GFX_situation_stage_5
|
||||||
icon_background = GFX_situation_stage_frame_green
|
icon_background = GFX_situation_stage_frame_green
|
||||||
end = 82.5
|
end = 83
|
||||||
custom_tooltip = situation_rg_gray_mod1_stage_5_tooltip
|
custom_tooltip = situation_rg_gray_mod1_stage_5_tooltip
|
||||||
on_first_enter = {
|
on_first_enter = {
|
||||||
owner = {
|
owner = {
|
||||||
@ -262,7 +262,7 @@ situation_rg_gray_mod2 = {
|
|||||||
situation_rg_gray_mod2_stage_1 = {
|
situation_rg_gray_mod2_stage_1 = {
|
||||||
icon = GFX_situation_stage_1
|
icon = GFX_situation_stage_1
|
||||||
icon_background = GFX_situation_stage_frame_green
|
icon_background = GFX_situation_stage_frame_green
|
||||||
end = 8.4
|
end = 8
|
||||||
custom_tooltip = situation_rg_gray_mod2_stage_1_tooltip
|
custom_tooltip = situation_rg_gray_mod2_stage_1_tooltip
|
||||||
on_first_enter = {
|
on_first_enter = {
|
||||||
owner = {
|
owner = {
|
||||||
@ -275,7 +275,7 @@ situation_rg_gray_mod2 = {
|
|||||||
situation_rg_gray_mod2_stage_2 = {
|
situation_rg_gray_mod2_stage_2 = {
|
||||||
icon = GFX_situation_stage_2
|
icon = GFX_situation_stage_2
|
||||||
icon_background = GFX_situation_stage_frame_green
|
icon_background = GFX_situation_stage_frame_green
|
||||||
end = 16.8
|
end = 17
|
||||||
custom_tooltip = situation_rg_gray_mod2_stage_2_tooltip
|
custom_tooltip = situation_rg_gray_mod2_stage_2_tooltip
|
||||||
on_first_enter = {
|
on_first_enter = {
|
||||||
owner = {
|
owner = {
|
||||||
@ -288,7 +288,7 @@ situation_rg_gray_mod2 = {
|
|||||||
situation_rg_gray_mod2_stage_3 = {
|
situation_rg_gray_mod2_stage_3 = {
|
||||||
icon = GFX_situation_stage_3
|
icon = GFX_situation_stage_3
|
||||||
icon_background = GFX_situation_stage_frame_green
|
icon_background = GFX_situation_stage_frame_green
|
||||||
end = 25.2
|
end = 25
|
||||||
custom_tooltip = situation_rg_gray_mod2_stage_3_tooltip
|
custom_tooltip = situation_rg_gray_mod2_stage_3_tooltip
|
||||||
on_first_enter = {
|
on_first_enter = {
|
||||||
owner = {
|
owner = {
|
||||||
@ -301,7 +301,7 @@ situation_rg_gray_mod2 = {
|
|||||||
situation_rg_gray_mod2_stage_4 = {
|
situation_rg_gray_mod2_stage_4 = {
|
||||||
icon = GFX_situation_stage_4
|
icon = GFX_situation_stage_4
|
||||||
icon_background = GFX_situation_stage_frame_green
|
icon_background = GFX_situation_stage_frame_green
|
||||||
end = 33.6
|
end = 34
|
||||||
custom_tooltip = situation_rg_gray_mod2_stage_4_tooltip
|
custom_tooltip = situation_rg_gray_mod2_stage_4_tooltip
|
||||||
on_first_enter = {
|
on_first_enter = {
|
||||||
owner = {
|
owner = {
|
||||||
@ -327,7 +327,7 @@ situation_rg_gray_mod2 = {
|
|||||||
situation_rg_gray_mod2_stage_6 = {
|
situation_rg_gray_mod2_stage_6 = {
|
||||||
icon = GFX_situation_stage_6
|
icon = GFX_situation_stage_6
|
||||||
icon_background = GFX_situation_stage_frame_green
|
icon_background = GFX_situation_stage_frame_green
|
||||||
end = 50.4
|
end = 50
|
||||||
custom_tooltip = situation_rg_gray_mod2_stage_6_tooltip
|
custom_tooltip = situation_rg_gray_mod2_stage_6_tooltip
|
||||||
on_first_enter = {
|
on_first_enter = {
|
||||||
owner = {
|
owner = {
|
||||||
@ -340,7 +340,7 @@ situation_rg_gray_mod2 = {
|
|||||||
situation_rg_gray_mod2_stage_7 = {
|
situation_rg_gray_mod2_stage_7 = {
|
||||||
icon = GFX_situation_stage_1
|
icon = GFX_situation_stage_1
|
||||||
icon_background = GFX_situation_stage_frame_green
|
icon_background = GFX_situation_stage_frame_green
|
||||||
end = 58.8
|
end = 59
|
||||||
custom_tooltip = situation_rg_gray_mod2_stage_7_tooltip
|
custom_tooltip = situation_rg_gray_mod2_stage_7_tooltip
|
||||||
on_first_enter = {
|
on_first_enter = {
|
||||||
owner = {
|
owner = {
|
||||||
@ -353,7 +353,7 @@ situation_rg_gray_mod2 = {
|
|||||||
situation_rg_gray_mod2_stage_8 = {
|
situation_rg_gray_mod2_stage_8 = {
|
||||||
icon = GFX_situation_stage_2
|
icon = GFX_situation_stage_2
|
||||||
icon_background = GFX_situation_stage_frame_green
|
icon_background = GFX_situation_stage_frame_green
|
||||||
end = 67.2
|
end = 67
|
||||||
custom_tooltip = situation_rg_gray_mod2_stage_8_tooltip
|
custom_tooltip = situation_rg_gray_mod2_stage_8_tooltip
|
||||||
on_first_enter = {
|
on_first_enter = {
|
||||||
owner = {
|
owner = {
|
||||||
@ -366,7 +366,7 @@ situation_rg_gray_mod2 = {
|
|||||||
situation_rg_gray_mod2_stage_9 = {
|
situation_rg_gray_mod2_stage_9 = {
|
||||||
icon = GFX_situation_stage_3
|
icon = GFX_situation_stage_3
|
||||||
icon_background = GFX_situation_stage_frame_green
|
icon_background = GFX_situation_stage_frame_green
|
||||||
end = 75.6
|
end = 76
|
||||||
custom_tooltip = situation_rg_gray_mod2_stage_9_tooltip
|
custom_tooltip = situation_rg_gray_mod2_stage_9_tooltip
|
||||||
on_first_enter = {
|
on_first_enter = {
|
||||||
owner = {
|
owner = {
|
||||||
@ -392,7 +392,7 @@ situation_rg_gray_mod2 = {
|
|||||||
situation_rg_gray_mod2_stage_11 = {
|
situation_rg_gray_mod2_stage_11 = {
|
||||||
icon = GFX_situation_stage_5
|
icon = GFX_situation_stage_5
|
||||||
icon_background = GFX_situation_stage_frame_green
|
icon_background = GFX_situation_stage_frame_green
|
||||||
end = 92.4
|
end = 92
|
||||||
custom_tooltip = situation_rg_gray_mod2_stage_11_tooltip
|
custom_tooltip = situation_rg_gray_mod2_stage_11_tooltip
|
||||||
on_first_enter = {
|
on_first_enter = {
|
||||||
owner = {
|
owner = {
|
||||||
|
@ -85,7 +85,7 @@ special_project = {
|
|||||||
event_scope = ship_event
|
event_scope = ship_event
|
||||||
requirements = {
|
requirements = {
|
||||||
shipclass_military = 1
|
shipclass_military = 1
|
||||||
leader = admiral
|
leader = commander
|
||||||
has_trait = RG_leader_trait_admiral_gray
|
has_trait = RG_leader_trait_admiral_gray
|
||||||
}
|
}
|
||||||
on_start = {
|
on_start = {
|
||||||
|
@ -40,7 +40,7 @@ special_project = {
|
|||||||
key = "rg_gray_mod2_stage1_project"
|
key = "rg_gray_mod2_stage1_project"
|
||||||
cost = 2000
|
cost = 2000
|
||||||
#days_to_research = 300
|
#days_to_research = 300
|
||||||
tech_department = physics_research
|
tech_department = physics_technology
|
||||||
icon = "gfx/interface/icons/situation_log/situation_log_main_quest.dds"
|
icon = "gfx/interface/icons/situation_log/situation_log_main_quest.dds"
|
||||||
picture = GFX_evt_l-gateway
|
picture = GFX_evt_l-gateway
|
||||||
event_scope = country_event
|
event_scope = country_event
|
||||||
@ -80,7 +80,7 @@ special_project = {
|
|||||||
key = "rg_gray_mod2_stage4_project"
|
key = "rg_gray_mod2_stage4_project"
|
||||||
cost = 2000
|
cost = 2000
|
||||||
#days_to_research = 300
|
#days_to_research = 300
|
||||||
tech_department = engineering_research
|
tech_department = engineering_technology
|
||||||
icon = "gfx/interface/icons/situation_log/situation_log_main_quest.dds"
|
icon = "gfx/interface/icons/situation_log/situation_log_main_quest.dds"
|
||||||
picture = GFX_evt_l-gateway
|
picture = GFX_evt_l-gateway
|
||||||
event_scope = country_event
|
event_scope = country_event
|
||||||
|
@ -20,7 +20,7 @@ GRAY_SPECIES = {
|
|||||||
playable = { always = no }
|
playable = { always = no }
|
||||||
randomized = no
|
randomized = no
|
||||||
|
|
||||||
gender = female
|
gender = no
|
||||||
|
|
||||||
portraits = {
|
portraits = {
|
||||||
"Gray"
|
"Gray"
|
||||||
@ -32,7 +32,6 @@ GRAY_SPECIES = {
|
|||||||
RG_MACHINE = {
|
RG_MACHINE = {
|
||||||
archetype = MACHINE
|
archetype = MACHINE
|
||||||
|
|
||||||
playable = no
|
|
||||||
randomized = no
|
randomized = no
|
||||||
# possible = { always = yes }
|
# possible = { always = yes }
|
||||||
# possible_secondary = { always = no text = SECONDARY_SPECIES_CLASS_INVALID }
|
# possible_secondary = { always = no text = SECONDARY_SPECIES_CLASS_INVALID }
|
||||||
|
@ -32,7 +32,6 @@
|
|||||||
# initial = no
|
# initial = no
|
||||||
# randomized = no
|
# randomized = no
|
||||||
# }
|
# }
|
||||||
|
|
||||||
# RG_leader_trait_offical_gray = {
|
# RG_leader_trait_offical_gray = {
|
||||||
# #唯一特质
|
# #唯一特质
|
||||||
# cost = 0
|
# cost = 0
|
||||||
@ -105,7 +104,6 @@
|
|||||||
# initial = no
|
# initial = no
|
||||||
# randomized = no
|
# randomized = no
|
||||||
# }
|
# }
|
||||||
|
|
||||||
RG_leader_trait_governor_gray = {
|
RG_leader_trait_governor_gray = {
|
||||||
#总督特质
|
#总督特质
|
||||||
cost = 0
|
cost = 0
|
||||||
@ -146,7 +144,9 @@ RG_leader_trait_governor_gray = {
|
|||||||
starbase_shipyard_build_cost_mult = -0.25
|
starbase_shipyard_build_cost_mult = -0.25
|
||||||
starbase_shipyard_build_speed_mult = -0.3
|
starbase_shipyard_build_speed_mult = -0.3
|
||||||
}
|
}
|
||||||
leader_class = { official }
|
leader_class = {
|
||||||
|
official
|
||||||
|
}
|
||||||
initial = no
|
initial = no
|
||||||
randomized = no
|
randomized = no
|
||||||
}
|
}
|
||||||
@ -270,7 +270,9 @@ RG_leader_trait_ruler_gray = {
|
|||||||
country_base_influence_produces_add = 1
|
country_base_influence_produces_add = 1
|
||||||
mult = trigger:has_skill
|
mult = trigger:has_skill
|
||||||
}
|
}
|
||||||
leader_class = { official }
|
leader_class = {
|
||||||
|
official
|
||||||
|
}
|
||||||
initial = no
|
initial = no
|
||||||
randomized = no
|
randomized = no
|
||||||
}
|
}
|
||||||
@ -309,7 +311,9 @@ RG_leader_trait_admiral_gray_1 = {
|
|||||||
army_disengage_chance_mult = 0.3
|
army_disengage_chance_mult = 0.3
|
||||||
army_health = 0.15
|
army_health = 0.15
|
||||||
}
|
}
|
||||||
leader_class = { commander }
|
leader_class = {
|
||||||
|
commander
|
||||||
|
}
|
||||||
initial = no
|
initial = no
|
||||||
randomized = no
|
randomized = no
|
||||||
}
|
}
|
||||||
@ -348,7 +352,9 @@ RG_leader_trait_admiral_gray_2 = {
|
|||||||
army_disengage_chance_mult = 0.4
|
army_disengage_chance_mult = 0.4
|
||||||
army_health = 0.25
|
army_health = 0.25
|
||||||
}
|
}
|
||||||
leader_class = { commander }
|
leader_class = {
|
||||||
|
commander
|
||||||
|
}
|
||||||
initial = no
|
initial = no
|
||||||
randomized = no
|
randomized = no
|
||||||
}
|
}
|
||||||
@ -387,7 +393,9 @@ RG_leader_trait_admiral_gray = {
|
|||||||
army_disengage_chance_mult = 0.5
|
army_disengage_chance_mult = 0.5
|
||||||
army_health = 0.35
|
army_health = 0.35
|
||||||
}
|
}
|
||||||
leader_class = { commander }
|
leader_class = {
|
||||||
|
commander
|
||||||
|
}
|
||||||
initial = no
|
initial = no
|
||||||
randomized = no
|
randomized = no
|
||||||
}
|
}
|
||||||
@ -418,7 +426,9 @@ RG_leader_trait_admiral_nanorebuild_gray = {
|
|||||||
army_health = 0.05
|
army_health = 0.05
|
||||||
mult = owner.rg_general_skill_combat_daypassed_variable
|
mult = owner.rg_general_skill_combat_daypassed_variable
|
||||||
}
|
}
|
||||||
leader_class = { commander }
|
leader_class = {
|
||||||
|
commander
|
||||||
|
}
|
||||||
initial = no
|
initial = no
|
||||||
randomized = no
|
randomized = no
|
||||||
}
|
}
|
||||||
@ -455,7 +465,9 @@ RG_leader_trait_scientist_gray = {
|
|||||||
# ship_speed_mult = 0.5
|
# ship_speed_mult = 0.5
|
||||||
ship_anomaly_generation_chance_mult = -1
|
ship_anomaly_generation_chance_mult = -1
|
||||||
}
|
}
|
||||||
leader_class = { scientist }
|
leader_class = {
|
||||||
|
scientist
|
||||||
|
}
|
||||||
initial = no
|
initial = no
|
||||||
randomized = no
|
randomized = no
|
||||||
}
|
}
|
||||||
@ -486,7 +498,6 @@ RG_leader_trait_scientist_gray = {
|
|||||||
# initial = no
|
# initial = no
|
||||||
# randomized = no
|
# randomized = no
|
||||||
# }
|
# }
|
||||||
|
|
||||||
# 与舰长技能合并,弃用
|
# 与舰长技能合并,弃用
|
||||||
# RG_leader_trait_general_gray_skill = {
|
# RG_leader_trait_general_gray_skill = {
|
||||||
# destiny_trait = yes
|
# destiny_trait = yes
|
||||||
@ -512,7 +523,6 @@ RG_leader_trait_scientist_gray = {
|
|||||||
# randomized = no
|
# randomized = no
|
||||||
# destiny_background_icon = "GFX_leader_background_destiny_1"
|
# destiny_background_icon = "GFX_leader_background_destiny_1"
|
||||||
# }
|
# }
|
||||||
|
|
||||||
RG_leader_trait_admiral_fake_dragon = {
|
RG_leader_trait_admiral_fake_dragon = {
|
||||||
cost = 0
|
cost = 0
|
||||||
inline_script = {
|
inline_script = {
|
||||||
@ -532,7 +542,9 @@ RG_leader_trait_admiral_fake_dragon = {
|
|||||||
ship_hull_mult = 0.2
|
ship_hull_mult = 0.2
|
||||||
ship_weapon_damage = 0.2
|
ship_weapon_damage = 0.2
|
||||||
}
|
}
|
||||||
leader_class = { commander }
|
leader_class = {
|
||||||
|
commander
|
||||||
|
}
|
||||||
initial = no
|
initial = no
|
||||||
randomized = no
|
randomized = no
|
||||||
}
|
}
|
||||||
@ -573,9 +585,23 @@ RG_leader_trait_admiral_timed_life = {
|
|||||||
ship_armor_mult = 10
|
ship_armor_mult = 10
|
||||||
ship_hull_mult = 10
|
ship_hull_mult = 10
|
||||||
ship_weapon_damage = 10
|
ship_weapon_damage = 10
|
||||||
custom_tooltip_with_modifiers = rg_timed_life_millennium
|
|
||||||
}
|
}
|
||||||
leader_class = { commander }
|
triggered_desc = {
|
||||||
|
# Show key if trigger/exclusive_trigger is true.
|
||||||
|
trigger = {
|
||||||
|
owner = {
|
||||||
|
check_variable = {
|
||||||
|
which = rg_fake_dragon_timedlife_counter
|
||||||
|
value > 1000
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
# Trigger appends additional localization key to existing text. THIS = Leader
|
||||||
|
text = rg_timed_life_millennium_reborn
|
||||||
|
}
|
||||||
|
leader_class = {
|
||||||
|
commander
|
||||||
|
}
|
||||||
initial = no
|
initial = no
|
||||||
randomized = no
|
randomized = no
|
||||||
}
|
}
|
||||||
@ -617,9 +643,23 @@ RG_leader_trait_admiral_born_tobe_dragon = {
|
|||||||
ship_armor_mult = 0.01
|
ship_armor_mult = 0.01
|
||||||
ship_hull_mult = 0.01
|
ship_hull_mult = 0.01
|
||||||
ship_weapon_damage = 0.01
|
ship_weapon_damage = 0.01
|
||||||
custom_tooltip_with_modifiers = rg_timed_life_millennium_reborn
|
|
||||||
}
|
}
|
||||||
leader_class = { commander }
|
triggered_desc = {
|
||||||
|
# Show key if trigger/exclusive_trigger is true.
|
||||||
|
trigger = {
|
||||||
|
owner = {
|
||||||
|
check_variable = {
|
||||||
|
which = rg_fake_dragon_timedlife_counter
|
||||||
|
value > 1000
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
# Trigger appends additional localization key to existing text. THIS = Leader
|
||||||
|
text = rg_timed_life_millennium_reborn
|
||||||
|
}
|
||||||
|
leader_class = {
|
||||||
|
commander
|
||||||
|
}
|
||||||
initial = no
|
initial = no
|
||||||
randomized = no
|
randomized = no
|
||||||
}
|
}
|
||||||
|
@ -56,6 +56,7 @@ country_event = {
|
|||||||
limit = {
|
limit = {
|
||||||
has_planet_flag = main_star
|
has_planet_flag = main_star
|
||||||
}
|
}
|
||||||
|
save_global_event_target_as = rg_main_star
|
||||||
save_event_target_as = main_star
|
save_event_target_as = main_star
|
||||||
}
|
}
|
||||||
create_country = {
|
create_country = {
|
||||||
@ -79,6 +80,7 @@ country_event = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
effect = {
|
effect = {
|
||||||
|
save_global_event_target_as = rg_graygoo_country
|
||||||
save_event_target_as = graygoo_country
|
save_event_target_as = graygoo_country
|
||||||
create_ship_design = {
|
create_ship_design = {
|
||||||
design = "NAME_RG_armed_transport_ship"
|
design = "NAME_RG_armed_transport_ship"
|
||||||
|
@ -145,7 +145,7 @@ country_event = {
|
|||||||
root = {
|
root = {
|
||||||
random_owned_leader = {
|
random_owned_leader = {
|
||||||
limit = {
|
limit = {
|
||||||
leader_class = governor
|
leader_class = official
|
||||||
}
|
}
|
||||||
save_event_target_as = rg_cluster_sector_gov
|
save_event_target_as = rg_cluster_sector_gov
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
namespace = rg_skill
|
namespace = rg_skill
|
||||||
|
|
||||||
# fleet_event = {
|
# fleet_event = {
|
||||||
# id = rg_skill.1
|
# id = rg_skill.1
|
||||||
# hide_window = yes
|
# hide_window = yes
|
||||||
@ -139,7 +138,7 @@ ship_event = {
|
|||||||
limit = {
|
limit = {
|
||||||
owner = {
|
owner = {
|
||||||
NOT = {
|
NOT = {
|
||||||
is_same_value = origin_rg_gray_country
|
is_same_value = event_target:origin_rg_gray_country
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
solar_system = {
|
solar_system = {
|
||||||
@ -158,7 +157,7 @@ ship_event = {
|
|||||||
else_if = {
|
else_if = {
|
||||||
limit = {
|
limit = {
|
||||||
owner = {
|
owner = {
|
||||||
is_same_value = origin_rg_gray_country
|
is_same_value = event_target:origin_rg_gray_country
|
||||||
NOT = {
|
NOT = {
|
||||||
has_global_flag = l_cluster_opened
|
has_global_flag = l_cluster_opened
|
||||||
}
|
}
|
||||||
@ -180,7 +179,7 @@ ship_event = {
|
|||||||
else_if = {
|
else_if = {
|
||||||
limit = {
|
limit = {
|
||||||
owner = {
|
owner = {
|
||||||
is_same_value = origin_rg_gray_country # 是小灰起源
|
is_same_value = event_target:origin_rg_gray_country # 是小灰起源
|
||||||
has_global_flag = l_cluster_opened # L星门已开启
|
has_global_flag = l_cluster_opened # L星门已开启
|
||||||
}
|
}
|
||||||
solar_system = {
|
solar_system = {
|
||||||
@ -382,23 +381,32 @@ planet_event = {
|
|||||||
remove_planet_flag = checking_tempest_incoming
|
remove_planet_flag = checking_tempest_incoming
|
||||||
}
|
}
|
||||||
else = {
|
else = {
|
||||||
#planet
|
if = {
|
||||||
any_ground_combat_attacker = {
|
limit = {
|
||||||
#army
|
#planet
|
||||||
exists = leader
|
any_ground_combat_attacker = {
|
||||||
leader = {
|
#army
|
||||||
#leader
|
exists = leader
|
||||||
has_trait = RG_leader_trait_admiral_nanorebuild_gray
|
leader = {
|
||||||
owner = {
|
#leader
|
||||||
#country
|
has_trait = RG_leader_trait_admiral_nanorebuild_gray
|
||||||
save_event_target_as = attacking_general_country
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
from = {
|
||||||
|
#country
|
||||||
|
save_event_target_as = attacking_general_country
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
# Do the same check again in X days
|
from = {
|
||||||
country_event = {
|
# Do the same check again in X days
|
||||||
id = rg_skill.10
|
country_event = {
|
||||||
} # NOTE: Update custom loc for effect when changing days
|
id = rg_skill.10
|
||||||
|
}
|
||||||
|
# NOTE: Update custom loc for effect when changing days
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -679,13 +687,11 @@ country_event = {
|
|||||||
# }
|
# }
|
||||||
# }
|
# }
|
||||||
# }
|
# }
|
||||||
|
|
||||||
# On destroying enemy ship.
|
# On destroying enemy ship.
|
||||||
country_event = {
|
country_event = {
|
||||||
id = rg_skill.13
|
id = rg_skill.13
|
||||||
hide_window = yes
|
hide_window = yes
|
||||||
is_triggered_only = yes
|
is_triggered_only = yes
|
||||||
|
|
||||||
trigger = {
|
trigger = {
|
||||||
FromFrom = {
|
FromFrom = {
|
||||||
is_in_combat = yes
|
is_in_combat = yes
|
||||||
@ -695,11 +701,13 @@ country_event = {
|
|||||||
has_trait = RG_leader_trait_admiral_nanorebuild_gray
|
has_trait = RG_leader_trait_admiral_nanorebuild_gray
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
immediate = {
|
immediate = {
|
||||||
FROMFROM = { # Winning ship.
|
FROMFROM = {
|
||||||
|
# Winning ship.
|
||||||
if = {
|
if = {
|
||||||
limit = { exists = fleet.leader }
|
limit = {
|
||||||
|
exists = fleet.leader
|
||||||
|
}
|
||||||
fleet.leader = {
|
fleet.leader = {
|
||||||
if = {
|
if = {
|
||||||
limit = {
|
limit = {
|
||||||
@ -719,6 +727,7 @@ country_event = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# This = owner of fleet 1 (winner)
|
# This = owner of fleet 1 (winner)
|
||||||
# From = owner of fleet 2 (loser)
|
# From = owner of fleet 2 (loser)
|
||||||
# FromFrom = fleet 1
|
# FromFrom = fleet 1
|
||||||
@ -751,6 +760,7 @@ country_event = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# This = owner of fleet 1 (loser)
|
# This = owner of fleet 1 (loser)
|
||||||
# From = owner of fleet 2 (winner)
|
# From = owner of fleet 2 (winner)
|
||||||
# FromFrom = fleet 1
|
# FromFrom = fleet 1
|
||||||
|
@ -854,7 +854,7 @@ country_event = {
|
|||||||
has_star_flag = lgate_originating_system
|
has_star_flag = lgate_originating_system
|
||||||
}
|
}
|
||||||
any_system_megastructure = {
|
any_system_megastructure = {
|
||||||
is_megastructure_type = l_gate_base
|
is_megastructure_type = lgate_base
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -865,10 +865,10 @@ country_event = {
|
|||||||
has_star_flag = lgate_originating_system
|
has_star_flag = lgate_originating_system
|
||||||
}
|
}
|
||||||
any_system_megastructure = {
|
any_system_megastructure = {
|
||||||
is_megastructure_type = l_gate_base
|
is_megastructure_type = lgate_base
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
save_event_target_as = candidate_gateway
|
save_global_event_target_as = candidate_gateway
|
||||||
}
|
}
|
||||||
country_event = {
|
country_event = {
|
||||||
id = distar.10905
|
id = distar.10905
|
||||||
@ -989,7 +989,7 @@ country_event = {
|
|||||||
limit = {
|
limit = {
|
||||||
is_megastructure_type = lgate_base
|
is_megastructure_type = lgate_base
|
||||||
}
|
}
|
||||||
save_event_target_as = candidate_gateway
|
save_global_event_target_as = candidate_gateway
|
||||||
}
|
}
|
||||||
country_event = {
|
country_event = {
|
||||||
id = distar.10905
|
id = distar.10905
|
||||||
@ -1074,14 +1074,14 @@ country_event = {
|
|||||||
hidden_effect = {
|
hidden_effect = {
|
||||||
create_fleet = {
|
create_fleet = {
|
||||||
effect = {
|
effect = {
|
||||||
set_owner = event_target:graygoo_country
|
set_owner = event_target:rg_graygoo_country
|
||||||
create_ship = {
|
create_ship = {
|
||||||
name = random
|
name = random
|
||||||
design = "NAME_Gray_Warship"
|
design = "NAME_Gray_Warship"
|
||||||
graphical_culture = "pirate_01"
|
graphical_culture = "pirate_01"
|
||||||
}
|
}
|
||||||
set_location = {
|
set_location = {
|
||||||
target = event_target:main_star
|
target = event_target:rg_main_star
|
||||||
distance = 55
|
distance = 55
|
||||||
angle = 270
|
angle = 270
|
||||||
}
|
}
|
||||||
@ -1127,14 +1127,14 @@ country_event = {
|
|||||||
hidden_effect = {
|
hidden_effect = {
|
||||||
create_fleet = {
|
create_fleet = {
|
||||||
effect = {
|
effect = {
|
||||||
set_owner = event_target:graygoo_country
|
set_owner = event_target:rg_graygoo_country
|
||||||
create_ship = {
|
create_ship = {
|
||||||
name = random
|
name = random
|
||||||
design = "NAME_Gray_Warship"
|
design = "NAME_Gray_Warship"
|
||||||
graphical_culture = "pirate_01"
|
graphical_culture = "pirate_01"
|
||||||
}
|
}
|
||||||
set_location = {
|
set_location = {
|
||||||
target = event_target:main_star
|
target = event_target:rg_main_star
|
||||||
distance = 55
|
distance = 55
|
||||||
angle = 270
|
angle = 270
|
||||||
}
|
}
|
||||||
@ -1251,14 +1251,14 @@ country_event = {
|
|||||||
hidden_effect = {
|
hidden_effect = {
|
||||||
create_fleet = {
|
create_fleet = {
|
||||||
effect = {
|
effect = {
|
||||||
set_owner = event_target:graygoo_country
|
set_owner = event_target:rg_graygoo_country
|
||||||
create_ship = {
|
create_ship = {
|
||||||
name = random
|
name = random
|
||||||
design = "NAME_Gray_Warship"
|
design = "NAME_Gray_Warship"
|
||||||
graphical_culture = "pirate_01"
|
graphical_culture = "pirate_01"
|
||||||
}
|
}
|
||||||
set_location = {
|
set_location = {
|
||||||
target = event_target:main_star
|
target = event_target:rg_main_star
|
||||||
distance = 55
|
distance = 55
|
||||||
angle = 270
|
angle = 270
|
||||||
}
|
}
|
||||||
@ -1422,7 +1422,7 @@ country_event = {
|
|||||||
immediate = {
|
immediate = {
|
||||||
every_owned_fleet = {
|
every_owned_fleet = {
|
||||||
limit = {
|
limit = {
|
||||||
any_ship = {
|
any_owned_ship = {
|
||||||
is_ship_size = graygoo_mothership
|
is_ship_size = graygoo_mothership
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1718,7 +1718,7 @@ country_event = {
|
|||||||
any_fleet_in_system = {
|
any_fleet_in_system = {
|
||||||
owner = {
|
owner = {
|
||||||
NOT = {
|
NOT = {
|
||||||
is_country = event_target:graygoo_country
|
is_country = event_target:rg_graygoo_country
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1726,7 +1726,7 @@ country_event = {
|
|||||||
}
|
}
|
||||||
random_country = {
|
random_country = {
|
||||||
limit = {
|
limit = {
|
||||||
is_country = event_target:graygoo_country
|
is_country = event_target:rg_graygoo_country
|
||||||
}
|
}
|
||||||
country_event = {
|
country_event = {
|
||||||
id = rg_event.405
|
id = rg_event.405
|
||||||
@ -1737,7 +1737,7 @@ country_event = {
|
|||||||
}
|
}
|
||||||
else_if = {
|
else_if = {
|
||||||
limit = {
|
limit = {
|
||||||
event_target:graygoo_country = {
|
event_target:rg_graygoo_country = {
|
||||||
num_fleets < 30
|
num_fleets < 30
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1748,12 +1748,12 @@ country_event = {
|
|||||||
has_star_flag = lgate_originating_system
|
has_star_flag = lgate_originating_system
|
||||||
}
|
}
|
||||||
any_system_megastructure = {
|
any_system_megastructure = {
|
||||||
is_megastructure_type = l_gate_base
|
is_megastructure_type = lgate_base
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
random_system_megastructure = {
|
random_system_megastructure = {
|
||||||
limit = {
|
limit = {
|
||||||
is_megastructure_type = l_gate_base
|
is_megastructure_type = lgate_base
|
||||||
}
|
}
|
||||||
create_ambient_object = {
|
create_ambient_object = {
|
||||||
type = "horror_spawn_object"
|
type = "horror_spawn_object"
|
||||||
@ -1764,7 +1764,7 @@ country_event = {
|
|||||||
create_fleet = {
|
create_fleet = {
|
||||||
name = "NAME_Tempest_Fleet"
|
name = "NAME_Tempest_Fleet"
|
||||||
effect = {
|
effect = {
|
||||||
set_owner = event_target:graygoo_country
|
set_owner = event_target:rg_graygoo_country
|
||||||
rg_create_graygoo_fleet_random = yes
|
rg_create_graygoo_fleet_random = yes
|
||||||
set_formation_scale = 2
|
set_formation_scale = 2
|
||||||
set_fleet_stance = aggressive
|
set_fleet_stance = aggressive
|
||||||
@ -1819,7 +1819,7 @@ country_event = {
|
|||||||
any_fleet_in_system = {
|
any_fleet_in_system = {
|
||||||
owner = {
|
owner = {
|
||||||
NOT = {
|
NOT = {
|
||||||
is_country = event_target:graygoo_country
|
is_country = event_target:rg_graygoo_country
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1827,7 +1827,7 @@ country_event = {
|
|||||||
}
|
}
|
||||||
random_country = {
|
random_country = {
|
||||||
limit = {
|
limit = {
|
||||||
is_country = event_target:graygoo_country
|
is_country = event_target:rg_graygoo_country
|
||||||
}
|
}
|
||||||
country_event = {
|
country_event = {
|
||||||
id = rg_event.405
|
id = rg_event.405
|
||||||
@ -1838,7 +1838,7 @@ country_event = {
|
|||||||
}
|
}
|
||||||
if = {
|
if = {
|
||||||
limit = {
|
limit = {
|
||||||
event_target:graygoo_country = {
|
event_target:rg_graygoo_country = {
|
||||||
num_fleets < 60
|
num_fleets < 60
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1849,12 +1849,12 @@ country_event = {
|
|||||||
has_star_flag = lgate_originating_system
|
has_star_flag = lgate_originating_system
|
||||||
}
|
}
|
||||||
any_system_megastructure = {
|
any_system_megastructure = {
|
||||||
is_megastructure_type = l_gate_base
|
is_megastructure_type = lgate_base
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
random_system_megastructure = {
|
random_system_megastructure = {
|
||||||
limit = {
|
limit = {
|
||||||
is_megastructure_type = l_gate_base
|
is_megastructure_type = lgate_base
|
||||||
}
|
}
|
||||||
create_ambient_object = {
|
create_ambient_object = {
|
||||||
type = "horror_spawn_object"
|
type = "horror_spawn_object"
|
||||||
@ -1867,7 +1867,7 @@ country_event = {
|
|||||||
create_fleet = {
|
create_fleet = {
|
||||||
name = "NAME_Tempest_Fleet"
|
name = "NAME_Tempest_Fleet"
|
||||||
effect = {
|
effect = {
|
||||||
set_owner = event_target:graygoo_country
|
set_owner = event_target:rg_graygoo_country
|
||||||
rg_create_graygoo_fleet_random = yes
|
rg_create_graygoo_fleet_random = yes
|
||||||
set_formation_scale = 2
|
set_formation_scale = 2
|
||||||
set_fleet_stance = aggressive
|
set_fleet_stance = aggressive
|
||||||
|
@ -7,7 +7,7 @@ country_event = {
|
|||||||
if = {
|
if = {
|
||||||
limit = {
|
limit = {
|
||||||
NOT = {
|
NOT = {
|
||||||
exist = event_target:rg_maid_species
|
exists = event_target:rg_maid_species
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
create_species = {
|
create_species = {
|
||||||
|
@ -37,7 +37,7 @@ country_event = {
|
|||||||
if = {
|
if = {
|
||||||
limit = {
|
limit = {
|
||||||
NOT = {
|
NOT = {
|
||||||
exist = event_target:rg_scion_fe
|
exists = event_target:rg_scion_fe
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
set_country_flag = rg_scion_needs_fe
|
set_country_flag = rg_scion_needs_fe
|
||||||
@ -100,7 +100,7 @@ country_event = {
|
|||||||
overlord = {
|
overlord = {
|
||||||
add_opinion_modifier = {
|
add_opinion_modifier = {
|
||||||
modifier = opinion_scion
|
modifier = opinion_scion
|
||||||
who = rg_scion_fe
|
who = event_target:rg_scion_fe
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
country_event = { id = rg_origin.10 days = 3 }
|
country_event = { id = rg_origin.10 days = 3 }
|
||||||
|
@ -162,9 +162,11 @@ planet_event = {
|
|||||||
id = rg_story.6
|
id = rg_story.6
|
||||||
title = "rg_story.6.title"
|
title = "rg_story.6.title"
|
||||||
is_triggered_only = yes
|
is_triggered_only = yes
|
||||||
fire_only_once = yes
|
|
||||||
trigger = {
|
trigger = {
|
||||||
NOT = {
|
NOT = {
|
||||||
|
any_country = {
|
||||||
|
has_country_flag = rg_story6_fired
|
||||||
|
}
|
||||||
# has_global_flag = has_wsg_mod
|
# has_global_flag = has_wsg_mod
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -178,6 +180,10 @@ planet_event = {
|
|||||||
has_ship_flag = rg_test_ship
|
has_ship_flag = rg_test_ship
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
prev = {
|
||||||
|
save_event_target_as = event_target_country
|
||||||
|
set_country_flag = rg_story6_fired
|
||||||
|
}
|
||||||
delete_fleet = this
|
delete_fleet = this
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -188,8 +194,10 @@ planet_event = {
|
|||||||
option = {
|
option = {
|
||||||
name = rg_story.6.a
|
name = rg_story.6.a
|
||||||
hidden_effect = {
|
hidden_effect = {
|
||||||
country_event = {
|
event_target:event_target_country = {
|
||||||
id = rg_story.7
|
country_event = {
|
||||||
|
id = rg_story.7
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
default_hide_option = yes
|
default_hide_option = yes
|
||||||
@ -647,7 +655,9 @@ country_event = {
|
|||||||
event_target:rg_fake_dragon_fleet = {
|
event_target:rg_fake_dragon_fleet = {
|
||||||
leader = {
|
leader = {
|
||||||
OR = {
|
OR = {
|
||||||
exists = NO
|
NOT = {
|
||||||
|
exists = leader
|
||||||
|
}
|
||||||
NOR = {
|
NOR = {
|
||||||
has_leader_flag = rg_fake_dragon
|
has_leader_flag = rg_fake_dragon
|
||||||
has_leader_flag = rg_fake_dragon_reborn
|
has_leader_flag = rg_fake_dragon_reborn
|
||||||
@ -701,7 +711,7 @@ country_event = {
|
|||||||
# 龙噶了把所有卡住的的模拟龙扫描事件中止
|
# 龙噶了把所有卡住的的模拟龙扫描事件中止
|
||||||
country_event = {
|
country_event = {
|
||||||
id = rg_story.22
|
id = rg_story.22
|
||||||
hidden_window = yes
|
hide_window = yes
|
||||||
is_triggered_only = yes
|
is_triggered_only = yes
|
||||||
trigger = {
|
trigger = {
|
||||||
from = {
|
from = {
|
||||||
@ -1026,8 +1036,7 @@ country_event = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
add_resource = {
|
add_resource = {
|
||||||
resource = nanites
|
nanites = -150
|
||||||
value = -150
|
|
||||||
}
|
}
|
||||||
random_situation = {
|
random_situation = {
|
||||||
limit = {
|
limit = {
|
||||||
@ -1120,12 +1129,10 @@ country_event = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
add_resource = {
|
add_resource = {
|
||||||
resource = alloys
|
alloys = -1500
|
||||||
value = -1500
|
|
||||||
}
|
}
|
||||||
add_resource = {
|
add_resource = {
|
||||||
resource = energy
|
energy = -1500
|
||||||
value = -1500
|
|
||||||
}
|
}
|
||||||
rg_create_gray_mod1_testship_2 = yes
|
rg_create_gray_mod1_testship_2 = yes
|
||||||
random_situation = {
|
random_situation = {
|
||||||
@ -1169,12 +1176,10 @@ country_event = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
add_resource = {
|
add_resource = {
|
||||||
resource = alloys
|
alloys = -1500
|
||||||
value = -1500
|
|
||||||
}
|
}
|
||||||
add_resource = {
|
add_resource = {
|
||||||
resource = energy
|
energy = -1500
|
||||||
value = -1500
|
|
||||||
}
|
}
|
||||||
rg_create_gray_mod1_testship_2 = yes
|
rg_create_gray_mod1_testship_2 = yes
|
||||||
random_situation = {
|
random_situation = {
|
||||||
@ -1218,12 +1223,10 @@ country_event = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
add_resource = {
|
add_resource = {
|
||||||
resource = energy
|
alloys = -1500
|
||||||
value = -4000
|
|
||||||
}
|
}
|
||||||
add_resource = {
|
add_resource = {
|
||||||
resource = minerals
|
energy = -1500
|
||||||
value = -1500
|
|
||||||
}
|
}
|
||||||
random_situation = {
|
random_situation = {
|
||||||
limit = {
|
limit = {
|
||||||
@ -1262,8 +1265,7 @@ country_event = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
add_resource = {
|
add_resource = {
|
||||||
resource = consumer_goods
|
consumer_goods = -3000
|
||||||
value = -3000
|
|
||||||
}
|
}
|
||||||
random_situation = {
|
random_situation = {
|
||||||
limit = {
|
limit = {
|
||||||
@ -1306,12 +1308,10 @@ country_event = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
add_resource = {
|
add_resource = {
|
||||||
resource = alloys
|
alloys = -1500
|
||||||
value = -1500
|
|
||||||
}
|
}
|
||||||
add_resource = {
|
add_resource = {
|
||||||
resource = energy
|
energy = -1500
|
||||||
value = -1500
|
|
||||||
}
|
}
|
||||||
rg_create_gray_mod1_testship_2 = yes
|
rg_create_gray_mod1_testship_2 = yes
|
||||||
random_situation = {
|
random_situation = {
|
||||||
@ -1351,8 +1351,7 @@ country_event = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
add_resource = {
|
add_resource = {
|
||||||
resource = alloys
|
alloys = -3000
|
||||||
value = -3000
|
|
||||||
}
|
}
|
||||||
random_situation = {
|
random_situation = {
|
||||||
limit = {
|
limit = {
|
||||||
@ -1391,8 +1390,7 @@ country_event = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
add_resource = {
|
add_resource = {
|
||||||
resource = alloys
|
alloys = -500
|
||||||
value = -500
|
|
||||||
}
|
}
|
||||||
random_situation = {
|
random_situation = {
|
||||||
limit = {
|
limit = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user