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 |
… | |
… | |
221 | see_invisible |
245 | see_invisible |
222 | skill |
246 | skill |
223 | slaying |
247 | slaying |
224 | sleep |
248 | sleep |
225 | slow_move |
249 | slow_move |
|
|
250 | sound |
|
|
251 | sound_destroy |
226 | smoothlevel |
252 | smoothlevel |
227 | sp |
253 | sp |
228 | speed |
254 | speed |
229 | speed_left |
255 | speed_left |
|
|
256 | sl |
230 | splitting |
257 | splitting |
231 | stand_still |
258 | stand_still |
232 | startequip |
259 | startequip |
233 | state |
260 | state |
234 | stealth |
261 | stealth |
235 | str |
262 | str |
236 | subtype |
263 | subtype |
|
|
264 | tag |
237 | tear_down |
265 | tear_down |
238 | title |
266 | title |
239 | tooltype |
|
|
240 | treasure_env |
267 | treasure_env |
241 | type |
268 | type |
242 | unaggressive |
269 | unaggressive |
243 | undead |
270 | undead |
244 | unique |
271 | unique |
… | |
… | |
283 | tile_path_3 |
310 | tile_path_3 |
284 | tile_path_4 |
311 | tile_path_4 |
285 | |
312 | |
286 | file_format_version |
313 | file_format_version |
287 | |
314 | |
288 | temp |
|
|
289 | pressure |
|
|
290 | humid |
|
|
291 | windspeed |
|
|
292 | winddir |
|
|
293 | sky |
|
|
294 | |
|
|
295 | map |
315 | map |
296 | savebed_map |
316 | savebed_map |
297 | bed_x |
317 | bed_x |
298 | bed_y |
318 | bed_y |
299 | password |
319 | password |
… | |
… | |
363 | change_name |
383 | change_name |
364 | change_title |
384 | change_title |
365 | change_slaying |
385 | change_slaying |
366 | yes |
386 | yes |
367 | no |
387 | no |
|
|
388 | |
|
|
389 | max_level |
|
|
390 | |
|
|
391 | authour |
|
|
392 | size |
|
|
393 | index |
368 | ); |
394 | ); |
369 | |
395 | |
370 | open GPERF, "|-", "exec $ARG{GPERF} -m50 >kw_hash.h" |
396 | open GPERF, "|-", "exec $ARG{GPERF} -m50 >kw_hash.h" |
371 | or die "$ARGV{GPERF}: $!"; |
397 | or die "$ARGV{GPERF}: $!"; |
372 | |
398 | |