1 | #!/opt/bin/perl |
1 | #!/opt/bin/perl |
|
|
2 | |
|
|
3 | # |
|
|
4 | # This file is part of Deliantra, the Roguelike Realtime MMORPG. |
|
|
5 | # |
|
|
6 | # Copyright (©) 2005,2006,2007,2008,2009 Marc Alexander Lehmann / Robin Redeker / the Deliantra team |
|
|
7 | # |
|
|
8 | # Deliantra is free software: you can redistribute it and/or modify it under |
|
|
9 | # the terms of the Affero GNU General Public License as published by the |
|
|
10 | # Free Software Foundation, either version 3 of the License, or (at your |
|
|
11 | # option) any later version. |
|
|
12 | # |
|
|
13 | # This program is distributed in the hope that it will be useful, |
|
|
14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
|
15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
|
16 | # GNU General Public License for more details. |
|
|
17 | # |
|
|
18 | # You should have received a copy of the Affero GNU General Public License |
|
|
19 | # and the GNU General Public License along with this program. If not, see |
|
|
20 | # <http://www.gnu.org/licenses/>. |
|
|
21 | # |
|
|
22 | # The authors can be reached via e-mail to <support@deliantra.net> |
|
|
23 | # |
2 | |
24 | |
3 | my %ARG = @ARGV; |
25 | my %ARG = @ARGV; |
4 | |
26 | |
5 | use List::Util; |
27 | use List::Util; |
6 | |
28 | |
… | |
… | |
12 | fly_on |
34 | fly_on |
13 | fly_off |
35 | fly_off |
14 | flying |
36 | flying |
15 | |
37 | |
16 | gender |
38 | gender |
|
|
39 | hintmode |
17 | attack_skill |
40 | attack_skill |
18 | ranged_skill |
41 | ranged_skill |
19 | |
42 | |
20 | ac |
43 | ac |
21 | activate_on_push |
44 | activate_on_push |
… | |
… | |
155 | name_pl |
178 | name_pl |
156 | neutral |
179 | neutral |
157 | no_attack |
180 | no_attack |
158 | no_damage |
181 | no_damage |
159 | no_drop |
182 | no_drop |
160 | no_fix_player |
|
|
161 | no_magic |
183 | no_magic |
162 | no_pick |
184 | no_pick |
163 | no_skill_ident |
185 | no_skill_ident |
164 | no_steal |
186 | no_steal |
165 | no_strength |
187 | no_strength |
… | |
… | |
169 | oid |
191 | oid |
170 | one_hit |
192 | one_hit |
171 | only_attack |
193 | only_attack |
172 | other_arch |
194 | other_arch |
173 | overlay_floor |
195 | overlay_floor |
|
|
196 | owner |
174 | path_attuned |
197 | path_attuned |
175 | path_denied |
198 | path_denied |
176 | path_repelled |
199 | path_repelled |
177 | perm_exp |
200 | perm_exp |
178 | pick_up |
201 | pick_up |
179 | player_sold |
202 | player_sold |
180 | pow |
203 | pow |
181 | precious |
204 | precious |
182 | protected |
205 | protected |
|
|
206 | is_quad |
183 | race |
207 | race |
184 | random_move |
208 | random_move |
185 | random_movement |
209 | random_movement |
|
|
210 | random_speed |
186 | randomitems |
211 | randomitems |
187 | range |
212 | range |
188 | range_modifier |
213 | range_modifier |
189 | reflect_missile |
214 | reflect_missile |
190 | reflect_spell |
215 | reflect_spell |
… | |
… | |
222 | skill |
247 | skill |
223 | slaying |
248 | slaying |
224 | sleep |
249 | sleep |
225 | slow_move |
250 | slow_move |
226 | sound |
251 | sound |
227 | sound_die |
252 | sound_destroy |
228 | smoothlevel |
253 | smoothlevel |
229 | sp |
254 | sp |
230 | speed |
255 | speed |
231 | speed_left |
256 | speed_left |
|
|
257 | sl |
232 | splitting |
258 | splitting |
233 | stand_still |
259 | stand_still |
234 | startequip |
260 | startequip |
235 | state |
261 | state |
236 | stealth |
262 | stealth |
237 | str |
263 | str |
238 | subtype |
264 | subtype |
|
|
265 | tag |
239 | tear_down |
266 | tear_down |
240 | title |
267 | title |
241 | tooltype |
|
|
242 | treasure_env |
268 | treasure_env |
243 | type |
269 | type |
244 | unaggressive |
270 | unaggressive |
245 | undead |
271 | undead |
246 | unique |
272 | unique |
… | |
… | |
282 | outdoor |
308 | outdoor |
283 | tile_path_1 |
309 | tile_path_1 |
284 | tile_path_2 |
310 | tile_path_2 |
285 | tile_path_3 |
311 | tile_path_3 |
286 | tile_path_4 |
312 | tile_path_4 |
|
|
313 | tile_path_5 |
|
|
314 | tile_path_6 |
287 | |
315 | |
288 | file_format_version |
316 | file_format_version |
289 | |
|
|
290 | temp |
|
|
291 | pressure |
|
|
292 | humid |
|
|
293 | windspeed |
|
|
294 | winddir |
|
|
295 | sky |
|
|
296 | |
317 | |
297 | map |
318 | map |
298 | savebed_map |
319 | savebed_map |
299 | bed_x |
320 | bed_x |
300 | bed_y |
321 | bed_y |
… | |
… | |
324 | longname |
345 | longname |
325 | jail_map |
346 | jail_map |
326 | jail_x |
347 | jail_x |
327 | jail_y |
348 | jail_y |
328 | portal_map |
349 | portal_map |
329 | portal_x |
|
|
330 | portal_y |
|
|
331 | fallback |
350 | fallback |
332 | nomore |
351 | nomore |
333 | |
352 | |
334 | chance |
353 | chance |
335 | mods |
354 | mods |
… | |
… | |
365 | change_name |
384 | change_name |
366 | change_title |
385 | change_title |
367 | change_slaying |
386 | change_slaying |
368 | yes |
387 | yes |
369 | no |
388 | no |
|
|
389 | |
|
|
390 | max_level |
|
|
391 | |
|
|
392 | authour |
|
|
393 | size |
|
|
394 | index |
370 | ); |
395 | ); |
371 | |
396 | |
372 | open GPERF, "|-", "exec $ARG{GPERF} -m50 >kw_hash.h" |
397 | open GPERF, "|-", "exec $ARG{GPERF} -m50 >kw_hash.h" |
373 | or die "$ARGV{GPERF}: $!"; |
398 | or die "$ARGV{GPERF}: $!"; |
374 | |
399 | |