3 * Iter Vehemens ad Necem (IVAN)
4 * Copyright (C) Timo Kiviluoto
5 * Released under the GNU General
8 * See LICENSING which should be included
9 * along with this file for more details
17 * Configuration defines of IVAN
20 #define SOLID_ID (1 << 12)
22 #define VALPURIUM (SOLID_ID + 1)
23 #define GRAVEL (SOLID_ID + 2)
24 #define MORAINE (SOLID_ID + 3)
25 #define OCTIRON (SOLID_ID + 4)
26 #define GLASS (SOLID_ID + 5)
27 #define PARCHMENT (SOLID_ID + 6)
28 #define CLOTH (SOLID_ID + 7)
29 #define MITHRIL (SOLID_ID + 8)
30 #define MARBLE (SOLID_ID + 9)
31 #define GOLD (SOLID_ID + 10)
32 #define GRASS (SOLID_ID + 11)
33 #define LEATHER (SOLID_ID + 12)
34 #define LEAF (SOLID_ID + 13)
35 #define FABRIC (SOLID_ID + 14)
36 #define PALM_LEAF (SOLID_ID + 15)
37 #define SULFUR (SOLID_ID + 16)
38 #define UNICORN_HORN (SOLID_ID + 17)
39 #define DIAMOND (SOLID_ID + 18)
40 #define SILVER (SOLID_ID + 19)
41 #define SAPPHIRE (SOLID_ID + 20)
42 #define RUBY (SOLID_ID + 21)
43 #define BRONZE (SOLID_ID + 22)
44 #define COPPER (SOLID_ID + 23)
45 #define TIN (SOLID_ID + 24)
46 #define SPIDER_SILK (SOLID_ID + 25)
47 #define KEVLAR (SOLID_ID + 26)
48 #define OMMEL_HAIR (SOLID_ID + 27)
49 #define HARDENED_LEATHER (SOLID_ID + 28)
50 #define TROLL_HIDE (SOLID_ID + 29)
51 #define NYMPH_HAIR (SOLID_ID + 30)
52 #define ANGEL_HAIR (SOLID_ID + 31)
53 #define PHOENIX_FEATHER (SOLID_ID + 32)
54 #define GOLDEN_EAGLE_FEATHER (SOLID_ID + 33)
55 #define ICE (SOLID_ID + 34)
56 #define DRAGON_HIDE (SOLID_ID + 35)
57 #define ARCANITE (SOLID_ID + 36)
58 #define ILLITHIUM (SOLID_ID + 37)
59 #define BALSA_WOOD (SOLID_ID + 38)
60 #define PINE_WOOD (SOLID_ID + 39)
61 #define FIR_WOOD (SOLID_ID + 40)
62 #define BIRCH_WOOD (SOLID_ID + 41)
63 #define OAK_WOOD (SOLID_ID + 42)
64 #define TEAK_WOOD (SOLID_ID + 43)
65 #define EBONY_WOOD (SOLID_ID + 44)
66 #define BLUE_CRYSTAL (SOLID_ID + 45)
67 #define PURPLE_CRYSTAL (SOLID_ID + 46)
68 #define GREEN_CRYSTAL (SOLID_ID + 47)
69 #define SAND_STONE (SOLID_ID + 48)
70 #define LIME_STONE (SOLID_ID + 49)
71 #define CALCITE (SOLID_ID + 50)
72 #define OBSIDIAN (SOLID_ID + 51)
73 #define GNEISS (SOLID_ID + 52)
74 #define SLATE (SOLID_ID + 53)
75 #define GRANITE (SOLID_ID + 54)
76 #define BASALT (SOLID_ID + 55)
77 #define MILKY_QUARTZ (SOLID_ID + 56)
78 #define FLINT (SOLID_ID + 57)
79 #define QUARTZITE (SOLID_ID + 58)
80 #define AMETHYST (SOLID_ID + 59)
81 #define CITRINE (SOLID_ID + 60)
82 #define ROSE_QUARTZ (SOLID_ID + 61)
83 #define JASPER (SOLID_ID + 62)
84 #define ROCK_CRYSTAL (SOLID_ID + 63)
85 #define DARK_GRASS (SOLID_ID + 64)
86 #define LEAD (SOLID_ID + 65)
87 #define BLACK_GRANITE (SOLID_ID + 66)
88 #define BLACK_LEATHER (SOLID_ID + 67)
89 #define FLAWLESS_DIAMOND (SOLID_ID + 68)
90 #define EMERALD (SOLID_ID + 69)
91 #define SUN_CRYSTAL (SOLID_ID + 70)
92 #define BLACK_DIAMOND (SOLID_ID + 71)
93 #define PSYPHER (SOLID_ID + 72)
94 #define EXTRA_HARD_BASALT (SOLID_ID + 73)
95 #define WEAK_GLASS (SOLID_ID + 74)
96 #define DEAD_GRASS (SOLID_ID + 75)
97 #define KAURI_WOOD (SOLID_ID + 76)
98 #define RATA_WOOD (SOLID_ID + 77)
99 #define NEPHRITE (SOLID_ID + 78)
100 #define HESSIAN_CLOTH (SOLID_ID + 79)
102 #define ORGANIC_ID (2 << 12)
104 #define BANANA_FLESH (ORGANIC_ID + 1)
105 #define SCHOOL_FOOD (ORGANIC_ID + 2)
106 #define BANANA_PEEL (ORGANIC_ID + 3)
107 #define KIWI_FLESH (ORGANIC_ID + 4)
108 #define PINEAPPLE_FLESH (ORGANIC_ID + 5)
109 #define PLANT_FIBER (ORGANIC_ID + 6)
110 #define MUTANT_PLANT_FIBER (ORGANIC_ID + 7)
111 #define BONE (ORGANIC_ID + 8)
112 #define BREAD (ORGANIC_ID + 9)
113 #define HOLY_BANANA_FLESH (ORGANIC_ID + 10)
114 #define CARROT_FLESH (ORGANIC_ID + 11)
115 #define OMMEL_CERUMEN (ORGANIC_ID + 12)
116 #define OMMEL_BONE (ORGANIC_ID + 13)
117 #define OMMEL_TOOTH (ORGANIC_ID + 14)
118 #define RYE_BREAD (ORGANIC_ID + 15)
119 #define MANGO_FLESH (ORGANIC_ID + 16)
120 #define HOLY_MANGO_FLESH (ORGANIC_ID + 17)
122 #define GAS_ID (3 << 12)
124 #define AIR (GAS_ID + 1)
125 #define MAGICAL_AIR (GAS_ID + 2)
126 #define SMOKE (GAS_ID + 3)
127 #define SKUNK_SMELL (GAS_ID + 4)
128 #define GHOST (GAS_ID + 5)
129 #define MAGIC_VAPOUR (GAS_ID + 6)
130 #define EVIL_WONDER_STAFF_VAPOUR (GAS_ID + 7)
131 #define GOOD_WONDER_STAFF_VAPOUR (GAS_ID + 8)
132 #define FART (GAS_ID + 9)
133 #define MUSTARD_GAS (GAS_ID + 10)
134 #define VACUUM_BLADE_AIR (GAS_ID + 11)
136 #define LIQUID_ID (4 << 12)
138 #define OMMEL_URINE (LIQUID_ID + 1)
139 #define PEPSI (LIQUID_ID + 2)
140 #define WATER (LIQUID_ID + 3)
141 #define HEALING_LIQUID (LIQUID_ID + 4)
142 #define BLOOD (LIQUID_ID + 5)
143 #define BROWN_SLIME (LIQUID_ID + 6)
144 #define POISON_LIQUID (LIQUID_ID + 7)
145 #define VALDEMAR (LIQUID_ID + 8)
146 #define ANTIDOTE_LIQUID (LIQUID_ID + 9)
147 #define VODKA (LIQUID_ID + 10)
148 #define TROLL_BLOOD (LIQUID_ID + 11)
149 #define DARK_FROG_BLOOD (LIQUID_ID + 12)
150 #define SPIDER_BLOOD (LIQUID_ID + 13)
151 #define VOMIT (LIQUID_ID + 14)
152 #define ACIDOUS_BLOOD (LIQUID_ID + 15)
153 #define SULPHURIC_ACID (LIQUID_ID + 16)
154 #define DOG_DROOL (LIQUID_ID + 17)
155 #define PEA_SOUP (LIQUID_ID + 18)
156 #define OMMEL_SWEAT (LIQUID_ID + 19)
157 #define OMMEL_TEARS (LIQUID_ID + 20)
158 #define OMMEL_SNOT (LIQUID_ID + 21)
159 #define SWEAT (LIQUID_ID + 22)
160 #define GLOWING_BLOOD (LIQUID_ID + 23)
161 #define YELLOW_SLIME (LIQUID_ID + 24)
162 #define SICK_BLOOD (LIQUID_ID + 25)
163 #define MUSTARD_GAS_LIQUID (LIQUID_ID + 26)
164 #define OMMEL_VOMIT (LIQUID_ID + 27)
165 #define LIQUID_HORROR (LIQUID_ID + 28)
166 #define VINEGAR (LIQUID_ID + 29)
167 #define OMMEL_BLOOD (LIQUID_ID + 30)
168 #define CURDLED_OMMEL_BLOOD (LIQUID_ID + 31)
170 #define FLESH_ID (5 << 12)
172 #define GOBLINOID_FLESH (FLESH_ID + 1)
173 #define PORK (FLESH_ID + 2)
174 #define BEEF (FLESH_ID + 3)
175 #define FROG_FLESH (FLESH_ID + 4)
176 #define ELPURI_FLESH (FLESH_ID + 5)
177 #define HUMAN_FLESH (FLESH_ID + 6)
178 #define DOLPHIN_FLESH (FLESH_ID + 7)
179 #define BEAR_FLESH (FLESH_ID + 8)
180 #define WOLF_FLESH (FLESH_ID + 9)
181 #define DOG_FLESH (FLESH_ID + 10)
182 #define ENNER_BEAST_FLESH (FLESH_ID + 11)
183 #define SPIDER_FLESH (FLESH_ID + 12)
184 #define JACKAL_FLESH (FLESH_ID + 13)
185 #define MUTANT_ASS_FLESH (FLESH_ID + 14)
186 #define BAT_FLESH (FLESH_ID + 15)
187 #define WERE_WOLF_FLESH (FLESH_ID + 16)
188 #define KOBOLD_FLESH (FLESH_ID + 17)
189 #define GIBBERLING_FLESH (FLESH_ID + 18)
190 #define CAT_FLESH (FLESH_ID + 19)
191 #define RAT_FLESH (FLESH_ID + 20)
192 #define ANGEL_FLESH (FLESH_ID + 21)
193 #define DWARF_FLESH (FLESH_ID + 22)
194 #define DAEMON_FLESH (FLESH_ID + 23)
195 #define MAMMOTH_FLESH (FLESH_ID + 24)
196 #define BLACK_UNICORN_FLESH (FLESH_ID + 25)
197 #define GRAY_UNICORN_FLESH (FLESH_ID + 26)
198 #define WHITE_UNICORN_FLESH (FLESH_ID + 27)
199 #define LION_FLESH (FLESH_ID + 28)
200 #define BUFFALO_FLESH (FLESH_ID + 29)
201 #define SNAKE_FLESH (FLESH_ID + 30)
202 #define ORC_FLESH (FLESH_ID + 31)
203 #define OSTRICH_FLESH (FLESH_ID + 32)
204 #define CHAMELEON_FLESH (FLESH_ID + 33)
205 #define FLOATING_EYE_FLESH (FLESH_ID + 34)
206 #define MUSHROOM_FLESH (FLESH_ID + 35)
207 #define MOOSE_FLESH (FLESH_ID + 36)
208 #define MAGPIE_FLESH (FLESH_ID + 37)
209 #define SKUNK_FLESH (FLESH_ID + 38)
210 #define HEDGEHOG_FLESH (FLESH_ID + 39)
211 #define MUTANT_BUNNY_FLESH (FLESH_ID + 40)
212 #define HATTIFATTENER_FLESH (FLESH_ID + 41)
213 #define BLINK_DOG_FLESH (FLESH_ID + 42)
214 #define MAGIC_MUSHROOM_FLESH (FLESH_ID + 43)
215 #define SICK_SPIDER_FLESH (FLESH_ID + 44)
216 #define MIND_WORM_FLESH (FLESH_ID + 45)
218 #define POWDER_ID (6 << 12)
220 #define GUN_POWDER (POWDER_ID + 1)
221 #define SNOW (POWDER_ID + 2)
222 #define SAND (POWDER_ID + 3)
224 #define IRON_ALLOY_ID (7 << 12)
226 #define IRON (IRON_ALLOY_ID + 1)
227 #define STEEL (IRON_ALLOY_ID + 2)
228 #define METEORIC_STEEL (IRON_ALLOY_ID + 3)
229 #define ADAMANT (IRON_ALLOY_ID + 4)
230 #define DAMASCUS_STEEL (IRON_ALLOY_ID + 5)
233 #define TWO_HANDED_SWORD 2
234 #define TWO_HANDED_SCIMITAR 3
242 #define SHORT_SWORD 11
243 #define BASTARD_SWORD 12
244 #define BATTLE_AXE 13
246 #define QUARTER_STAFF 15
248 #define KNIGHT_SWORD 17
255 #define GOROVITS_HAMMER 1
256 #define GOROVITS_SICKLE 2
257 #define GOROVITS_SCIMITAR 3
261 #define ARMOR_OF_GREAT_HEALTH 3
262 #define DRAGON_CUIRASS 4
263 #define ARMOR_OF_THE_OMMEL 5
268 #define WAND_OF_POLYMORPH 1
269 #define WAND_OF_STRIKING 2
270 #define WAND_OF_FIRE_BALLS 3
271 #define WAND_OF_TELEPORTATION 4
272 #define WAND_OF_HASTE 5
273 #define WAND_OF_SLOW 6
274 #define WAND_OF_RESURRECTION 7
275 #define WAND_OF_DOOR_CREATION 8
276 #define WAND_OF_INVISIBILITY 9
277 #define WAND_OF_CLONING 10
278 #define WAND_OF_LIGHTNING 11
279 #define WAND_OF_ACID_RAIN 12
280 #define WAND_OF_MIRRORING 13
281 #define WAND_OF_NECROMANCY 14
287 #define CLOAK_OF_INVISIBILITY 1
288 #define CLOAK_OF_FIRE_RESISTANCE 2
289 #define CLOAK_OF_ELECTRICITY_RESISTANCE 3
290 #define CLOAK_OF_ACID_RESISTANCE 4
291 #define CLOAK_OF_WERE_WOLF_FUR 5
293 #define BOOT_OF_STRENGTH 1
294 #define BOOT_OF_AGILITY 2
295 #define BOOT_OF_KICKING 3
297 #define GAUNTLET_OF_STRENGTH 1
298 #define GAUNTLET_OF_DEXTERITY 2
300 #define RING_OF_FIRE_RESISTANCE 1
301 #define RING_OF_POLYMORPH_CONTROL 2
302 #define RING_OF_INFRA_VISION 3
303 #define RING_OF_TELEPORTATION 4
304 #define RING_OF_TELEPORT_CONTROL 5
305 #define RING_OF_POLYMORPH 6
306 #define RING_OF_POISON_RESISTANCE 7
307 #define RING_OF_INVISIBILITY 8
308 #define RING_OF_ELECTRICITY_RESISTANCE 9
309 #define RING_OF_SEARCHING 10
310 #define RING_OF_ACID_RESISTANCE 11
311 #define RING_OF_THIEVES 12
313 #define AMULET_OF_LIFE_SAVING 1
314 #define AMULET_OF_ESP 2
316 #define FULL_HELMET 1
317 #define HELM_OF_PERCEPTION 2
318 #define HELM_OF_UNDERSTANDING 3
319 #define HELM_OF_BRILLIANCE 4
320 #define HELM_OF_ATTRACTIVITY 5
321 #define GOROVITS_FAMILY_GAS_MASK 6
323 #define BELT_OF_CARRYING 1
324 #define BELT_OF_LEVITATION 2
326 #define SMALL_CHEST 1
328 #define LARGE_CHEST 3
342 #define GRAND_MASTER 8
343 #define MONDEDR_GUARD 9
344 #define DWARVEN_GUARD 10
346 #define FOREST_SHOP 12
350 #define GREATER_DARK 2
353 #define GREATER_LIGHT 5
354 #define GIANT_LIGHT 6
372 #define GRIZZLY_BEAR 2
376 #define ZOMBIE_OF_KHAZ_ZADM 1
378 #define TORTURING_CHIEF 1
379 #define WHIP_CHAMPION 2
392 #define SLAUGHTERER 1
393 #define SQUAD_LEADER 2
399 #define BATTLE_MAGE 2
403 #define FIELD_MOUSE 1
404 #define LABORATORY_MOUSE 2
410 /* Least significant bit defines sex */
413 #define BABY_FEMALE 3
415 #define ADULT_FEMALE 5
417 #define APPRENTICE_NECROMANCER 1
418 #define MASTER_NECROMANCER 2
424 #define LIGHT_ASIAN_SIREN 1
425 #define DARK_ASIAN_SIREN 2
426 #define CAUCASIAN_SIREN 3
428 #define GREEN_SIREN 5
433 #define GRASS_TERRAIN 4
434 #define LANDING_SITE 5
435 #define SNOW_TERRAIN 6
436 #define DARK_GRASS_TERRAIN 7
437 #define SAND_TERRAIN 8
438 #define DEAD_GRASS_TERRAIN 9
441 #define UNDERGROUND_LAKE 2
444 #define BRICK_PROPAGANDA 2
446 #define BRICK_PRIMITIVE 4
447 #define BRICK_PRIMITIVE_PROPAGANDA 5
450 #define BROKEN_WALL 8
458 #define POOL_BORDER 7
459 #define POOL_CORNER 8
469 #define DWARF_BIRCH 18
471 #define SNOW_BOULDER 4
473 #define OREE_LAIR_ENTRY 300
474 #define OREE_LAIR_EXIT 400
475 #define SUMO_ARENA_ENTRY 700
476 #define SUMO_ARENA_EXIT 800
479 #define CHEST_OF_DRAWERS 2
482 #define BROKEN_BARWALL 1
483 #define SECRET_DOOR 2
485 #define ROOM_NORMAL 1
487 #define ROOM_CATHEDRAL 3
488 #define ROOM_LIBRARY 4
489 #define ROOM_BANANA_DROP_AREA 5
490 #define ROOM_SUMO_ARENA 6