-
Notifications
You must be signed in to change notification settings - Fork 20
/
3.10.3_game_scopes.log
338 lines (254 loc) · 14.9 KB
/
3.10.3_game_scopes.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
[14:04:34][game_application.cpp:2121]:
== SCOPE DOCUMENTATION ==
These work as context switches (links) in triggers and effects (e.g. 'owner = { <triggers/effects> }'), or as targets of triggers and effects (e.g. 'is_owned_by = from'). Dot scoping (e.g. root.owner.capital_scope) is allowed.
Complete list of scope changes:
target - Scopes from a spy network to its target country, or from an espionage operation to its target (can be various objects, as set in common/espionage_operation_types).
Supported Scopes: spy_network espionage_operation agreement situation
Output Scope: various
background_planet - Scopes from a leader to their background planet
Supported Scopes: leader
Output Scope: planet
army_leader - Scopes from an object to its army leader, e.g. planet->general
Supported Scopes: planet
Output Scope: leader
orbit - Scopes to the planet the current object is in orbit of. Works on ships, fleets, starbases, armies (when in military transports) and moons (scopes to the planet that a moon orbits).
Supported Scopes: planet ship fleet army starbase
Output Scope: planet
planet - Scopes from an object to the planet it is on. Works from army, megastructure, deposit and arc site scopes.
Supported Scopes: megastructure planet pop leader army starbase deposit archaeological_site
Output Scope: planet
star - Scopes from an object to the primary star (planet scope) of the system it is in. Works on all objects visible in star system view.
Supported Scopes: megastructure planet ship fleet galactic_object ambient_object bypass starbase archaeological_site first_contact debris astral_rift
Output Scope: planet
last_added_deposit - Scopes to the last deposit added to the current planet
Supported Scopes: planet
Output Scope: deposit
branch_office_owner - Scopes from a planet to the owner of a branch office.
Supported Scopes: planet
Output Scope: country
pop - Scopes from an army to the pop that spawned it.
Supported Scopes: pop army
Output Scope: pop
species - Scopes from a country, leader, pop, army or (colonist) ship to its species.
Supported Scopes: country ship pop leader army species
Output Scope: species
assembling_species - Scopes from a planet to the species currently being assembled on it.
Supported Scopes: planet
Output Scope: species
built_species - Scopes from a country to its built species.
Supported Scopes: country
Output Scope: species
declining_species - Scopes from a planet to the species currently declining on it.
Supported Scopes: planet
Output Scope: species
fleet - Scopes from a ship, starbase, astral rift or leader to its fleet, or from an army to the fleet its army transport is part of.
Supported Scopes: ship fleet leader army starbase astral_rift
Output Scope: fleet
design - Scopes to the ship's design
Supported Scopes: ship
Output Scope: design
from - Scopes to the ROOT of the previous event, or the preset hardcoded FROM scope.
Supported Scopes: all
Output Scope: various
this - Scopes to the current scope.
Supported Scopes: all
Output Scope: various
root - Scopes to the original scope of this context, e.g. the country of a country_event.
Supported Scopes: all
Output Scope: various
prev - Scopes to the previous scope, e.g. owner = { capital_scope = { is_owned_by = prev } } would refer to the owner of the capital here (and always be true).
Supported Scopes: all
Output Scope: various
capital_scope - Scopes from an empire to its capital planet.
Supported Scopes: country
Output Scope: planet
owner - Scopes to the owner of the current object. Works on any object that could be construed as being owned by a country (incl. planets, ships, fleets, leaders, pops, solar systems, pop factions, megastructures, first contacts, spy networks, espionage operations, armies, starbases, deposits, sectors, arc sites)
Supported Scopes: megastructure planet country ship pop fleet galactic_object leader army bypass pop_faction starbase deposit sector archaeological_site first_contact spy_network espionage_operation agreement situation debris astral_rift
Output Scope: country
controller - Scopes from a planet (or starbase) to the empire controlling it (not necessarily the owner: a country occupying a planet is its controller).
Supported Scopes: planet ship fleet starbase debris
Output Scope: country
fromfrom - Scopes to the FROM of the FROM scope (ROOT of two events ago, or the preset hardcoded FROMFROM scope).
Supported Scopes: all
Output Scope: various
prevprev - Scopes back to two scope changes ago, e.g. planet = { owner = { any_owned_planet = { is_same_value = prevprev } } } would be checking if the owner of the planet owns any planet that is the same as the planet you are starting in (which would always be true).
Supported Scopes: all
Output Scope: various
prevprevprev - Scopes back to three scope changes ago (the PREV of PREVPREV).
Supported Scopes: all
Output Scope: various
prevprevprevprev - Scopes back to four scope changes ago (the PREV of PREVPREVPREV).
Supported Scopes: all
Output Scope: various
home_planet - Scopes to a species' home planet (also works from country, pop and leader; scopes to that object's species's home planet).
Supported Scopes: country pop leader species
Output Scope: planet
last_created_fleet - Scopes to the last fleet that was created anywhere in the game.
Supported Scopes: all
Output Scope: fleet
owner_main_species - Scopes to the main species of the owner of the current object. Works in every scope that 'owner' would work in.
Supported Scopes: megastructure planet country ship pop fleet galactic_object leader army species bypass pop_faction starbase deposit sector archaeological_site first_contact spy_network espionage_operation agreement situation debris astral_rift
Output Scope: species
last_created_country - Scopes to the last country that was created anywhere in the game.
Supported Scopes: all
Output Scope: country
last_created_species - Scopes to the last species that was created anywhere in the game.
Supported Scopes: all
Output Scope: species
alliance - Scopes from a country to the federation it is a member of.
Supported Scopes: country
Output Scope: federation
overlord - Scopes from a country to its overlord.
Supported Scopes: country
Output Scope: country
federation - Scopes from a country to the federation it is a member of.
Supported Scopes: country
Output Scope: federation
research_station - Scopes from a planet to the research station in orbit of it.
Supported Scopes: planet
Output Scope: fleet
mining_station - Scopes from a planet to the mining station in orbit of it.
Supported Scopes: planet
Output Scope: fleet
last_created_pop - Scopes to the last pop that was created anywhere in the game.
Supported Scopes: all
Output Scope: pop
last_created_system - Scopes to the last fleet that was created anywhere in the game.
Supported Scopes: all
Output Scope: galactic_object
planet_owner - Scopes from an object to the owner of the planet it is on. Works from army, megastructure, deposit and arc site scopes.
Supported Scopes: megastructure planet pop leader army starbase deposit archaeological_site
Output Scope: country
last_created_ambient_object - Scopes to the last ambient object that was created anywhere in the game.
Supported Scopes: all
Output Scope: ambient_object
last_created_ship - Scopes to the last ship that was created anywhere in the game.
Supported Scopes: all
Output Scope: ship
orbital_station - Scopes from a planet to the station (mining station, research station, observation outpost) orbiting it.
Supported Scopes: planet
Output Scope: fleet
last_created_leader - Scopes to the last leader that was created anywhere in the game.
Supported Scopes: all
Output Scope: leader
owner_species - Scopes to the main species of the owner of the current object. Works in every scope that 'owner' would work in.
Supported Scopes: megastructure planet country ship pop fleet galactic_object leader army species bypass pop_faction starbase deposit sector archaeological_site first_contact spy_network espionage_operation agreement situation debris astral_rift
Output Scope: species
fromfromfrom - Scopes to the FROM of the FROMFROM scope (ROOT of three events ago, or the preset hardcoded FROMFROMFROM scope)
Supported Scopes: all
Output Scope: various
last_created_army - Scopes to the last army that was created anywhere in the game.
Supported Scopes: all
Output Scope: army
last_created_design - Scopes to the last created ship design
Supported Scopes: all
Output Scope: design
envoy_location_country - Scopes from an envoy to the empire it is appointed to.
Supported Scopes: leader
Output Scope: country
contact_country - Scopes from a first contact site to the country that the owner of the site is seeking to establish communications with.
Supported Scopes: first_contact
Output Scope: country
sector_capital - Scopes from a sector to its capital planet.
Supported Scopes: sector
Output Scope: planet
observation_outpost_owner - Scopes from a planet to the owner of the observation outpost in orbit of it.
Supported Scopes: planet
Output Scope: country
observation_outpost - Scopes from a planet to the observation outpost in orbit of it.
Supported Scopes: planet
Output Scope: fleet
federation_leader - Scopes from a federation to the empire leading it.
Supported Scopes: federation
Output Scope: country
associated_federation - Scopes from a country to the federation it is an associate of.
Supported Scopes: country
Output Scope: federation
sector - Scopes from an object to the sector it is in. Works on all objects visible objects visible in star system view, plus star systems themselves and leaders (scopes to the sector the leader is currently located in, not necessarily the one they are assigned to as a governor).
Supported Scopes: megastructure planet ship pop fleet galactic_object leader army ambient_object bypass starbase deposit sector archaeological_site first_contact debris
Output Scope: sector
pop_faction - Scopes from a pop or leader to its pop faction.
Supported Scopes: pop leader pop_faction
Output Scope: pop_faction
last_created_pop_faction - Scopes to the last pop faction that was created anywhere in the game.
Supported Scopes: all
Output Scope: pop_faction
unhappiest_pop - Scopes from a country or planet to its unhappiest pop.
Supported Scopes: planet country
Output Scope: pop
heir - Scopes to the heir of a country (or the heir of the object's owner).
Supported Scopes: megastructure planet country ship pop fleet galactic_object leader army bypass pop_faction starbase deposit sector archaeological_site first_contact spy_network espionage_operation agreement situation debris astral_rift
Output Scope: leader
explorer - Scopes from an astral rift to the country whose leader is exploring, or has explored it.
Supported Scopes: astral_rift
Output Scope: country
fromfromfromfrom - Scopes to the FROM of the FROMFROMFROM scope (ROOT of four events ago, or the preset hardcoded FROMFROMFROMFROM scope)
Supported Scopes: all
Output Scope: various
last_refugee_country - Scopes to the last country from which a pop fled to escape purge (via on_pop_displaced).
Supported Scopes: all
Output Scope: country
starbase - Scopes from a solar system or planet to that system's starbase. Alternatively, scopes from a fleet or ship that is a starbase to its matching starbase scope.
Supported Scopes: planet ship fleet galactic_object starbase
Output Scope: starbase
capital_star - Scopes from an empire to the primary star (planet scope) of its capital's system.
Supported Scopes: country
Output Scope: planet
system_star - Scopes from an object to the primary star (planet scope) of the system it is in. Works on all objects visible in star system view.
Supported Scopes: megastructure planet country ship pop fleet galactic_object leader army ambient_object bypass starbase deposit archaeological_site first_contact debris astral_rift
Output Scope: planet
creator - Scopes to the leader's country of origin
Supported Scopes: leader
Output Scope: country
no_scope - Sets the scope to no scope (empty scope used for certain generalized behavior).
Supported Scopes: all
Output Scope: no_scope
archaeological_site - Scopes from an object (e.g. planet) in star system view to the arc site in the same location.
Supported Scopes: megastructure planet ship fleet galactic_object ambient_object starbase archaeological_site debris
Output Scope: archaeological_site
excavator_fleet - Scopes from an arc site to the fleet whose leader is currently investigating it.
Supported Scopes: archaeological_site
Output Scope: fleet
reverse_first_contact - Scopes from a first contact site to the equivalent one that the contact_country has on the site's owner.
Supported Scopes: first_contact
Output Scope: first_contact
spynetwork - Scopes from an espionage operation or spymaster envoy to its spy network.
Supported Scopes: leader espionage_operation
Output Scope: spy_network
growing_species - Scopes from a planet to the species currently growing (not assembling) on it.
Supported Scopes: planet
Output Scope: species
galactic_emperor - Scopes to the ruling empire of the Galactic Imperium.
Supported Scopes: all
Output Scope: country
galactic_custodian - Scopes to the Custodian empire of the Galactic Community.
Supported Scopes: all
Output Scope: country
orbital_defence - Scopes from a planet to the orbital defence station (orbital ring, starbase) orbiting the planet
Supported Scopes: planet
Output Scope: fleet
attacker - Scopes from a war to its main attacker.
Supported Scopes: war
Output Scope: country
defender - Scopes from a war to its main defender.
Supported Scopes: war
Output Scope: country
leader - Scopes from an object to its leader, e.g. country->ruler, fleet->admiral/scientist, sector->governor, army->general, arc site->scientist...
Supported Scopes: planet country ship fleet leader army pop_faction federation archaeological_site first_contact spy_network espionage_operation astral_rift
Output Scope: leader
solar_system - Scopes from an object to the solar system it is in. Works on all objects visible in star system view.
Supported Scopes: megastructure planet country ship pop fleet galactic_object leader army ambient_object bypass starbase deposit archaeological_site first_contact debris astral_rift
Output Scope: galactic_object
space_owner - Scopes from an object to the owner of the space it is in. Works on all objects visible in star system view.
Supported Scopes: megastructure planet country ship fleet galactic_object army ambient_object starbase archaeological_site spy_network debris
Output Scope: country
ruler - Scopes to the ruler of a country (or the ruler of the object's owner).
Supported Scopes: megastructure planet country ship pop fleet galactic_object leader army bypass pop_faction starbase deposit sector archaeological_site first_contact spy_network espionage_operation agreement situation debris astral_rift
Output Scope: leader
astral_rift - Scopes to the astral rift in the same system.
Supported Scopes: galactic_object leader
Output Scope: astral_rift
lock_country - Scopes from a bypass to the country who locked it.
Supported Scopes: bypass
Output Scope: bypass
=================