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
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!
23 /*k8: this now can be controlled from here; 'cause why not? */
24 #define OVER_FED_LEVEL 175000
25 #define BLOATED_LEVEL 150000
26 #define SATIATED_LEVEL 100000
27 #define NOT_HUNGER_LEVEL 30000
28 #define HUNGER_LEVEL 20000
29 #define VERY_HUNGER_LEVEL 10000
45 /* Numerical defines for other script files */
47 NONE
= 0, // this will
not force
-change index
61 #define LIGHT_GRAY 46518
62 #define DARK_GRAY 21130
65 #define TRANSPARENT_COLOR 63519
102 #define THROW_ITEM_TYPES 5
124 #define ARMS (RIGHT_ARM | LEFT_ARM)
125 #define LEGS (RIGHT_LEG | LEFT_LEG)
180 #define ARTICLE_BIT 2
182 #define INDEFINE_BIT 4
188 #define ANY_CATEGORY 2147483647
213 GOOD
, /* it will be 1 */
247 //#define MARTIAL_SKILL_CATEGORIES 3
248 //#define WEAPON_SKILL_CATEGORIES 11
282 EFFECT_MAGIC_MUSHROOM
,
283 EFFECT_TRAIN_PERCEPTION
,
285 EFFECT_EVIL_WONDER_STAFF_VAPOUR
,
286 EFFECT_GOOD_WONDER_STAFF_VAPOUR
,
288 EFFECT_BLACK_UNICORN_FLESH
,
289 EFFECT_GRAY_UNICORN_FLESH
,
290 EFFECT_WHITE_UNICORN_FLESH
,
291 EFFECT_TELEPORT_CONTROL
,
293 EFFECT_OMMEL_CERUMEN
,
299 EFFECT_MUSTARD_GAS_LIQUID
,
308 /* CEM = Consume End Message */
322 CEM_BLACK_UNICORN_FLESH
,
323 CEM_GRAY_UNICORN_FLESH
,
324 CEM_WHITE_UNICORN_FLESH
,
331 /* HM = Hit Message */
347 /*#define SOLID_ID 4096*/
349 SOLID_ID
= (1 << 12),
382 GOLDEN_EAGLE_FEATHER
,
435 /*#define ORGANIC_ID (4096 * 2)*/
437 ORGANIC_ID
= (2 << 12),
459 /*#define GAS_ID (4096 * 3)*/
460 //#define GAS_ID (3 << 12)
469 EVIL_WONDER_STAFF_VAPOUR
,
470 GOOD_WONDER_STAFF_VAPOUR
,
478 /*#define LIQUID_ID (4096 * 4)*/
480 LIQUID_ID
= (4 << 12),
517 /*#define FLESH_ID (4096 * 5)*/
519 FLESH_ID
= (5 << 12),
562 MAGIC_MUSHROOM_FLESH
,
565 MUTANT_HEDGEHOG_FLESH
,
578 /*#define POWDER_ID (4096 * 6)*/
580 POWDER_ID
= (6 << 12),
588 /*#define IRON_ALLOY_ID (4096 * 7)*/
590 IRON_ALLOY_ID
= (7 << 12),
612 //#define ATTRIBUTES 11
613 //#define BASE_ATTRIBUTES 7
643 RIGHT_GAUNTLET_INDEX,
655 #enum #MeeleeConfig {
680 LOST_RUBY_FLAMING_SWORD
,
694 ARMOR_OF_GREAT_HEALTH
,
707 WAND_OF_POLYMORPH
= 1,
710 WAND_OF_TELEPORTATION
,
713 WAND_OF_RESURRECTION
,
714 WAND_OF_DOOR_CREATION
,
715 WAND_OF_INVISIBILITY
,
740 CLOAK_OF_INVISIBILITY
= 1,
741 CLOAK_OF_FIRE_RESISTANCE
,
742 CLOAK_OF_ELECTRICITY_RESISTANCE
,
743 CLOAK_OF_ACID_RESISTANCE
,
755 BOOT_OF_STRENGTH
= 1,
762 GAUNTLET_OF_STRENGTH
= 1,
763 GAUNTLET_OF_DEXTERITY
,
768 RING_OF_FIRE_RESISTANCE
= 1,
769 RING_OF_POLYMORPH_CONTROL
,
770 RING_OF_INFRA_VISION
,
771 RING_OF_TELEPORTATION
,
772 RING_OF_TELEPORT_CONTROL
,
774 RING_OF_POISON_RESISTANCE
,
775 RING_OF_INVISIBILITY
,
776 RING_OF_ELECTRICITY_RESISTANCE
,
778 RING_OF_ACID_RESISTANCE
,
779 //RING_OF_THIEVES
, // moved
to separate item
781 RING_OF_MAGIC_RESISTANCE
,
783 RING_OF_POLYMORPH_LOCK
,
789 AMULET_OF_LIFE_SAVING
= 1,
793 AMULET_OF_UNBREATHING
,
796 AMULET_OF_DISEASE_IMMUNITY
,
797 AMULET_OF_DIMENSION_ANCHOR
,
804 HELM_OF_UNDERSTANDING
,
806 HELM_OF_ATTRACTIVITY
,
807 GOROVITS_FAMILY_GAS_MASK
,
812 BELT_OF_CARRYING
= 1,
815 BELT_OF_GIANT_STRENGTH
,
816 BELT_OF_REGENERATION
,
837 IMPRISONED_FARMER
= 1,
864 #define GRAVE_KEEPER 5
909 IMPRISONED_HUNTER
= 1,
924 IMPRISONED_FEMALE
= 1,
925 /* 2 reserved for ATTNAM */
926 /* 3 reserved for NEW_ATTNAM */
932 ZOMBIE_OF_KHAZ_ZADM
= 1,
1021 /* Least significant bit defines sex */
1031 APPRENTICE_NECROMANCER
= 1,
1033 IMPRISONED_NECROMANCER
= 9,
1051 LIGHT_ASIAN_SIREN
= 1,
1100 BRICK_PRIMITIVE_PROPAGANDA
,
1150 #define SNOW_BOULDER 4
1152 #define STAIRS_UP 100
1153 #define STAIRS_DOWN 200
1154 #define OREE_LAIR_ENTRY 300
1155 #define OREE_LAIR_EXIT 400
1156 #define SUMO_ARENA_ENTRY 700
1157 #define SUMO_ARENA_EXIT 800
1158 #define KHARAZ_ARAD_ENTRY 900
1159 #define KHARAZ_ARAD_EXIT 1000
1160 #define WAYPOINT_DEEPER 1100
1161 #define WAYPOINT_SHALLOWER 1200
1162 #define XINROCH_TOMB_ENTRANCE 1300
1163 #define XINROCH_TOMB_EXIT 1400
1164 #define FOUNTAIN 65535
1185 #define WORLD_MAP 255
1187 #define DEFAULT_TEAM 255
1190 /* Hard-coded teams */
1191 // just add your own
to enum
1197 VALPURUS_ANGEL_TEAM
,
1210 XINROCH_TOMB_ENTRY_TEAM
,
1211 XINROCH_TOMB_NECRO_TEAM
,
1212 XINROCH_TOMB_KAMIKAZE_DWARF_TEAM
,
1219 #define NOT_WALKABLE 1
1220 #define HAS_CHARACTER 2
1222 #define NOT_IN_ROOM 8
1223 #define ATTACHABLE (16|NOT_IN_ROOM) /* overrides IN_ROOM */
1224 #define HAS_NO_OTERRAIN 32
1226 // dungeon indicies
; just add your own
to enum
1227 // also
, world points of interest
1239 // POIs without special dungeons
1240 KHARAZ_ARAD_SHOP
:= 127,
1241 UNDER_WATER_TUNNEL_EXIT
:= 128,
1246 #define ALL_DUNGEONS 32767
1248 #define VESANA_LEVEL 2
1249 #define CRYSTAL_LEVEL 3
1250 #define SPIDER_LEVEL 4
1251 #define ENNER_BEAST_LEVEL 4
1252 #define ZOMBIE_LEVEL 5
1254 #define CITY_LEVEL 6
1255 #define FUSANGA_LEVEL 7
1256 #define IVAN_LEVEL 9
1257 #define DARK_LEVEL 10
1258 #define OREE_LAIR 14
1259 #define KHARAZ_ARAD 15
1260 #define PLANT_LEVEL 16
1261 /* Tomb Of Xinroch */
1262 #define DUAL_ENNER_BEAST_LEVEL 5
1263 #define NECRO_CHAMBER_LEVEL 6
1266 #define IVAN_LEVEL 7
1267 #define DARK_LEVEL 8
1268 #define OREE_LAIR 12
1272 #define ROUND_CORNERS 2
1295 #define LAST_REAL_GOD MORTIFER
1297 #define MAX_PRICE 2147483647
1305 ROOM_BANANA_DROP_AREA
,
1333 BEAM_STYLES
, //WARNING
: MUST BE
3!
1338 #define RANDOM_COLOR 65536
1340 #define NO_LIMIT 65535
1343 #define IGNORE_BROKEN_PRICE 2
1345 #define N_LOCK_ID 1024
1346 #define S_LOCK_ID 16384
1347 #define LOCK_DELTA 1024
1349 #define BROKEN_LOCK S_LOCK_ID
1351 /* Normal lock types, which can be randomized */
1353 #define ROUND_LOCK (N_LOCK_ID + LOCK_DELTA * 1)
1354 #define SQUARE_LOCK (N_LOCK_ID + LOCK_DELTA * 2)
1355 #define TRIANGULAR_LOCK (N_LOCK_ID + LOCK_DELTA * 3)
1357 /* Special lock types, which must be generated in the script */
1359 #define HEXAGONAL_LOCK (S_LOCK_ID + LOCK_DELTA * 1)
1360 #define OCTAGONAL_LOCK (S_LOCK_ID + LOCK_DELTA * 2)
1361 #define HEART_SHAPED_LOCK (S_LOCK_ID + LOCK_DELTA * 3)
1362 #define PENTAGONAL_LOCK (S_LOCK_ID + LOCK_DELTA * 4)
1370 TUNDRA
, // this is actually snow
, wtf?
!
1373 // special pseudoterrain which contains worldmap options
1374 // initially
not defined
, but can be overriden
in modules
1375 WORLDMAP_OPTIONS
:= 64,
1378 //#define _HEXNUM_X_ 0x29a // test
1399 #define SKIN_COLOR 1
1401 #define HAIR_COLOR 4
1403 #define TORSO_MAIN_COLOR 16
1404 #define BELT_COLOR 32
1405 #define BOOT_COLOR 64
1406 #define TORSO_SPECIAL_COLOR 128
1407 #define ARM_MAIN_COLOR 256
1408 #define GAUNTLET_COLOR 512
1409 #define ARM_SPECIAL_COLOR 1024
1410 #define LEG_MAIN_COLOR 2048
1411 #define LEG_SPECIAL_COLOR 4096
1412 #define CLOTH_COLOR (CAP_COLOR|TORSO_MAIN_COLOR|ARM_MAIN_COLOR|GAUNTLET_COLOR|LEG_MAIN_COLOR)
1414 /* contentscript<character> Flags */
1419 #define DEPENDS_ON_ATTRIBUTES 65535
1421 #define FOLLOW_PLAYER 1
1422 #define FLEE_FROM_ENEMIES 2
1423 #define DONT_CHANGE_EQUIPMENT 4
1424 #define DONT_CONSUME_ANYTHING_VALUABLE 8
1426 #define NO_PARAMETERS 255
1428 #define GRAY_FRACTAL 0
1429 #define RED_FRACTAL 1
1430 #define GREEN_FRACTAL 2
1431 #define BLUE_FRACTAL 3
1432 #define YELLOW_FRACTAL 4
1438 /*************************/
1439 /* Common DataBase flags */
1440 /*************************/
1443 #define IS_ABSTRACT 1
1444 #define HAS_SECONDARY_MATERIAL 2
1445 #define CREATE_DIVINE_CONFIGURATIONS 4
1446 #define CAN_BE_WISHED 8
1447 #define CAN_BE_DESTROYED 16
1448 #define IS_VALUABLE 32
1449 #define CAN_BE_MIRRORED 64
1453 #define USE_ADJECTIVE_AN 2
1454 #define NO_ARTICLE 4
1456 #define SHOW_MATERIAL 16
1458 /***************************/
1459 /* Material DataBase flags */
1460 /***************************/
1463 /* NameFlags (only USE_AN) */
1468 #define CAN_BE_TAILORED 4
1469 #define IS_SPARKLING 8
1471 #define IS_GOLEM_MATERIAL 32
1472 #define IS_BEVERAGE 64
1477 #define CAN_HAVE_PARASITE 4
1478 #define USE_MATERIAL_ATTRIBUTES 8
1479 #define CAN_REGENERATE 16
1480 #define IS_WARM_BLOODED 32
1482 /* InteractionFlags */
1484 #define CAN_EXPLODE 2
1485 #define CAN_DISSOLVE 4
1486 #define AFFECT_INSIDE 8
1487 #define EFFECT_IS_GOOD 16
1488 #define IS_AFFECTED_BY_MUSTARD_GAS 32
1490 /*************************/
1491 /* End of DataBase flags */
1492 /*************************/
1494 #define BONUS_LIVES 0
1498 #define NO_MONSTER_GENERATION 1
1500 #define NO_TAMING -1
1503 /* for the engine */