2023-05-25 20:12:01 +08:00
|
|
|
on_game_start = {
|
|
|
|
events = {
|
|
|
|
}
|
|
|
|
}
|
2023-06-08 13:11:05 +08:00
|
|
|
|
2023-05-25 20:12:01 +08:00
|
|
|
on_single_player_save_game_load = {
|
|
|
|
events = {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-05-23 11:11:33 +08:00
|
|
|
on_custom_diplomacy = {
|
|
|
|
events = {
|
|
|
|
graygoo.505
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
# Triggers when ground combat starts
|
|
|
|
# This = planet
|
|
|
|
# From = country attacking
|
|
|
|
on_ground_combat_started = {
|
2023-06-08 13:11:05 +08:00
|
|
|
events = {
|
|
|
|
# Tempest Incoming trait effect
|
2023-05-23 11:11:33 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#An army has been killed in ground combat
|
|
|
|
# This = owner
|
|
|
|
# From = army
|
|
|
|
# FromFrom = opponent
|
|
|
|
# FromFromFrom = planet
|
|
|
|
on_army_killed_in_combat = {
|
|
|
|
events = {
|
2023-06-08 13:11:05 +08:00
|
|
|
rg_skill.8 # Tempest Incoming trait effect
|
2023-05-23 11:11:33 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
on_game_start_country = {
|
|
|
|
events = {
|
2023-06-08 11:13:54 +08:00
|
|
|
# rg_cluster.8
|
2023-06-08 12:45:17 +08:00
|
|
|
rg_event.1
|
2024-04-10 19:39:38 +08:00
|
|
|
rg_origin.1
|
2023-06-08 12:45:17 +08:00
|
|
|
rg_event.19
|
2023-05-23 11:11:33 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
# This = country
|
2023-06-07 11:16:10 +08:00
|
|
|
# 最高优先级检测才放月检
|
2023-05-23 11:11:33 +08:00
|
|
|
on_monthly_pulse_country = {
|
|
|
|
events = {
|
2023-06-08 13:11:05 +08:00
|
|
|
rg_event.8 #领袖等级检测更新
|
|
|
|
rg_event.16 #陆军压制舰更新
|
2023-06-08 12:45:17 +08:00
|
|
|
# rg_event.22 #小灰复活检测
|
|
|
|
# rg_event.23 #月检移除L星门认知防止收容失效
|
2023-05-23 11:11:33 +08:00
|
|
|
# rg_skill.9
|
2024-08-30 06:13:54 +08:00
|
|
|
rg_planet.5025 # Virtual Machine pop creation
|
|
|
|
rg_planet.5030 # Virtual Machine pop destruction
|
2023-05-23 11:11:33 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
on_yearly_pulse_country = {
|
|
|
|
events = {
|
2023-06-08 12:45:17 +08:00
|
|
|
rg_event.17
|
|
|
|
rg_event.20
|
2023-05-24 17:26:07 +08:00
|
|
|
rg_story.20
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-05-23 11:11:33 +08:00
|
|
|
on_mid_game_pulse_country = {
|
2023-06-08 13:11:05 +08:00
|
|
|
events = {
|
|
|
|
# rg_event.18
|
|
|
|
}
|
2023-05-23 11:11:33 +08:00
|
|
|
}
|
|
|
|
|
2024-09-23 00:06:39 +08:00
|
|
|
# No scope, like on_game_start
|
|
|
|
on_five_year_pulse = {
|
|
|
|
events = {
|
|
|
|
rg_planet.5053 #Nanite ascension - orbital deposit handler
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-05-23 11:11:33 +08:00
|
|
|
# Triggers country_event for the attacker upon victory
|
|
|
|
# (Before controller is switched)
|
|
|
|
# This = country, leader attacker
|
|
|
|
# From = country, planet owner
|
|
|
|
# FromFrom = planet
|
|
|
|
# IDENTITIES: attacker is the side that "IsHostile" to
|
|
|
|
# the planet controller; e.g. spawned monster armies
|
|
|
|
# are attackers, but if they win and the player attempts
|
|
|
|
# to retake the planet, the player is the attacker
|
|
|
|
on_planet_attackers_win = {
|
|
|
|
events = {
|
2023-06-08 12:45:17 +08:00
|
|
|
rg_event.16
|
2023-05-23 11:11:33 +08:00
|
|
|
# rg_skill.9
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
# Triggers country_event for the attacker upon defeat
|
|
|
|
# This = country, attack leader
|
|
|
|
# From = country, planet owner
|
|
|
|
# FromFrom = planet
|
|
|
|
on_planet_attackers_lose = {
|
|
|
|
events = {
|
2023-06-08 12:45:17 +08:00
|
|
|
rg_event.16
|
2023-05-23 11:11:33 +08:00
|
|
|
# rg_skill.9
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-09-18 17:16:32 +08:00
|
|
|
# A leader leveled up.
|
|
|
|
# Scope = Country
|
|
|
|
# From = Leader
|
|
|
|
on_leader_level_up = {
|
|
|
|
events = {
|
|
|
|
rg_event.23
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2023-05-23 11:11:33 +08:00
|
|
|
# on_entering_battle = {
|
|
|
|
# events = {
|
|
|
|
# rg_skill.1
|
|
|
|
# }
|
|
|
|
# }
|
|
|
|
#
|
|
|
|
# on_space_battle_won = {
|
|
|
|
# events = {
|
|
|
|
# rg_skill.2
|
|
|
|
# }
|
|
|
|
# }
|
|
|
|
# this = country
|
|
|
|
|
|
|
|
#舰船建造完成
|
|
|
|
# Root = Ship
|
|
|
|
# From = Planet
|
|
|
|
on_ship_built = {
|
|
|
|
events = {
|
2023-06-08 13:11:05 +08:00
|
|
|
rg_skill.3 #科研舰在无主权星系中被建造出来
|
2023-05-23 11:11:33 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#进入星系
|
|
|
|
# Scope = Ship
|
|
|
|
# From = System
|
|
|
|
# FromFrom = Country
|
|
|
|
on_entering_system = {
|
|
|
|
events = {
|
|
|
|
rg_skill.3
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#舰船完成星系探测
|
|
|
|
# Scope = ship
|
|
|
|
# From = system
|
|
|
|
on_system_survey_ship = {
|
|
|
|
events = {
|
|
|
|
rg_skill.3
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
# This = owner of ship 1 (combatant)
|
|
|
|
# From = owner of ship 2 (destroyed)
|
|
|
|
# FromFrom = ship 1
|
|
|
|
# FromFromFrom = ship 2
|
|
|
|
on_ship_destroyed_perp = {
|
|
|
|
events = {
|
|
|
|
rg_skill.11
|
|
|
|
rg_story.10
|
2023-05-24 18:05:20 +08:00
|
|
|
rg_story.22
|
2023-06-20 14:05:14 +08:00
|
|
|
rg_skill.12
|
|
|
|
rg_skill.13
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
# This = owner of fleet 1 (winner)
|
|
|
|
# From = owner of fleet 2 (loser)
|
|
|
|
# FromFrom = fleet 1
|
|
|
|
# FromFromFrom = fleet 2
|
|
|
|
on_space_battle_won = {
|
|
|
|
events = {
|
|
|
|
rg_skill.14
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-09-24 22:36:39 +08:00
|
|
|
# This = owner of fleet 1 (winner)
|
|
|
|
# From = owner of fleet 2 (loser)
|
|
|
|
# FromFrom = fleet 1
|
|
|
|
# FromFromFrom = fleet 2
|
|
|
|
# Fires when a combat is finished from a lack of enemies
|
|
|
|
on_space_battle_over = {
|
|
|
|
events = {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-06-20 14:05:14 +08:00
|
|
|
# This = owner of fleet 1 (loser)
|
|
|
|
# From = owner of fleet 2 (winner)
|
|
|
|
# FromFrom = fleet 1
|
|
|
|
# FromFromFrom = fleet 2
|
|
|
|
on_space_battle_lost = {
|
|
|
|
events = {
|
2023-06-21 12:58:32 +08:00
|
|
|
rg_skill.15
|
2023-05-23 11:11:33 +08:00
|
|
|
}
|
2024-08-30 06:13:54 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
# A planet has been colonized.
|
|
|
|
# Scope = Planet
|
|
|
|
on_colonized = {
|
|
|
|
events = {
|
|
|
|
rg_planet.2026 # Virtual Machine pop creation
|
|
|
|
rg_planet.2031 # Virtual Machine pop destruction
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#A building construction has been completed.
|
|
|
|
# This = Planet
|
|
|
|
on_building_complete = {
|
|
|
|
events = {
|
|
|
|
rg_planet.2026 # Virtual Machine pop creation
|
|
|
|
rg_planet.2031 # Virtual Machine pop destruction
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
# A building construction has been completed, which is an upgrade of previous building.
|
|
|
|
# This = Planet
|
|
|
|
on_building_upgraded = {
|
|
|
|
events = {
|
|
|
|
rg_planet.2026 # Virtual Machine pop creation
|
|
|
|
rg_planet.2031 # Virtual Machine pop destruction
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
# A building construction has demolished.
|
|
|
|
# This = Planet
|
|
|
|
on_building_demolished = {
|
|
|
|
events = {
|
|
|
|
rg_planet.2026 # Virtual Machine pop creation
|
|
|
|
rg_planet.2031 # Virtual Machine pop destruction
|
|
|
|
}
|
|
|
|
}
|
|
|
|
# A building repair has finished
|
|
|
|
# This = Planet
|
|
|
|
on_building_repaired = {
|
|
|
|
events = {
|
|
|
|
rg_planet.2026 # Virtual Machine pop creation
|
|
|
|
rg_planet.2031 # Virtual Machine pop destruction
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#A district construction has been completed.
|
|
|
|
# This = Planet
|
|
|
|
on_district_complete = {
|
|
|
|
events = {
|
|
|
|
rg_planet.2026 # Virtual Machine pop creation
|
|
|
|
rg_planet.2031 # Virtual Machine pop destruction
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
# A building construction has finished, replacing another building.
|
|
|
|
# This = Planet
|
|
|
|
on_building_replaced = {
|
|
|
|
events = {
|
|
|
|
rg_planet.2026 # Virtual Machine pop creation
|
|
|
|
rg_planet.2031 # Virtual Machine pop destruction
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
# A building construction has been downgraded and replaced.
|
|
|
|
# This = Planet
|
|
|
|
on_building_downgraded = {
|
|
|
|
events = {
|
|
|
|
rg_planet.2026 # Virtual Machine pop creation
|
|
|
|
rg_planet.2031 # Virtual Machine pop destruction
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
# A district construction has demolished.
|
|
|
|
# This = Planet
|
|
|
|
on_district_demolished = {
|
|
|
|
events = {
|
|
|
|
rg_planet.2026 # Virtual Machine pop creation
|
|
|
|
rg_planet.2031 # Virtual Machine pop destruction
|
|
|
|
}
|
2024-09-21 14:38:29 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
# A pop has finished purging
|
|
|
|
# This = Planet scope
|
|
|
|
# From = Country
|
|
|
|
# FromFrom = Pop
|
|
|
|
on_pop_purged = {
|
|
|
|
events = {
|
|
|
|
rg_event.24 # Necrophage Purge
|
|
|
|
}
|
2024-05-14 09:50:13 +08:00
|
|
|
}
|