]> git.pond.sub.org Git - empserver/blob - info/Selector.t
New info Hvy-Plastic
[empserver] / info / 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 alias for terr0 (mortal player) or dterr (deity)
46 .L terr0
47 .L terr1
48 .L terr2
49 .L terr3
50 .L dterr
51 .L timestamp
52 .L fallout
53 .L road
54 .L rail
55 .L dfense
56 (this isn't defense or it will conflict with des)
57 .L work
58 .L coastal
59 is a coastal sector
60 .L newdes
61 new designation
62 .L min
63 mineral resources (iron)
64 .L gold
65 gold resources
66 .L fert
67 food fertility
68 .L ocontent
69 oil content
70 .L uran
71 uranium resources
72 .L oldown
73 old owner
74 .L off
75 whether production is turned off
76 .L xdist
77 distribution centre
78 .L ydist
79 distribution centre
80 .L avail
81 available workforce
82 .in
83 .s1
84 Ship, plane, or land unit:
85 .in +\w'nchoppers\0\0'u
86 .L xloc
87 x location
88 .L yloc
89 y location
90 .L owner
91 .L type
92 type of unit (e.g. cavalry or frigate)
93 .L effic
94 .L mobil
95 .L timestamp
96 .L tech
97 tech level the unit was built at
98 .L uid
99 unit id number
100 .L group
101 fleet/wing/army
102 .L opx
103 mission operations sector
104 .L opy
105 mission operations sector
106 .L mission
107 .nf
108 1 = interdict
109 2 = support
110 3 = reserve
111 4 = escort
112 5 = sub interdiction
113 6 = air defense
114 7 = defense support
115 8 = offense support
116 .fi
117 .in
118 .s1
119 Ship:
120 .in +\w'nchoppers\0\0'u
121 .L fleet
122 .L nplane
123 number of planes the ship is carrying
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 nuke, 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 land
158 number of land units on the unit
159 .L nxlight
160 number of xlight planes on the unit
161 .L vul
162 .L spd
163 .L vis
164 .L spy
165 .L rad
166 .L frg
167 .L acc
168 .L dam
169 .L ammo
170 .L aaf
171 .L maxlight
172 .in
173 .s1
174 Nuke:
175 .in +\w'nchoppers\0\0'u
176 .L owner
177 .L uid
178 .L xloc
179 .L yloc
180 .L number
181 .L types
182 .L timestamp
183 .s1
184 For distribution and delivery selectors, the first letter is the first
185 letter of the name of the commodity.  For example, civilian
186 distribution threshold is 'c_dist'.
187 .in
188 .s1
189 Distribution:
190 .in +\w'nchoppers\0\0'u
191 .L c_dist
192 .L m_dist
193 .L u_dist
194 .L s_dist
195 .L g_dist
196 .L p_dist
197 .L i_dist
198 .L d_dist
199 .L b_dist
200 .L f_dist
201 .L o_dist
202 .L l_dist
203 .L h_dist
204 .L r_dist
205 .in
206 .s1
207 Delivery:
208 .in +\w'nchoppers\0\0'u
209 .L c_del
210 .L m_del
211 .L u_del
212 .L s_del
213 .L g_del
214 .L p_del
215 .L i_del
216 .L d_del
217 .L b_del
218 .L f_del
219 .L o_del
220 .L l_del
221 .L h_del
222 .L r_del
223 .in
224 .s1
225 Deity:
226 .in +\w'nchoppers\0\0'u
227 .L pstage
228 .L ptime
229 .L che
230 .L che_target
231 .L mines
232 .in
233 .s1
234 Treaty:
235 .in +\w'nchoppers\0\0'u
236 .L cna
237 .L cnb
238 .L status
239 .L acond
240 .L bcond
241 .L exp
242 .in
243 .s1
244 Loan:
245 .in +\w'nchoppers\0\0'u
246 .L loaner
247 .L uid
248 .L loanee
249 .L status
250 .L irate
251 .L ldur
252 .L amtpaid
253 .L amtdue
254 .L lastpay
255 .L duedate
256 .in
257 .s1
258 News:
259 .in +\w'nchoppers\0\0'u
260 .L actor
261 .L action
262 .L victim
263 .L times
264 number of times action happened
265 .L time
266 time
267 .in
268 .s1
269 Lost:
270 .in +\w'nchoppers\0\0'u
271 .L owner
272 .L uid
273 .L type
274 .L x
275 .L y
276 .L timestamp
277 .in
278 \" Commented out, because there's currently no way to use these:
279 .ig
280 .s1
281 Commodity:
282 .in +\w'nchoppers\0\0'u
283 \" FIXME incomplete
284 .s1
285 .in
286 Trade:
287 .in +\w'nchoppers\0\0'u
288 .L type
289 .L owner
290 .L unitid
291 \" FIXME incomplete
292 .in
293 ..
294 .s1
295 .SA "Syntax, Playing"