data dirs renamed
[k8-i-v-a-n.git] / script / define.dat
blob94d401a1432041401c6b4a75a2e97f35e9bd4649
1 /*
3 * Iter Vehemens ad Necem (IVAN)
4 * Copyright (C) Timo Kiviluoto
5 * Released under the GNU General
6 * Public License
8 * See LICENSING which should be included
9 * along with this file for more details
14 * NOTICE!!!
16 * This file contains SPOILERS, which might ruin your IVAN experience
17 * totally. Also, editing anything can DESTROY GAME BALANCE or CAUSE
18 * OBSCURE BUGS if you don't know what you're doing. So from here on,
19 * proceed at your own risk!
22 /* Numerical defines for other script files */
24 #enum {
25 NONE,
26 MIRROR,
27 FLIP,
28 ROTATE = 4,
31 #define RED 63488
32 #define GREEN 2016
33 #define BLUE 31
35 #define YELLOW 65504
36 #define PINK 61470
38 #define WHITE 65535
39 #define LIGHT_GRAY 46518
40 #define DARK_GRAY 21130
41 #define BLACK 0
43 #define TRANSPARENT_COLOR 63519
45 #bitenum {
46 POLYMORPHED,
47 HASTE,
48 SLOW,
49 POLYMORPH_CONTROL,
50 LIFE_SAVED,
51 LYCANTHROPY,
52 INVISIBLE,
53 INFRA_VISION,
54 ESP,
55 POISONED,
56 TELEPORT,
57 POLYMORPH,
58 TELEPORT_CONTROL,
59 PANIC,
60 CONFUSED,
61 PARASITIZED,
62 SEARCHING,
63 GAS_IMMUNITY,
64 LEVITATION,
65 LEPROSY,
66 HICCUPS,
67 VAMPIRISM,
68 DETECTING,
72 #define THROW_ITEM_TYPES 5
73 /*ThrowFlags */
74 #bitenum {
75 THROW_BONE,
76 THROW_POTION,
77 THROW_AXE,
78 THROW_GAS_GRENADE,
79 THROW_WAND,
83 #bitenum {
84 HEAD,
85 TORSO,
86 RIGHT_ARM,
87 LEFT_ARM,
88 GROIN,
89 RIGHT_LEG,
90 LEFT_LEG,
91 OTHER,
94 #define ARMS (RIGHT_ARM | LEFT_ARM)
95 #define LEGS (RIGHT_LEG | LEFT_LEG)
96 #define ALL 255
99 #bitenum {
100 PHYSICAL_DAMAGE,
101 SOUND,
102 ACID,
103 FIRE,
104 ELECTRICITY,
105 ENERGY,
106 POISON,
107 DRAIN,
108 MUSTARD_GAS_DAMAGE,
111 #define THROW 32768
114 #enum {
115 UNDEFINED,
116 MALE,
117 FEMALE,
118 TRANSSEXUAL
122 #enum {
123 TORSO_INDEX,
124 HEAD_INDEX,
125 RIGHT_ARM_INDEX,
126 LEFT_ARM_INDEX,
127 GROIN_INDEX,
128 RIGHT_LEG_INDEX,
129 LEFT_LEG_INDEX,
133 #enum {
134 ALPP,
135 ALP,
137 ALM,
138 ANP,
140 ANM,
141 ACP,
143 ACM,
144 ACMM,
148 #define UNARTICLED 0
149 #define PLURAL 1
150 #define ARTICLE_BIT 2
151 #define DEFINITE 2
152 #define INDEFINE_BIT 4
153 #define INDEFINITE 6
155 #define ANY_CATEGORY 2147483647
157 #bitenum {
158 HELMET,
159 AMULET,
160 CLOAK,
161 BODY_ARMOR,
162 WEAPON,
163 SHIELD,
164 RING,
165 GAUNTLET,
166 BELT,
167 BOOT,
168 FOOD,
169 POTION,
170 SCROLL,
171 BOOK,
172 WAND,
173 TOOL,
174 VALUABLE,
175 MISC,
179 #enum {
180 = 1, /* first */
181 GOOD, /* it will be 1 */
182 NEUTRAL,
183 EVIL,
184 TOPPLED,
188 #bitenum {
189 CT_FRUIT,
190 CT_MEAT,
191 CT_METAL,
192 CT_MINERAL,
193 CT_LIQUID,
194 CT_BONE,
195 CT_PROCESSED,
196 CT_MISC_ORGANIC,
197 CT_PLASTIC,
198 CT_GAS,
202 #enum {
203 LEFT,
204 DOWN,
206 RIGHT,
207 CENTER,
211 #define HOSTILE 1
212 #define UNCARING 2
213 #define FRIEND 4
215 #define MARTIAL_SKILL_CATEGORIES 3
216 #define WEAPON_SKILL_CATEGORIES 11
218 #enum {
219 UNARMED,
220 KICK,
221 BITE,
222 UNCATEGORIZED,
223 SMALL_SWORDS,
224 LARGE_SWORDS,
225 BLUNT_WEAPONS,
226 AXES,
227 POLE_ARMS,
228 WHIPS,
229 SHIELDS,
233 #define LOCKED 1
235 #enum {
236 EFFECT_NOTHING,
237 EFFECT_POISON,
238 EFFECT_DARKNESS,
239 EFFECT_OMMEL_URINE,
240 EFFECT_PEPSI,
241 EFFECT_KOBOLD_FLESH,
242 EFFECT_HEAL,
243 EFFECT_LYCANTHROPY,
244 EFFECT_SCHOOL_FOOD,
245 EFFECT_ANTIDOTE,
246 EFFECT_CONFUSE,
247 EFFECT_POLYMORPH,
248 EFFECT_ESP,
249 EFFECT_SKUNK_SMELL,
250 EFFECT_MAGIC_MUSHROOM,
251 EFFECT_TRAIN_PERCEPTION,
252 EFFECT_HOLY_BANANA,
253 EFFECT_EVIL_WONDER_STAFF_VAPOUR,
254 EFFECT_GOOD_WONDER_STAFF_VAPOUR,
255 EFFECT_PEA_SOUP,
256 EFFECT_BLACK_UNICORN_FLESH,
257 EFFECT_GRAY_UNICORN_FLESH,
258 EFFECT_WHITE_UNICORN_FLESH,
259 EFFECT_TELEPORT_CONTROL,
260 EFFECT_MUSHROOM,
261 EFFECT_OMMEL_CERUMEN,
262 EFFECT_OMMEL_SWEAT,
263 EFFECT_OMMEL_TEARS,
264 EFFECT_OMMEL_SNOT,
265 EFFECT_OMMEL_BONE,
266 EFFECT_MUSTARD_GAS,
267 EFFECT_MUSTARD_GAS_LIQUID,
268 EFFECT_PANIC,
269 EFFECT_TELEPORT,
270 EFFECT_VAMPIRISM,
271 EFFECT_DETECTING,
272 EFFECT_HOLY_MANGO,
276 /* CEM = Consume End Message */
277 #enum {
278 CEM_NOTHING,
279 CEM_SCHOOL_FOOD,
280 CEM_BONE,
281 CEM_FROG_FLESH,
282 CEM_OMMEL,
283 CEM_PEPSI,
284 CEM_KOBOLD_FLESH,
285 CEM_HEALING_LIQUID,
286 CEM_ANTIDOTE,
287 CEM_ESP,
288 CEM_HOLY_BANANA,
289 CEM_PEA_SOUP,
290 CEM_BLACK_UNICORN_FLESH,
291 CEM_GRAY_UNICORN_FLESH,
292 CEM_WHITE_UNICORN_FLESH,
293 CEM_OMMEL_BONE,
294 CEM_LIQUID_HORROR,
295 CEM_HOLY_MANGO,
299 /* HM = Hit Message */
300 #enum {
301 HM_NOTHING,
302 HM_SCHOOL_FOOD,
303 HM_FROG_FLESH,
304 HM_OMMEL,
305 HM_PEPSI,
306 HM_KOBOLD_FLESH,
307 HM_HEALING_LIQUID,
308 HM_ANTIDOTE,
309 HM_CONFUSE,
310 HM_HOLY_BANANA,
311 HM_HOLY_MANGO,
315 /*#define SOLID_ID 4096*/
316 #enum {
317 SOLID_ID = (1 << 12),
318 VALPURIUM,
319 GRAVEL,
320 MORAINE,
321 OCTIRON,
322 GLASS,
323 PARCHMENT,
324 CLOTH,
325 MITHRIL,
326 MARBLE,
327 GOLD,
328 GRASS,
329 LEATHER,
330 LEAF,
331 FABRIC,
332 PALM_LEAF,
333 SULFUR,
334 UNICORN_HORN,
335 DIAMOND,
336 SILVER,
337 SAPPHIRE,
338 RUBY,
339 BRONZE,
340 COPPER,
341 TIN,
342 SPIDER_SILK,
343 KEVLAR,
344 OMMEL_HAIR,
345 HARDENED_LEATHER,
346 TROLL_HIDE,
347 NYMPH_HAIR,
348 ANGEL_HAIR,
349 PHOENIX_FEATHER,
350 GOLDEN_EAGLE_FEATHER,
351 ICE,
352 DRAGON_HIDE,
353 ARCANITE,
354 ILLITHIUM,
355 BALSA_WOOD,
356 PINE_WOOD,
357 FIR_WOOD,
358 BIRCH_WOOD,
359 OAK_WOOD,
360 TEAK_WOOD,
361 EBONY_WOOD,
362 BLUE_CRYSTAL,
363 PURPLE_CRYSTAL,
364 GREEN_CRYSTAL,
365 SAND_STONE,
366 LIME_STONE,
367 CALCITE,
368 OBSIDIAN,
369 GNEISS,
370 SLATE,
371 GRANITE,
372 BASALT,
373 MILKY_QUARTZ,
374 FLINT,
375 QUARTZITE,
376 AMETHYST,
377 CITRINE,
378 ROSE_QUARTZ,
379 JASPER,
380 ROCK_CRYSTAL,
381 DARK_GRASS,
382 LEAD,
383 BLACK_GRANITE,
384 BLACK_LEATHER,
386 FLAWLESS_DIAMOND,
387 EMERALD,
388 SUN_CRYSTAL,
389 BLACK_DIAMOND,
390 PSYPHER,
391 EXTRA_HARD_BASALT,
392 WEAK_GLASS,
394 DEAD_GRASS,
395 KAURI_WOOD,
396 RATA_WOOD,
397 NEPHRITE,
398 HESSIAN_CLOTH,
402 /*#define ORGANIC_ID (4096 * 2)*/
403 #enum {
404 ORGANIC_ID = (2 << 12),
405 BANANA_FLESH,
406 SCHOOL_FOOD,
407 BANANA_PEEL,
408 KIWI_FLESH,
409 PINEAPPLE_FLESH,
410 PLANT_FIBER,
411 MUTANT_PLANT_FIBER,
412 BONE,
413 BREAD,
414 HOLY_BANANA_FLESH,
415 CARROT_FLESH,
416 OMMEL_CERUMEN,
417 OMMEL_BONE,
418 OMMEL_TOOTH,
419 RYE_BREAD,
420 MANGO_FLESH,
421 HOLY_MANGO_FLESH,
425 /*#define GAS_ID (4096 * 3)*/
426 //#define GAS_ID (3 << 12)
427 #enum {
428 GAS_ID = (3 << 12),
429 AIR,
430 MAGICAL_AIR,
431 SMOKE,
432 SKUNK_SMELL,
433 GHOST,
434 MAGIC_VAPOUR,
435 EVIL_WONDER_STAFF_VAPOUR,
436 GOOD_WONDER_STAFF_VAPOUR,
437 FART,
438 MUSTARD_GAS,
440 VACUUM_BLADE_AIR,
444 /*#define LIQUID_ID (4096 * 4)*/
445 #enum {
446 LIQUID_ID = (4 << 12),
447 OMMEL_URINE,
448 PEPSI,
449 WATER,
450 HEALING_LIQUID,
451 BLOOD,
452 BROWN_SLIME,
453 POISON_LIQUID,
454 VALDEMAR,
455 ANTIDOTE_LIQUID,
456 VODKA,
457 TROLL_BLOOD,
458 DARK_FROG_BLOOD,
459 SPIDER_BLOOD,
460 VOMIT,
461 ACIDOUS_BLOOD,
462 SULPHURIC_ACID,
463 DOG_DROOL,
464 PEA_SOUP,
465 OMMEL_SWEAT,
466 OMMEL_TEARS,
467 OMMEL_SNOT,
468 SWEAT,
469 GLOWING_BLOOD,
470 YELLOW_SLIME,
471 SICK_BLOOD,
472 MUSTARD_GAS_LIQUID,
473 OMMEL_VOMIT,
474 LIQUID_HORROR,
475 VINEGAR,
476 OMMEL_BLOOD,
477 CURDLED_OMMEL_BLOOD,
481 /*#define FLESH_ID (4096 * 5)*/
482 #enum {
483 FLESH_ID = (5 << 12),
484 GOBLINOID_FLESH,
485 PORK,
486 BEEF,
487 FROG_FLESH,
488 ELPURI_FLESH,
489 HUMAN_FLESH,
490 DOLPHIN_FLESH,
491 BEAR_FLESH,
492 WOLF_FLESH,
493 DOG_FLESH,
494 ENNER_BEAST_FLESH,
495 SPIDER_FLESH,
496 JACKAL_FLESH,
497 MUTANT_ASS_FLESH,
498 BAT_FLESH,
499 WERE_WOLF_FLESH,
500 KOBOLD_FLESH,
501 GIBBERLING_FLESH,
502 CAT_FLESH,
503 RAT_FLESH,
504 ANGEL_FLESH,
505 DWARF_FLESH,
506 DAEMON_FLESH,
507 MAMMOTH_FLESH,
508 BLACK_UNICORN_FLESH,
509 GRAY_UNICORN_FLESH,
510 WHITE_UNICORN_FLESH,
511 LION_FLESH,
512 BUFFALO_FLESH,
513 SNAKE_FLESH,
514 ORC_FLESH,
515 OSTRICH_FLESH,
516 CHAMELEON_FLESH,
517 FLOATING_EYE_FLESH,
518 MUSHROOM_FLESH,
519 MOOSE_FLESH,
520 MAGPIE_FLESH,
521 SKUNK_FLESH,
522 HEDGEHOG_FLESH,
523 MUTANT_BUNNY_FLESH,
524 HATTIFATTENER_FLESH,
525 BLINK_DOG_FLESH,
526 MAGIC_MUSHROOM_FLESH,
527 SICK_SPIDER_FLESH,
528 MIND_WORM_FLESH,
529 MUTANT_HEDGEHOG_FLESH,
530 EAGLE_FLESH,
531 KABOUTER_FLESH,
532 ULDRA_FLESH,
533 OKAPI_FLESH,
534 VAMPIRE_FLESH,
535 MOUSE_FLESH,
536 FOX_FLESH,
537 THUNDER_BIRD_FLESH,
541 /*#define POWDER_ID (4096 * 6)*/
542 #enum {
543 POWDER_ID = (6 << 12),
544 GUN_POWDER,
545 SNOW,
546 SAND,
550 /*#define IRON_ALLOY_ID (4096 * 7)*/
551 #enum {
552 IRON_ALLOY_ID = (7 << 12),
553 IRON,
554 STEEL,
555 METEORIC_STEEL,
556 ADAMANT,
558 DAMASCUS_STEEL,
562 #enum {
563 UNARMED_ATTACK,
564 WEAPON_ATTACK,
565 KICK_ATTACK,
566 BITE_ATTACK,
570 #define USE_ARMS 1
571 #define USE_LEGS 2
572 #define USE_HEAD 4
574 #define ATTRIBUTES 11
575 #define BASE_ATTRIBUTES 7
577 #enum {
578 ENDURANCE,
579 PERCEPTION,
580 INTELLIGENCE,
581 WISDOM,
582 WILL_POWER,
583 CHARISMA,
584 MANA,
585 ARM_STRENGTH,
586 LEG_STRENGTH,
587 DEXTERITY,
588 AGILITY,
592 #enum {
593 HELMET_INDEX,
594 AMULET_INDEX,
595 CLOAK_INDEX,
596 BODY_ARMOR_INDEX,
597 BELT_INDEX,
598 RIGHT_WIELDED_INDEX,
599 LEFT_WIELDED_INDEX,
600 RIGHT_RING_INDEX,
601 LEFT_RING_INDEX,
602 RIGHT_GAUNTLET_INDEX,
603 LEFT_GAUNTLET_INDEX,
604 RIGHT_BOOT_INDEX,
605 LEFT_BOOT_INDEX,
609 #define SUPER 64
610 #define BROKEN 128
611 #define WINDOW 1024
613 #enum {
614 LONG_SWORD = 1,
615 TWO_HANDED_SWORD,
616 TWO_HANDED_SCIMITAR,
617 SPEAR,
618 AXE,
619 HALBERD,
620 MACE,
621 WAR_HAMMER,
622 SICKLE,
623 DAGGER,
624 SHORT_SWORD,
625 BASTARD_SWORD,
626 BATTLE_AXE,
627 SCYTHE,
628 QUARTER_STAFF,
629 HAMMER,
630 KNIGHT_SWORD,
631 KATANA,
632 SPETUM,
633 TIP_SWORD,
634 KNUCKLE,
635 RAPIER,
636 GREAT_AXE,
640 #enum {
641 GOROVITS_HAMMER = 1,
642 GOROVITS_SICKLE,
643 GOROVITS_SCIMITAR,
647 #enum {
648 CHAIN_MAIL = 1,
649 PLATE_MAIL,
650 ARMOR_OF_GREAT_HEALTH,
651 DRAGON_CUIRASS,
652 ARMOR_OF_THE_OMMEL,
653 FILTHY_TUNIC,
657 #define CHEAP 1
658 #define EXPENSIVE 2
661 #enum {
662 WAND_OF_POLYMORPH = 1,
663 WAND_OF_STRIKING,
664 WAND_OF_FIRE_BALLS,
665 WAND_OF_TELEPORTATION,
666 WAND_OF_HASTE,
667 WAND_OF_SLOW,
668 WAND_OF_RESURRECTION,
669 WAND_OF_DOOR_CREATION,
670 WAND_OF_INVISIBILITY,
671 WAND_OF_CLONING,
672 WAND_OF_LIGHTNING,
673 WAND_OF_ACID_RAIN,
674 WAND_OF_MIRRORING,
675 WAND_OF_NECROMANCY,
679 #define RUNED_WHIP 1
680 #define CHAIN_WHIP 2
682 #define BIG_MINE 1
685 #enum {
686 CLOAK_OF_INVISIBILITY = 1,
687 CLOAK_OF_FIRE_RESISTANCE,
688 CLOAK_OF_ELECTRICITY_RESISTANCE,
689 CLOAK_OF_ACID_RESISTANCE,
690 CLOAK_OF_WERE_WOLF_FUR,
694 #enum {
695 BOOT_OF_STRENGTH = 1,
696 BOOT_OF_AGILITY,
697 BOOT_OF_KICKING,
701 #enum {
702 GAUNTLET_OF_STRENGTH = 1,
703 GAUNTLET_OF_DEXTERITY,
707 #enum {
708 RING_OF_FIRE_RESISTANCE = 1,
709 RING_OF_POLYMORPH_CONTROL,
710 RING_OF_INFRA_VISION,
711 RING_OF_TELEPORTATION,
712 RING_OF_TELEPORT_CONTROL,
713 RING_OF_POLYMORPH,
714 RING_OF_POISON_RESISTANCE,
715 RING_OF_INVISIBILITY,
716 RING_OF_ELECTRICITY_RESISTANCE,
717 RING_OF_SEARCHING,
718 RING_OF_ACID_RESISTANCE,
719 RING_OF_THIEVES,
723 #enum {
724 AMULET_OF_LIFE_SAVING = 1,
725 AMULET_OF_ESP,
726 AMULET_OF_WARDING,
727 AMULET_OF_VANITY,
731 #enum {
732 FULL_HELMET = 1,
733 HELM_OF_PERCEPTION,
734 HELM_OF_UNDERSTANDING,
735 HELM_OF_BRILLIANCE,
736 HELM_OF_ATTRACTIVITY,
737 GOROVITS_FAMILY_GAS_MASK,
741 #enum {
742 BELT_OF_CARRYING = 1,
743 BELT_OF_LEVITATION,
747 #enum {
748 SMALL_CHEST = 1,
749 CHEST,
750 LARGE_CHEST,
751 STRONG_BOX,
755 #enum {
756 BRAVERY = 1,
757 FEAR,
758 CONFUSION,
762 #enum {
763 ROOKIE = 1,
764 VETERAN,
765 EUNUCH,
766 PATROL,
767 SHOP,
768 ELITE,
769 MASTER,
770 GRAND_MASTER,
771 MONDEDR_GUARD,
772 DWARVEN_GUARD,
773 SENTINEL,
774 FOREST_SHOP,
776 #define ENQUIOX 128
779 #enum {
780 DARK = 1,
781 GREATER_DARK,
782 GIANT_DARK,
783 LIGHT,
784 GREATER_LIGHT,
785 GIANT_LIGHT,
789 #enum {
790 WARRIOR = 1,
791 WAR_LORD,
795 #enum {
796 BERSERKER = 1,
797 BUTCHER,
798 PRINCE,
799 KING,
800 JAILER,
801 PRISON_WARDEN,
805 #enum {
806 CONICAL = 1,
807 FLAT,
811 #enum {
812 LARGE = 1,
813 GIANT,
814 ARANEA,
818 #enum {
819 BLACK_BEAR = 1,
820 GRIZZLY_BEAR,
821 CAVE_BEAR,
822 POLAR_BEAR,
823 PANDA_BEAR,
827 #enum {
828 ZOMBIE_OF_KHAZ_ZADM = 1,
832 #enum {
833 TORTURING_CHIEF = 1,
834 WHIP_CHAMPION,
835 WAR_LADY,
836 QUEEN,
840 #enum {
841 CHIEFTAIN = 1,
842 LORD,
843 PATRIARCH,
847 #enum {
848 AMBULATORY = 1,
852 #enum {
853 GREATER = 1,
854 GIANTIC,
855 SHAMBLING,
856 LILY,
860 #enum {
861 SLAUGHTERER = 1,
862 SQUAD_LEADER,
863 OFFICER,
864 GENERAL,
865 MARSHAL,
869 #enum {
870 APPRENTICE = 1,
871 BATTLE_MAGE,
872 ELDER,
873 ARCH_MAGE,
877 #enum {
878 ROVER = 1,
879 BAND_LEADER,
883 #enum {
884 FIELD_MOUSE = 1,
885 LABORATORY_MOUSE,
889 #enum {
890 THIN_PIG = 1,
894 #enum {
895 STARVED_OX = 1,
899 #enum {
900 FLOATIE = 1,
904 #enum {
905 SONIC = 1,
909 /* Least significant bit defines sex */
910 #enum {
911 BABY_MALE = 2,
912 BABY_FEMALE,
913 ADULT_MALE,
914 ADULT_FEMALE,
918 #enum {
919 APPRENTICE_NECROMANCER = 1,
920 MASTER_NECROMANCER,
924 #enum {
925 HUSBAND = 1,
926 WIFE,
927 CHILD,
931 #enum {
932 LIGHT_ASIAN_SIREN = 1,
933 DARK_ASIAN_SIREN,
934 CAUCASIAN_SIREN,
935 DARK_SIREN,
936 GREEN_SIREN,
940 #enum {
941 HATCHLING = 1,
942 BOIL
946 #enum {
947 PARQUET = 1,
948 FLOOR,
949 GROUND,
950 GRASS_TERRAIN,
951 LANDING_SITE,
952 SNOW_TERRAIN,
953 DARK_GRASS_TERRAIN,
954 SAND_TERRAIN,
955 DEAD_GRASS_TERRAIN,
959 #enum {
960 POOL = 1,
961 UNDERGROUND_LAKE,
965 #enum {
966 BRICK_FINE = 1,
967 BRICK_PROPAGANDA,
968 BRICK_OLD,
969 BRICK_PRIMITIVE,
970 BRICK_PRIMITIVE_PROPAGANDA,
971 STONE_WALL,
972 ICE_WALL,
973 BROKEN_WALL,
977 #enum {
978 PINE = 1,
979 FIR,
980 HOLY_TREE,
981 CARPET,
982 COUCH,
983 DOUBLE_BED,
984 POOL_BORDER,
985 POOL_CORNER,
986 PALM,
987 SNOW_PINE,
988 SNOW_FIR,
989 ANVIL,
990 SHARD,
991 CACTUS,
992 OAK,
993 BIRCH,
994 TEAK,
995 DWARF_BIRCH,
999 #define SNOW_BOULDER 4
1001 #define STAIRS_UP 100
1002 #define STAIRS_DOWN 200
1003 #define OREE_LAIR_ENTRY 300
1004 #define OREE_LAIR_EXIT 400
1005 #define SUMO_ARENA_ENTRY 700
1006 #define SUMO_ARENA_EXIT 800
1007 #define KHARAZ_ARAD_ENTRY 900
1008 #define KHARAZ_ARAD_EXIT 1000
1009 #define WAYPOINT_DEEPER 1100
1010 #define WAYPOINT_SHALLOWER 1200
1011 #define FOUNTAIN 65535
1014 #enum {
1015 BOOK_CASE = 1,
1016 CHEST_OF_DRAWERS,
1017 SHELF,
1021 #enum {
1022 BROKEN_BARWALL = 1,
1026 #enum {
1027 BARDOOR = 1,
1028 SECRET_DOOR,
1032 #define WORLD_MAP 255
1034 #define DEFAULT_TEAM 255
1037 /* Hard-coded teams */
1038 // just add your own to enum
1039 #enum {
1040 PLAYER_TEAM,
1041 MONSTER_TEAM,
1042 ATTNAM_TEAM,
1043 SUMO_TEAM,
1044 VALPURUS_ANGEL_TEAM,
1045 GC_SHOPKEEPER_TEAM,
1046 IVAN_TEAM,
1047 NEW_ATTNAM_TEAM,
1048 COLONIST_TEAM,
1049 TOURIST_GUIDE_TEAM,
1050 TOURIST_TEAM,
1051 BETRAYED_TEAM,
1052 MONDEDR_TEAM,
1053 KHARAZ_ARAD_TEAM,
1054 FORESTMAN_TEAM,
1055 SOLICITUS_TEAM,
1056 MORBE_TEAM,
1060 #define NOT_WALKABLE 1
1061 #define HAS_CHARACTER 2
1062 #define IN_ROOM 4
1063 #define NOT_IN_ROOM 8
1064 #define ATTACHABLE (16|NOT_IN_ROOM) /* overrides IN_ROOM */
1065 #define HAS_NO_OTERRAIN 32
1067 // dungeon indicies; just add your own to enum
1068 #enum {
1069 RANDOM,
1070 ELPURI_CAVE,
1071 ATTNAM,
1072 NEW_ATTNAM,
1073 UNDER_WATER_TUNNEL,
1074 MONDEDR,
1075 MUNTUO,
1076 DRAGON_TOWER,
1077 DARK_FOREST,
1078 XINROCH_TOMB,
1080 #define KHARAZ_ARAD_SHOP 127
1081 #define UNDER_WATER_TUNNEL_EXIT 128
1083 /* dungeon tags */
1084 #define ALL_DUNGEONS 32767
1086 #define VESANA_LEVEL 2
1087 #define CRYSTAL_LEVEL 3
1088 #define SPIDER_LEVEL 4
1089 #define ENNER_BEAST_LEVEL 4
1090 #define ZOMBIE_LEVEL 5
1091 /* */
1092 #define CITY_LEVEL 6
1093 #define FUSANGA_LEVEL 7
1094 #define IVAN_LEVEL 9
1095 #define DARK_LEVEL 10
1096 #define OREE_LAIR 14
1097 #define KHARAZ_ARAD 15
1098 #define PLANT_LEVEL 16
1099 /* old:
1100 #define IVAN_LEVEL 7
1101 #define DARK_LEVEL 8
1102 #define OREE_LAIR 12
1105 #define RECTANGLE 1
1106 #define ROUND_CORNERS 2
1108 #enum {
1109 VALPURUS = 1,
1110 LEGIFER,
1111 ATAVUS,
1112 DULCIS,
1113 SEGES,
1114 SOPHOS,
1115 SILVA,
1116 LORICATUS,
1117 MELLIS,
1118 CLEPTIA,
1119 NEFAS,
1120 SCABIES,
1121 INFUSCOR,
1122 CRUENTUS,
1123 MORTIFER,
1124 ATHEIST,
1125 SOLICITU,
1127 #define TERRA SILVA
1129 #define MAX_PRICE 2147483647
1132 #enum {
1133 ROOM_NORMAL = 1,
1134 ROOM_SHOP,
1135 ROOM_CATHEDRAL,
1136 ROOM_LIBRARY,
1137 ROOM_BANANA_DROP_AREA,
1138 ROOM_SUMO_ARENA,
1139 ROOM_VAULT,
1143 #define BEAM_POLYMORPH 0
1144 #define BEAM_STRIKE 1
1145 #define BEAM_FIRE_BALL 2
1146 #define BEAM_TELEPORT 3
1147 #define BEAM_HASTE 4
1148 #define BEAM_SLOW 5
1149 #define BEAM_RESURRECT 6
1150 #define BEAM_INVISIBILITY 7
1151 #define BEAM_DUPLICATE 8
1152 #define BEAM_LIGHTNING 9
1153 #define BEAM_DOOR_CREATION 10
1154 #define BEAM_ACID_RAIN 11
1155 #define BEAM_NECROMANCY 12
1157 #define BEAM_STYLES 3
1159 #define PARTICLE_BEAM 0
1160 #define LIGHTNING_BEAM 1
1161 #define SHIELD_BEAM 2
1163 #define RANDOM_COLOR 65536
1165 #define NO_LIMIT 65535
1167 #define NO_BROKEN 1
1168 #define IGNORE_BROKEN_PRICE 2
1170 #define N_LOCK_ID 1024
1171 #define S_LOCK_ID 16384
1172 #define LOCK_DELTA 1024
1174 #define BROKEN_LOCK S_LOCK_ID
1176 /* Normal lock types, which can be randomized */
1178 #define ROUND_LOCK (N_LOCK_ID + LOCK_DELTA * 1)
1179 #define SQUARE_LOCK (N_LOCK_ID + LOCK_DELTA * 2)
1180 #define TRIANGULAR_LOCK (N_LOCK_ID + LOCK_DELTA * 3)
1182 /* Special lock types, which must be generated in the script */
1184 #define HEXAGONAL_LOCK (S_LOCK_ID + LOCK_DELTA * 1)
1185 #define OCTAGONAL_LOCK (S_LOCK_ID + LOCK_DELTA * 2)
1186 #define HEART_SHAPED_LOCK (S_LOCK_ID + LOCK_DELTA * 3)
1187 #define PENTAGONAL_LOCK (S_LOCK_ID + LOCK_DELTA * 4)
1189 #define DESERT 1
1190 #define JUNGLE 2
1191 #define STEPPE 3
1192 #define LEAFY_FOREST 4
1193 #define EVERGREEN_FOREST 5
1194 #define TUNDRA 6
1195 #define GLACIER 7
1197 #define NO_MOVE 0
1198 #define WALK 1
1199 #define SWIM 2
1200 #define FLY 4
1201 #define ETHEREAL 8
1202 #define ANY_MOVE 15
1204 #define NOT_RUSTED 0
1205 #define SLIGHTLY_RUSTED 1
1206 #define RUSTED 2
1207 #define VERY_RUSTED 3
1209 #define SKIN_COLOR 1
1210 #define CAP_COLOR 2
1211 #define HAIR_COLOR 4
1212 #define EYE_COLOR 8
1213 #define TORSO_MAIN_COLOR 16
1214 #define BELT_COLOR 32
1215 #define BOOT_COLOR 64
1216 #define TORSO_SPECIAL_COLOR 128
1217 #define ARM_MAIN_COLOR 256
1218 #define GAUNTLET_COLOR 512
1219 #define ARM_SPECIAL_COLOR 1024
1220 #define LEG_MAIN_COLOR 2048
1221 #define LEG_SPECIAL_COLOR 4096
1222 #define CLOTH_COLOR (CAP_COLOR|TORSO_MAIN_COLOR|ARM_MAIN_COLOR|GAUNTLET_COLOR|LEG_MAIN_COLOR)
1224 /* contentscript<character> Flags */
1226 #define IS_LEADER 1
1227 #define IS_MASTER 2
1229 #define DEPENDS_ON_ATTRIBUTES 65535
1231 #define FOLLOW_PLAYER 1
1232 #define FLEE_FROM_ENEMIES 2
1233 #define DONT_CHANGE_EQUIPMENT 4
1234 #define DONT_CONSUME_ANYTHING_VALUABLE 8
1236 #define NO_PARAMETERS 255
1238 #define GRAY_FRACTAL 0
1239 #define RED_FRACTAL 1
1240 #define GREEN_FRACTAL 2
1241 #define BLUE_FRACTAL 3
1242 #define YELLOW_FRACTAL 4
1244 #define BLUNT 1
1245 #define SLASH 2
1246 #define PIERCE 4
1248 /*************************/
1249 /* Common DataBase flags */
1250 /*************************/
1252 /* CommonFlags */
1253 #define IS_ABSTRACT 1
1254 #define HAS_SECONDARY_MATERIAL 2
1255 #define CREATE_DIVINE_CONFIGURATIONS 4
1256 #define CAN_BE_WISHED 8
1257 #define CAN_BE_DESTROYED 16
1258 #define IS_VALUABLE 32
1259 #define CAN_BE_MIRRORED 64
1261 /* NameFlags */
1262 #define USE_AN 1
1263 #define USE_ADJECTIVE_AN 2
1264 #define NO_ARTICLE 4
1265 #define FORCE_THE 8
1266 #define SHOW_MATERIAL 16
1268 /***************************/
1269 /* Material DataBase flags */
1270 /***************************/
1272 /* CommonFlags */
1273 /* NameFlags (only USE_AN) */
1275 /* CategoryFlags */
1276 #define IS_METAL 1
1277 #define IS_BLOOD 2
1278 #define CAN_BE_TAILORED 4
1279 #define IS_SPARKLING 8
1280 #define IS_SCARY 16
1281 #define IS_GOLEM_MATERIAL 32
1282 #define IS_BEVERAGE 64
1284 /* BodyFlags */
1285 #define IS_ALIVE 1
1286 #define IS_WARM 2
1287 #define CAN_HAVE_PARASITE 4
1288 #define USE_MATERIAL_ATTRIBUTES 8
1289 #define CAN_REGENERATE 16
1291 /* InteractionFlags */
1292 #define CAN_BURN 1
1293 #define CAN_EXPLODE 2
1294 #define CAN_DISSOLVE 4
1295 #define AFFECT_INSIDE 8
1296 #define EFFECT_IS_GOOD 16
1297 #define IS_AFFECTED_BY_MUSTARD_GAS 32
1299 /*************************/
1300 /* End of DataBase flags */
1301 /*************************/
1303 #define BONUS_LIVES 0
1305 /* room flags */
1307 #define NO_MONSTER_GENERATION 1
1309 #define NO_TAMING -1
1312 /* for scripts */
1313 #define HAS_HIT 0
1314 #define HAS_BLOCKED 1
1315 #define HAS_DODGED 2
1316 #define HAS_DIED 3
1317 #define DID_NO_DAMAGE 4
1318 #define HAS_FAILED 5
1321 ; /* this line must be here */