-+-+-+-+-+-+-+-+ START OF PART 102 -+-+-+-+-+-+-+-+ V000000',%X'00000000', X 0,`09 0, 114, 0, 0,`090, 0,`09 0, 0, '0d0'`09 , 0), X('the entrance to the Casino'`09`09`09 , Entrance_to_store, 'C',%X'0000000 V0',%X'00000000', X 0,`09 0, 115, 0, 0,`090, 0,`09 0, 0, '0d0'`09 , 0), X('the entrance to the All-Nite Deli'`09`09 , Entrance_to_store, 'D',%X'000 V00000',%X'00000000', X 0,`09 0, 116, 0, 0,`090, 0,`09 0, 0, '0d0'`09 , 0), X('the entrance to a strange building' `09`09 , Entrance_to_store, 'Q',%X'0 V0000000',%X'00000000', X 0,`09 0, 117, 0, 0,`090, 0,`09 0, 0, '0d0'`09 , 0), X('the entrance to a building'`09`09 , Entrance_to_store, '+',%X'00000000', V%X'00000000', X 0,`09 0, 120, 0, 0,`090, 0,`09 0, 0, '0d0'`09 , 0), X('the entrance to a building'`09`09 , Entrance_to_store, '+',%X'00000000', V%X'00000000', X 0,`09 0, 121, 0, 0,`090, 0,`09 0, 0, '0d0'`09 , 0), X('the entrance to a building'`09`09 , Entrance_to_store, '+',%X'00000000', V%X'00000000', X 0,`09 0, 122, 0, 0,`090, 0,`09 0, 0, '0d0'`09 , 0), X('the entrance to a building'`09`09 , Entrance_to_store, '+',%X'00000000', V%X'00000000', X 0,`09 0, 123, 0, 0,`090, 0,`09 0, 0, '0d0'`09 , 0), X('the entrance to a building'`09`09 , Entrance_to_store, '+',%X'00000000', V%X'00000000', X 0,`09 0, 124, 0, 0,`090, 0,`09 0, 0, '0d0'`09 , 0) X`09`09`09`09); X`20 X scare_monster := X('a strange rune'`09`09`09`09 , Seen_trap, '`5E',%X'00000000',%X'00000000' V, X 0,`09 0,`0999, 0, 0,`090, 0,`09 0, 0, '0d0'`09 ,-90); X`20 X some_rubble := X('some rubble'`09`09`09`09`09 , Rubble, ':',%X'00000000',%X'00000000', X 0,`09 0,`09 1, 0, 0,`090, 0,`09 0, 0, '0d0'`09 , 0); X`20 X`20 X`09`7B Secret door must have same subval as closed door in`09`7D X`09`7B TRAP_LISTB. See CHANGE_TRAP`09`09`09`09`7D X`09door_list`09:=`09( X('an open door'`09`09`09`09`09 , Open_door,'''',%X'00000000',%X'00000000', X 0,`09 0,`09 1, 0, 0,`090, 0,`09 0, 0, '1d1'`09 , 0), X('a closed door'`09`09`09`09 , Closed_door, '+',%X'00000000',%X'00000000', X 0,`09 0,`0919, 0, 0,`090, 0,`09 0, 0, '1d1'`09 , 0), X('a secret door'`09`09`09`09 , Secret_door, '#',%X'00000000',%X'00000000', X 0,`09 0,`0919, 0, 0,`090, 0,`09 0, 0, '1d1'`09 , 0) X`09`09`09`09); X`20 X up_stair := `20 X('an up staircase'`09`09`09`09 , Up_staircase, '<',%X'00000000',%X'00000000 V', X 0,`09 0,`09 1, 0, 0,`090, 0,`09 0, 0, '1d1'`09 , 0); X`20 X down_stair := X('a down staircase'`09`09`09`09 , Down_staircase, '>',%X'00000000',%X'0000 V0000', X 0,`09 0,`09 1, 0, 0,`090, 0,`09 0, 0, '1d1'`09 , 0); X`20 X up_steep := X('a steep staircase'`09`09`09`09 , Up_steep_staircase, '<',%X'00000000',%X V'00000000', X 0,`09 0,`09 1, 0, 0,`090, 0,`09 0, 0, '1d1'`09 , 0); X`20 Xdown_steep := X('a steep staircase'`09`09`09`09 , Down_steep_staircase, '>',%X'00000000', V%X'00000000', X 0,`09 0,`09 1, 0, 0,`090, 0,`09 0, 0, '1d1'`09 , 0); X`20 X`20 X`09`7B Sets for easy testing`09`09`09`09`09`09`7D X`09floor_set := `5B1,2,4,5,6,7,16,17,18`5D; X`09wall_set := `5B10,11,12`5D; X`09pwall_set := `5B10,11,12,15`5D; X`09corr_set := `5B4,5`5D; X`09trap_set := `5BUnseen_trap,Seen_trap,Secret_door,Entrance_to_store`5D; X`09light_set := `5BSeen_trap,Rubble,Open_door,Closed_door,Up_staircase, X`09`09`09Down_staircase,Up_steep_staircase,Down_steep_staircase, X`09`09`09Secret_door,Entrance_to_store`5D; X`09water_set := `5B16,17,18`5D; X`09earth_set := `5B1,2,4,5,6,7`5D; X`09float_set := `5Barrow,lamp_or_torch,bow_crossbow_or_sling,boots, X`09`09`09gloves_and_gauntlets,cloak,soft_armor,scroll1,scroll2, X`09`09`09potion1,potion2,flask_of_oil,food,magic_book, X`09`09`09prayer_book,song_book`5D; X`09stable_set := `5Bchest,spike,hard_armor`5D; X`09slow_set := `5Bhafted_weapon,pole_arm,sword,dagger,pick_or_shovel, X`09`09`09maul,helm,gem_helm,shield,valuable_metal`5D; X`20 X`09`7B Descriptive phrases`09`09`09`09`09`09`7D X`09colors`09:= ('Amber','Azure','Blue','Blue Speckled','Blue Spotted', X`09`09 'Black','Black Speckled','Black Spotted', X`09`09 'Brown','Brown Speckled','Brown Spotted', X`09`09 'Bubbling', X`09`09 'Chartreuse','Clear','Cloudy', X`09`09 'Copper','Copper Spotted','Crimson','Cyan', X`09`09 'Dark Blue','Dark Green','Dark Red','Ecru', X`09`09 'Gold','Gold Spotted', X`09`09 'Green','Green Speckled','Green Spotted', X`09`09 'Grey','Grey Spotted','Hazy','Indigo', X`09`09 'Light Blue','Light Green','Magenta','Metallic Blue', X`09`09 'Metallic Red','Metallic Green','Metallic Purple', X`09`09 'Misty', X`09`09 'Orange','Orange Speckled','Orange Spotted', X`09`09 'Pink','Pink Speckled', X`09`09 'Plaid','Puce','Purple','Purple Speckled', X`09`09 'Purple Spotted','Red','Red Speckled','Red Spotted', X`09`09 'Silver','Silver Speckled','Silver Spotted','Smokey', X`09`09 'Tan','Tangerine','Topaz','Turquoise', X`09`09 'Violet','Vermilion','White','White Speckled', X`09`09 'White Spotted','Yellow' X`09`09 ); X`09mushrooms:= ('Blue','Black','Brown','Copper','Crimson', X`09`09 'Dark blue','Dark green','Dark red','Gold', X`09`09 'Green','Grey','Light Blue','Light Green', X`09`09 'Orange','Pink','Plaid','Purple','Red','Tan', X`09`09 'Turquoise','Violet','White','Yellow', X`09`09 'Wrinkled','Wooden','Slimey','Speckled', X`09`09 'Spotted','Furry' X`09`09 ); X`09woods`09:= ('Applewood','Ashen','Aspen','Avocado wood', X`09`09 'Balsa','Banyan','Birch','Cedar','Cherrywood', X`09`09 'Cinnibar','Cottonwood','Cypress','Dogwood', X`09`09 'Driftwood','Ebony','Elm wood','Eucalyptus', X`09`09 'Grapevine','Hawthorn','Hemlock','Hickory', X`09`09 'Iron wood','Juniper','Locust','Mahogany', X`09`09 'Magnolia','Manzanita','Maple','Mulberry', X`09`09 'Oak','Pecan','Persimmon','Pine','Redwood', X`09`09 'Rosewood','Spruce','Sumac','Sycamore','Teak', X`09`09 'Walnut','Zebra wood' X`09`09 ); X`09metals`09:= ('Aluminium','Bone','Brass','Bronze','Cast Iron', X`09`09 'Chromium','Copper','Gold','Iron','Lead', X`09`09 'Magnesium','Molybdenum','Nickel', X`09`09 'Pewter','Rusty','Silver','Steel','Tin', X`09`09 'Titanium','Tungsten','Zirconium','Zinc', X`09`09 'Aluminium Plated','Brass Plated','Copper Plated', X`09`09 'Gold Plated','Nickel Plated','Silver Plated', X`09`09 'Steel Plated','Tin Plated','Zinc Plated','Uranium' X`09`09 ); X`09horns`09:= ('Bag Pipes','Bugle','Conch Shell','Fife','Harmonica', X`09`09 'Horn','Picolo','Pipes','Recorder','Reed','Trumpet', X`09`09 'Tuba','Whistle'); X`09rocks`09:= ('Amber','Agate','Alexandrite','Amethyst','Antlerite', X`09`09 'Aquamarine','Argentite','Azurite','Beryl','Bloodstone', X`09`09 'Calcite','Carnelian','Coral','Corundum','Cryolite', X`09`09 'Diamond','Diorite','Emerald','Flint','Fluorite', X`09`09 'Gabbro','Garnet','Granite','Gypsum','Hematite','Jade', X`09`09 'Jasper','Kryptonite','Lapus lazuli','Limestone', X`09`09 'Malachite','Manganite','Marble','Mica','Moonstone', X`09`09 'Neptunite','Obsidian','Onyx','Opal','Pearl','Pyrite', X`09`09 'Quartz','Quartzite','Rhodonite','Rhyolite','Ruby', X`09`09 'Sapphire','Sphalerite','Staurolite','Tiger eye','Topaz', X`09`09 'Turquoise','Zircon' X`09`09 ); X`09amulets := ('Birch','Cedar','Dogwood','Driftwood', X`09`09 'Elm wood','Hemlock','Hickory','Mahogany', X`09`09 'Maple','Oak','Pine','Redwood','Rosewood', `20 X`09`09 'Walnut','Aluminium','Bone','Brass','Bronze', X`09`09 'Copper','Iron','Lead','Nickel','Agate','Amethyst', X`09`09 'Diamond','Emerald','Flint','Garnet', X`09`09 'Jade','Obsidian','Onyx','Opal','Pearl','Quartz', X`09`09 'Ruby','Saphire','Tiger eye','Topaz','Turquoise' X`09`09 ); X`09cloths`09 := ('Burlap','Cotton','Wool','Sack-cloth','Rabbit-fur', X`09`09 'Lizard-skin','Goat-skin'); X`09syllables := ('a','ab','ag','aks','ala','an','ankh','app', X`09`09 'arg','arze','ash','aus','ban','bar','bat','bek', X`09`09 'bie','bin','bit','bjor','blu','brd','bu', X`09`09 'byt','comp','con','cos','cre','dalf','dan', X`09`09 'den','doe','dok','eep','el','eng','er','ere','erk', X`09`09 'esh','evs','fa','fid','for','fri','fu','gan', X`09`09 'gar','glen','gop','gre','ha','he','hyd','i', X`09`09 'ing','ion','ip','ish','it','ite','iv','jo', X`09`09 'kho','kli','klis','la','lech','man','mar', X`09`09 'me','mi','mic','mik','mon','mung','mur','naed', X`09`09 'neg','nep','ner','nes','nis','nih','nin','o','od', X`09`09 'ood','ook','oook','org','orn','ox','oxy','pay','pet', X`09`09 'ple','plu','po','pot','prok','re','rea','rhov', X`09`09 'ri','ro','rog','rok','rol','sa','san','sat', X`09`09 'see','sef','seh','shu','si','snd','sne','snik', X`09`09 'sno','so','sol','spam','sri','sta','sun','ta','taf', X`09`09 'tem','ther','ti','tox','trol','tue','turs','u', X`09`09 'ulk','um','un','uni','ur','val','viv','vly', X`09`09 'vom','wah','wed','werg','wex','whon','wlf','x', X`09`09 'yerg','yp','zun' X`09`09 ); X`20 X`09`7B Used in DESC.INC for replacing the & in descriptions`09`09`7D X`09vowel_set`09:= `5B'a','e','i','o','u','A','E','I','O','U'`5D; X`20 X`09`7B Creatures must be defined here`09`09`09`09`7D X`09`7B`09See TYPES.INC under creature_type for a complete list X`09`09of all variables for creatures.`09 Some of the less obvious X`09`09are explained below. X`20 X`09Area of affect (aaf) :`09Max range that creature is able to "notice" X`09`09`09`09the player. X`20 X`09Armor Class (AC): difficulty to hit. X`20 X`09`09CMOVE flags: XMovement.`0900000001`09Move only to attack X`09.`0900000002`0920% random movement X`09.`0900000004`0940% random movement X`09.`0900000008`0975% random movement X`09.`0900000010`09On = Water-based; Off = Land-based X`09.`0900000040`09Drowns/Suffocates in wrong element X`09.`0900000300`09monster rate in wrong elm't (0=stop,3=full) XSpecial`09+`0900004000`09Is a 'good' monster (reputation) X`09+`0900008000`09Is a monster that will not normally appear X`09`09`09`09`09(such as Town Guards) X`09`09`09`09`09These can only be summoned by summon X`09`09`09`09`09monster by name. X`09+`0900010000`09Invisible movement X`09+`0900020000`09Move through door X`09+`0900040000`09Move through wall X`09+`0900080000`09Move through creatures X`09+`0900100000`09Picks up objects X`09+`0900200000`09Multiply monster X`09+`0900400000`09Can anchor in water X`09+`0900800000`09Flying creature XCarries =`0901000000`09Carries objects. X`09=`0902000000`09Carries gold. X`09=`0904000000`09Has 60% of time. X`09=`0908000000`09Has 90% of time. X`09=`0910000000`091d2 objects/gold. X`09=`0920000000`092d2 objects/gold. X`09=`0940000000`094d2 objects/gold. XSpecial `7E`0980000000`09Win-the-Game creature. X`20 X`09`09SPELL Flags: XFrequency`0900000001 1`09 These add up to x. Then X(1 in x).`0900000002 2`09 if RANDINT(X) = 1 the X`09.`0900000004 4`09 creature casts a spell. X`09.`0900000008 8 XSpells`09=`0900000010 Teleport short (blink) X`09=`0900000020 Teleport long X`09=`0900000040 Teleport player to monster X`09=`0900000080 Cause light wound X`09=`0900000100 Cause serious wound X`09=`0900000200 Hold person (Paralysis) X`09=`0900000400 Cause blindness X`09=`0900000800 Cause confusion X`09=`0900001000 Cause fear X`09=`0900002000 Summon monster X`09=`0900004000 Summon undead X`09=`0900008000 Slow Person X`09=`0900010000 Drain Mana X`09=`0900020000 Shadow Breath/Orb of Draining X`09=`0900040000 Not Used XBreaths +`0900080000 Breath Lightning X`09+`0900100000 Breath Gas X`09+`0900200000 Breath Acid X`09+`0900400000 Breath Frost X`09+`0900800000 Breath Fire X`09=`0901000000 Casts Illusion X`09=`0902000000 Summon Demon X`09=`0904000000 Summon Multiplying Monster (heh heh) X`09=`0908000000 Gaze from distance for petrification X`09.`0980000000 makes no casting 1 in x (instead of casting 1 in x) X`20 X`09`09CDEFENSE flags: X`09`090001`09Hurt by Slay Dragon. X`09`090002`09Hurt by Slay Monster. X`09`090004`09Hurt by Slay Evil. X`09`090008`09Hurt by Slay Undead. X`09`090010`09Hurt by Frost. X`09`090020`09Hurt by Fire. X`09`090040`09Hurt by Poison. X`09`090080`09Hurt by Acid. X`09`090100`09Hurt by Light-Wand. X`09`090200`09Hurt by Stone-to-Mud. X`09`090400`09Hurt by Slay Demon. X`09`090800`09Not used. X`09`091000`09Cannot be charmed or slept. X`09`092000`09Can be seen with infra-vision. X`09`094000`09Max Hit points. X`09`098000`09Regenerates. X`20 X`09Sleep (sleep)`09:`09A measure in turns of how fast creature X`09`09`09`09will notice player (on the average). X`09`09`09`09`09`09`09`09`09 X`09Experience`09:`09Base Experience for slaying the creature. X X`09Speed`09`09:`09Base Monster Speed. X X`09Character Rep.`09:`09The character used on the map. X`09 X`09Hit points:`09'#1d#2' where #2 is the range of each roll and X`09`09`09#1 is the number of added up rolls to make. X`09`09`09Example: a creature with 5 eight-sided hit die X`09`09`09is given '5d8'. X`20 X`09`09Attack types: X`09`091`09Normal attack X`09`092`09Lose Strength X`09`093`09Confusion attack X`09`094`09Fear attack X`09`095`09Fire attack X`09`096`09Acid attack X`09`097`09Cold attack X`09`098`09Lightning attack X`09`099`09Corrosion attack X`09`0910`09Blindness attack X`09`0911`09Paralysis attack X`09`0912`09Steal Money X`09`0913`09Steal Object X`09`0914`09Poison X`09`0915`09Lose dexterity X`09`0916`09Lose constitution X`09`0917`09Lose intelligence X`09`0918`09Lose wisdom X`09`0919`09Lose experience X`09`0920`09Aggravation X`09`0921`09Disenchants X`09`0922`09Eats food X`09`0923`09Eats light X`09`0924`09Eats charges X`09`0925`09Lose charisma X`09`0926`09Petrification X`09`0927`09POISON poison X`09`0999`09Blank X`20 X`09`09Attack descriptions: X`09`091`09hits you. X`09`092`09bites you. X`09`093`09claws you. X`09`094`09stings you. X`09`095`09touches you. X`09`096`09kicks you. X`09`097`09gazes at you. X`09`098`09breathes on you. X`09`099`09spits on you. X`09`0910`09makes a horrible wail. X`09`0911`09embraces you. X`09`0912`09crawls on you. X`09`0913`09releases a cloud of spores. X`09`0914`09begs you for money. +-+-+-+-+-+-+-+- END OF PART 102 +-+-+-+-+-+-+-+-