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