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