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 |
… | |
… | |
182 | precious |
204 | precious |
183 | protected |
205 | protected |
184 | race |
206 | race |
185 | random_move |
207 | random_move |
186 | random_movement |
208 | random_movement |
|
|
209 | random_speed |
187 | randomitems |
210 | randomitems |
188 | range |
211 | range |
189 | range_modifier |
212 | range_modifier |
190 | reflect_missile |
213 | reflect_missile |
191 | reflect_spell |
214 | reflect_spell |
… | |
… | |
228 | sound_destroy |
251 | sound_destroy |
229 | smoothlevel |
252 | smoothlevel |
230 | sp |
253 | sp |
231 | speed |
254 | speed |
232 | speed_left |
255 | speed_left |
|
|
256 | sl |
233 | splitting |
257 | splitting |
234 | stand_still |
258 | stand_still |
235 | startequip |
259 | startequip |
236 | state |
260 | state |
237 | stealth |
261 | stealth |
238 | str |
262 | str |
239 | subtype |
263 | subtype |
|
|
264 | tag |
240 | tear_down |
265 | tear_down |
241 | title |
266 | title |
242 | tooltype |
|
|
243 | treasure_env |
267 | treasure_env |
244 | type |
268 | type |
245 | unaggressive |
269 | unaggressive |
246 | undead |
270 | undead |
247 | unique |
271 | unique |
… | |
… | |
283 | outdoor |
307 | outdoor |
284 | tile_path_1 |
308 | tile_path_1 |
285 | tile_path_2 |
309 | tile_path_2 |
286 | tile_path_3 |
310 | tile_path_3 |
287 | tile_path_4 |
311 | tile_path_4 |
|
|
312 | tile_path_5 |
|
|
313 | tile_path_6 |
288 | |
314 | |
289 | file_format_version |
315 | file_format_version |
290 | |
|
|
291 | temp |
|
|
292 | pressure |
|
|
293 | humid |
|
|
294 | windspeed |
|
|
295 | winddir |
|
|
296 | sky |
|
|
297 | |
316 | |
298 | map |
317 | map |
299 | savebed_map |
318 | savebed_map |
300 | bed_x |
319 | bed_x |
301 | bed_y |
320 | bed_y |
… | |
… | |
325 | longname |
344 | longname |
326 | jail_map |
345 | jail_map |
327 | jail_x |
346 | jail_x |
328 | jail_y |
347 | jail_y |
329 | portal_map |
348 | portal_map |
330 | portal_x |
|
|
331 | portal_y |
|
|
332 | fallback |
349 | fallback |
333 | nomore |
350 | nomore |
334 | |
351 | |
335 | chance |
352 | chance |
336 | mods |
353 | mods |
… | |
… | |
366 | change_name |
383 | change_name |
367 | change_title |
384 | change_title |
368 | change_slaying |
385 | change_slaying |
369 | yes |
386 | yes |
370 | no |
387 | no |
|
|
388 | |
|
|
389 | max_level |
|
|
390 | |
|
|
391 | authour |
|
|
392 | size |
|
|
393 | index |
371 | ); |
394 | ); |
372 | |
395 | |
373 | open GPERF, "|-", "exec $ARG{GPERF} -m50 >kw_hash.h" |
396 | open GPERF, "|-", "exec $ARG{GPERF} -m50 >kw_hash.h" |
374 | or die "$ARGV{GPERF}: $!"; |
397 | or die "$ARGV{GPERF}: $!"; |
375 | |
398 | |