]> git.pond.sub.org Git - empserver/blob - info/Concepts/Selector.t
Use .ig to comment out stuff, it doesn't produce empty lines.
[empserver] / info / Concepts / Selector.t
1 .TH Concept "Conditional Selectors"
2 .NA Selector "Selectors you can use in Empire conditionals"
3 .LV Basic
4 This is a complete list of all selectors you can use in Empire
5 conditionals.  A selector is for example \*Qmil\*U in the following
6 command:
7 .EX cen * ?mil>10
8 Most selectors are self-explanitory, so definitions will only be given
9 where necessary.
10 .s1
11 Commodities:
12 .in +\w'nchoppers\0\0'u
13 .L civil
14 .L milit
15 .L shell
16 .L gun
17 .L petrol
18 .L iron
19 .L dust
20 gold dust
21 .L bar
22 bars of gold
23 .L food
24 .L oil
25 .L lcm
26 light construction materials
27 .L hcm
28 heavy construction materials
29 .L uw
30 uncompensated workers
31 .L rad
32 radioactive materials
33 .in
34 .s1
35 Sector:
36 .in +\w'nchoppers\0\0'u
37 .L xloc
38 .L yloc
39 .L owner
40 .L des
41 designation/infrastructure
42 .L effic
43 .L mobil
44 .L terr
45 .L terr0
46 alias for terr
47 .L terr1
48 .L terr2
49 .L terr3
50 .L timestamp
51 .L fallout
52 .L road
53 .L rail
54 .L dfense
55 (this isn't defense or it will conflict with des)
56 .L work
57 .L coastal
58 is a coastal sector
59 .L newdes
60 new designation
61 .L min
62 mineral resources (iron)
63 .L gold
64 gold resources
65 .L fert
66 food fertility
67 .L ocontent
68 oil content
69 .L uran
70 uranium resources
71 .L oldown
72 old owner
73 .L off
74 whether production is turned off
75 .L xdist
76 distribution centre
77 .L ydist
78 distribution centre
79 .L avail
80 available workforce
81 .in
82 .s1
83 Ship, plane, or land unit:
84 .in +\w'nchoppers\0\0'u
85 .L xloc
86 x location
87 .L yloc
88 y location
89 .L owner
90 .L type
91 type of unit (e.g. cavalry or frigate)
92 .L effic
93 .L mobil
94 .L timestamp
95 .L tech
96 tech level the unit was built at
97 .L uid
98 unit id number
99 .L group
100 fleet/wing/army
101 .L opx
102 mission operations sector
103 .L opy
104 mission operations sector
105 .L mission
106 .nf
107 1 = interdict
108 2 = support
109 3 = reserve
110 4 = escort
111 5 = sub interdiction
112 6 = air defense
113 7 = defense support
114 8 = offense support
115 .fi
116 .in
117 .s1
118 Ship:
119 .in +\w'nchoppers\0\0'u
120 .L fleet
121 .L nplane
122 number of planes the ship is carrying
123 .L fuel
124 .L nxlight
125 number of xlight planes the ship is carrying
126 .L nchoppers
127 number of helicopters the ship is carrying
128 .L autonav
129 .in
130 .s1
131 Plane:
132 .in +\w'nchoppers\0\0'u
133 .L wing
134 .L range
135 .L ship
136 ship the plane is on (-1 = no ship)
137 .L att
138 .L def
139 .L harden
140 .L nuketype
141 Type of nuke on the plane (-1 = no ship, 0..n = index into nuke table)
142 .L flags
143 .L land
144 land unit the plane is on (-1 = no land unit)
145 .in
146 .s1
147 Land Unit:
148 .in +\w'nchoppers\0\0'u
149 .L att
150 .L def
151 .L army
152 .L ship
153 ship the land unit is on (-1 = no land unit)
154 .L harden
155 fortification
156 .L retreat
157 .L fuel
158 .L land
159 number of land units on the unit
160 .L nxlight
161 number of xlight planes on the unit
162 .L vul
163 .L spd
164 .L vis
165 .L spy
166 .L rad
167 .L frg
168 .L acc
169 .L dam
170 .L ammo
171 .L aaf
172 .L fuelc
173 .L fuelu
174 .L maxlight
175 .in
176 .s1
177 Nuke:
178 .in +\w'nchoppers\0\0'u
179 .L owner
180 .L uid
181 .L xloc
182 .L yloc
183 .L number
184 .L types
185 .L timestamp
186 .s1
187 For distribution and delivery selectors, the first letter is the first
188 letter of the name of the commodity.  For example, civilian
189 distribution threshold is 'c_dist'.
190 .in
191 .s1
192 Distribution:
193 .in +\w'nchoppers\0\0'u
194 .L c_dist
195 .L m_dist
196 .L u_dist
197 .L s_dist
198 .L g_dist
199 .L p_dist
200 .L i_dist
201 .L d_dist
202 .L b_dist
203 .L f_dist
204 .L o_dist
205 .L l_dist
206 .L h_dist
207 .L r_dist
208 .in
209 .s1
210 Delivery:
211 .in +\w'nchoppers\0\0'u
212 .L c_del
213 .L m_del
214 .L u_del
215 .L s_del
216 .L g_del
217 .L p_del
218 .L i_del
219 .L d_del
220 .L b_del
221 .L f_del
222 .L o_del
223 .L l_del
224 .L h_del
225 .L r_del
226 .in
227 .s1
228 Deity:
229 .in +\w'nchoppers\0\0'u
230 .L pstage
231 .L ptime
232 .L che
233 .L che_target
234 .L mines
235 .in
236 .s1
237 Treaty:
238 .in +\w'nchoppers\0\0'u
239 .L cna
240 .L cnb
241 .L status
242 .L acond
243 .L bcond
244 .L exp
245 .in
246 .s1
247 Loan:
248 .in +\w'nchoppers\0\0'u
249 .L loaner
250 .L uid
251 .L loanee
252 .L status
253 .L irate
254 .L ldur
255 .L amtpaid
256 .L amtdue
257 .L lastpay
258 .L duedate
259 .in
260 .s1
261 News:
262 .in +\w'nchoppers\0\0'u
263 .L actor
264 .L action
265 .L victim
266 .L times
267 number of times action happened
268 .L time
269 time
270 .in
271 .s1
272 Lost:
273 .in +\w'nchoppers\0\0'u
274 .L owner
275 .L uid
276 .L type
277 .L x
278 .L y
279 .L timestamp
280 .in
281 \" Commented out, because there's currently no way to use these:
282 .ig
283 .s1
284 Commodity:
285 .in +\w'nchoppers\0\0'u
286 \" FIXME incomplete
287 .s1
288 .in
289 Trade:
290 .in +\w'nchoppers\0\0'u
291 .L type
292 .L owner
293 .L unitid
294 \" FIXME incomplete
295 .in
296 ..
297 .s1
298 .SA "Syntax, Playing"