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 |
… | |
… | |
221 | see_invisible |
246 | see_invisible |
222 | skill |
247 | skill |
223 | slaying |
248 | slaying |
224 | sleep |
249 | sleep |
225 | slow_move |
250 | slow_move |
|
|
251 | sound |
|
|
252 | sound_destroy |
226 | smoothlevel |
253 | smoothlevel |
227 | sp |
254 | sp |
228 | speed |
255 | speed |
229 | speed_left |
256 | speed_left |
|
|
257 | sl |
230 | splitting |
258 | splitting |
231 | stand_still |
259 | stand_still |
232 | startequip |
260 | startequip |
233 | state |
261 | state |
234 | stealth |
262 | stealth |
235 | str |
263 | str |
236 | subtype |
264 | subtype |
|
|
265 | tag |
237 | tear_down |
266 | tear_down |
238 | title |
267 | title |
239 | tooltype |
|
|
240 | treasure_env |
268 | treasure_env |
241 | type |
269 | type |
242 | unaggressive |
270 | unaggressive |
243 | undead |
271 | undead |
244 | unique |
272 | unique |
… | |
… | |
280 | outdoor |
308 | outdoor |
281 | tile_path_1 |
309 | tile_path_1 |
282 | tile_path_2 |
310 | tile_path_2 |
283 | tile_path_3 |
311 | tile_path_3 |
284 | tile_path_4 |
312 | tile_path_4 |
|
|
313 | tile_path_5 |
|
|
314 | tile_path_6 |
285 | |
315 | |
286 | file_format_version |
316 | file_format_version |
287 | |
|
|
288 | temp |
|
|
289 | pressure |
|
|
290 | humid |
|
|
291 | windspeed |
|
|
292 | winddir |
|
|
293 | sky |
|
|
294 | |
317 | |
295 | map |
318 | map |
296 | savebed_map |
319 | savebed_map |
297 | bed_x |
320 | bed_x |
298 | bed_y |
321 | bed_y |
… | |
… | |
322 | longname |
345 | longname |
323 | jail_map |
346 | jail_map |
324 | jail_x |
347 | jail_x |
325 | jail_y |
348 | jail_y |
326 | portal_map |
349 | portal_map |
327 | portal_x |
|
|
328 | portal_y |
|
|
329 | fallback |
350 | fallback |
330 | nomore |
351 | nomore |
331 | |
352 | |
332 | chance |
353 | chance |
333 | mods |
354 | mods |
… | |
… | |
363 | change_name |
384 | change_name |
364 | change_title |
385 | change_title |
365 | change_slaying |
386 | change_slaying |
366 | yes |
387 | yes |
367 | no |
388 | no |
|
|
389 | |
|
|
390 | max_level |
|
|
391 | |
|
|
392 | authour |
|
|
393 | size |
|
|
394 | index |
368 | ); |
395 | ); |
369 | |
396 | |
370 | open GPERF, "|-", "exec $ARG{GPERF} -m50 >kw_hash.h" |
397 | open GPERF, "|-", "exec $ARG{GPERF} -m50 >kw_hash.h" |
371 | or die "$ARGV{GPERF}: $!"; |
398 | or die "$ARGV{GPERF}: $!"; |
372 | |
399 | |