-+-+-+-+-+-+-+-+ START OF PART 20 -+-+-+-+-+-+-+-+ X4.) %X'00000008' Indentify`09 Armor -ac`09 Rest. Int`09Invulnerabe X5.) %X'00000010' Remove Curse Summon Mutant Change Wis`09Heroism X6.) %X'00000020' Light`09 Bless 12`09 Rest. Wis`09Super Hero X7.) %X'00000040' Summon Mst. Bless 24`09 Change Dex`09Remove Fear X8.) %X'00000080' Teleport 10 Bless 48`09 Rest. Dex`09Restore Exp X9.) %X'00000100' Teleport 100 Recall`09 Change Con`09Resist Heat X10.) %X'00000200' Blank Disk Destroy Area Rest. Con`09Resist Cold X11.) %X'00000400' Confuse Mst. Random Wierd Change Chr`09Det. Invisibl Ve X12.) %X'00000800' Map Area`09 Summon Monst. Rest. Chr`09Slow Poison X13.) %X'00001000' Sleep Mst. Ring of Fire Heal 2d7`09Cure Poison X14.) %X'00002000' Warding Glyph Ring of Frost Heal 4d7`09Restore Rsrc. X15.) %X'00004000' Det. Treasure`09`09 Heal 6d7`09Infravision X16.) %X'00008000' Det. Object`09`09 Heal 1000`09Gain Hp. X17.) %X'00010000' Det. Trap`09`09`09`09`09Gain Rsrc. X18.) %X'00020000' Det. Sec. Door`09`09 Gain Exp.`09Longevity X19.) %X'00040000' Mass Genocide`09`09 Sleep(paralysis) X20.) %X'00080000' Det. Invisible`09`09 Blindness X21.) %X'00100000' Aggravate Mst.`09`09 Confusion X22.) %X'00200000' Create Traps`09`09 Poison X23.) %X'00400000' Remove Trp,Door`09`09 Haste Self X24.) %X'00800000' Create Doors`09`09 Slowness X25.) %X'01000000' Recharge Item`09`09 Det. Monster X26.) %X'02000000' Genocide`09`09`09 `20 X27.) %X'04000000' Darkness`09`09`09 `20 X28.) %X'08000000' Prot. Scum`09`09 `20 X29.) %X'10000000' Create Food`09`09 Cure Blind X30.) %X'20000000' Dispell Mutant`09`09 Cure Confuse X31.) %X'40000000' Blank Disk`09`09 Cure Poison X $ CALL UNPACK [.ETC]ITEMFLAGS.DOC;1 254551453 $ create 'f' XThis file is your key to adding objects to the object list data file. XBelow is the format each entry in the list should have. Following that are Xthe meanings associated with all the special codes related to object Xdefinitions. Look at some examples from objects.dat to get the hang of it. X XNote: Much of this is a kluge. It's not our fault, we didn't design the Xsystem, we just played along. The tvals and subvals are totally arbitrary. XSo don't mess with them unless you *know* what they mean. You can create a Xlot of very hard to find bugs by misassigning tvals or subvals on an item. XAmmo for guns and Laser weapons is a particularly difficult subject. X X---------------------------------------- Xname Xflags Xt-value subvalue cost weight number level Xp1 tohit todam ac toac Xdamage Xcharacter X---------------------------------------- X X Descriptor : Name of item and formats. X%P1 is replaced with P1 (see below). %M is replaced with a random metal. X%P2 is replaced with plus-to-hit. %R is replaced with a random rock. X%P3 is replaced with plus-to-damage. %C is replaced with a random color. X%P4 is replaced with plus-to-AC. %W is replaced with a random wood. X%P5 is replaced with P1, no sign. %P6 is replaced with AC X& is replaced with 'a', 'an', or a number. X`7E is replaced with null or 's'. X X Type value (tval): Value representing the type of object. X types 15-45 can be wielded. X`09 types 101+ cannot be picked up. X Character : Character that represents the item. X1 `7E Miscellaneous Object. 65 - ray gun. X2 & chest. `20 X3 $ coupon`09`09`09`0970 ?`09floppy. X4 ; corpse X9 `7B Laser power packs X10 `7B shotgun ammo.`09`09`0971 ? floppy. continued X11 `7B 45cal ammo.`09`09`0975 ! potion. X12 `7B 9mm ammo.`09`09`0976 ! potion. continued X13 `7E spike. 77 ! flask of oil. X15 `7E Lantern or Flashlight. 80 , food. X20 `7D guns`09`09`09`0990 ? Tech Manual. X21 `7C assorted weapons 82 Thrown 91 ? Prayer Book. X29 % computer`09 84 Grenades 92 ? Trick Manual. X23 / sports equipment. X25 \ digging tools. 100 $ valuable metals. X30 `5D boots. 100 * valuable gems. X31 `5D gloves and gauntlets. 101 . Unseen trap. X32 ( Cloak/Raincoat 102 `5E Seen trap. X33 `5D helm. 103 : Rubble. X34 ) shield. 104 ' Open door. X35 `5B hard armor. 105 + Closed door. X36 ( soft armor. 107 < Up staircase. X40 " amulet. 108 > Down staircase. X45 = ring. 109 # Secret door. X55 _ alien device. 110 Entrance to store. X60 - rod(not used yet.) 111 B Black Market Trap (store) X`09`09`09`09`09120 Building door`20 X Flags : Abilities of object. Each abilitiy is a bit. Bits 1-32 X are used. (Signed integer) X`20 XFlags used for anything that can be worn: XBit # Hex # Ability Bit # Hex # Ability X1 00000001 Strength 17 00010000 `20 X2 00000002 Dexterity 18 00020000 `20 X3 00000004 Constitution 19 00040000 Resist Gas X4 00000008 Intelligence 20 00080000 Resist Fire X5 00000010 Wisdom 21 00100000 Resist Acid X6 00000020 Charisma 22 00200000 Resist Cold X7 00000040 Searching 23 00400000 Sustain Stat (P1) X8 00000080 Slow digestion 24 00800000 Free Action X9 00000100 Stealth 25 01000000 See Invisible X10 00000200 Aggravation 26 02000000 Resist Lightning X11 00000400 Teleportation 27 04000000 Feather Fall X12 00000800 Regeneration 28 08000000 Blindness X13 00001000 Speed 29 10000000 Timidness X14 00002000`09`09 30 20000000 `20 X15 00004000`09`09 31 40000000 Infra vision X16 00008000`09`09 32 80000000 Cursed X XFlags used for anything that can be wielded: XBit # Hex # Ability Bit # Hex # Ability X1 00000001 Strength* 17 00010000 Slay Mutant X2 00000002 Dexterity 18 00020000 Cold Brand X3 00000004 Constitution 19 00040000 Flame Brand X4 00000008 Intelligence 20 00080000 Kill Robot X5 00000010 Wisdom 21 00100000 `20 X6 00000020 Charisma 22 00200000 `20 X7 00000040 Searching 23 00400000 Sustain Stat (P1) X8 00000080 Slow digestion 24 00800000 Free Action X9 00000100 Stealth* 25 01000000 See Invisible* X10 00000200 Aggravation 26 02000000 `20 X11 00000400 Teleportation 27 04000000 Feather Fall* X12 00000800 Regeneration* 28 08000000 Blindness X13 00001000 Speed 29 10000000 Timidness X14 00002000 Slay Alien 30 20000000 Tunneling X15 00004000 Slay Creature 31 40000000 Infra vision X16 00008000 Slay Scum 32 80000000 Cursed X`20 X`20 X`20 X P1 : Catch all for magical abilities such as pluses to str, X minuses to searching... X Special Abilities can be added to item by MAGIC_INIT, X found in MISC.INC. X Cost : Relative cost of item. X Sub value : separate value for each item of a type. X If items can be added together then subval > 255 X If items are considered one unit when added together then X subval > 511 X Weight : relative weight of an item. X Number : number of items appearing in group. X To hit : magical pluses to hit. X To damage : magical pluses to damage. X AC : objects relative armor class. X the higher the value the better. X To AC : Magical bonuses to AC. X Damage : amount of damage item can cause. X Level : Minimum level on which item can be found. X`20 XNOTES: Floppies, Potions, and Food: X Flags are used to define a function which running/quaffing X will cause. Most floppies and potions have only one bit X set. Potions will generally have some food value, found X in P1. X`20 X Ray Guns and Alien Devices: X Flags defines a function, P1 contains number of charges X for item. P1 is set in MAGIC_INIT (MISC.INC) X`20 X Chests: X Traps are added randomly by MAGIC.INIT in MISC.INC. X X`09Automatic Weapons: X`09 todam = # of rounds/burst X`09 subval = ammo tval X X`09Guns: X`09 subval = ammo tval X`09 p1 = range X`09 todam = plus to damage X X`09Computers: X`09 subval = 300 + %failure X $ CALL UNPACK [.ETC]OBJECT.DOC;1 1711727395 $ create 'f' X X While playing any game including Boss, the worst can happen: X You can lose connection from the VAX, an unrecoverable error causes the`20 X game to crash, or just in the case where someone turns your terminal off. X `20 X If you saved your character at any time prior to this, then you are in`20 X luck. The save file will normally be 'corrupted' and not usable again, X but a special function available only to your local Boss administrator X can 'un-corrupt' it. X XHere's what you need to do to restore a corrupted save file: X X 1. Send the save file to your local Boss administrator. X Type: SEND/FILE/VMSDUMP filename username-of-admin X X 2. The admin will restore the file and send it back to you. X All you need to do is RECEIVE the file and go back to`20 X playing Boss. X X XHere's what the Boss administrator needs to do: X X 1. RECEIVE the save file. X 2. Make sure your username is in the file WIZARD.DAT X This file should be located in the `5B.BOSS.DAT`5D directory. X 2. While in the Boss directory type @startup to enter the game. X 3. After all the intro stuff is skimmed through, and the town map X appears, type control-p to turn 'wizard' mode on. X 4. Then type control-v X 5. Enter the name of the save file and hit return. X 6. This should repair the save file. X If not, possible errors include: X a. You misspelled the save file name. X b. The file was not sent with the /VMSDUMP qualifier. X c. Something went wrong with the fabric of the space/time continuum. X 7. Next, type control-y to exit the game. X 8. Then send the file back to the user. `20 X Type: SEND/FILE/VMSDUMP filename username X (At this point I often forget who sent the file, so it's a good idea X to rename the file to the same name as the user who sent it right`20 X after you first receive it.) X 9. Be happy! But if you start to get too many restore save file requests X from the same person, be suspicious of cheating. X X X`09`09`09`09 -Robert Gulledge X`09`09`09`09 Univ. of Washington X`09`09`09`09 raoul@max.u.washington.edu $ CALL UNPACK [.ETC]RESTORE.DOC;1 1549218730 $ create 'f' XThings we want to someday maybe add to BOSS if we ever figure out how to do Xthem: X X / X\/- more skills/book. like, lots. use other integer fields in the X treasure record for more flags. what a hack. X / X\/- add new monster/weapon flags: slay robot X X / X\/- add police to the town level that appear if a 'good' person X is attacked. X / X\/- add badguys to defeat at each succesive 500meter level X Player must defeat this badguy before catching bus. X X-- give creatures specific treasure types. X X-- more stuff in the office building. finish the hospital, and the newsin Vc. X implement the critical hit system vs. the player, so that the hospital X is needed. `20 X X-- summon particular monsters (item/monster ability) X X-- make the creatures talk X X-- send in the clones X X-- do-it-yourself storage area - rentable apartment X X-- game film's for some of the more interesting random wierdnesses in the X game. X X-- add anything else worthwhile that comes to mind. X $ CALL UNPACK [.ETC]WISH.LIST;1 1835221613 $ create 'f' X const X`7BNote to the Wizard: X Tweaking these constants can *GREATLY* change the game. X Two years+ of constant tuning have generated these values. X Minor adjustments are encouraged, but you must be very X careful not to unbalance the game. Moria/Boss was meant to be X challenging, not a give away. Many adjustments can cause X cause the game to act strangely, or even cause errors. `7D X`20 X`7B Current version number of Boss `7D X cur_version = 2.40; X X`7B QIOW constants, see $IODEF in STARLET.MLB `7D X X IO$_WRITEVBLK = %B'0000000000110000'; `7B 48D, 0030H `7D X IO$_TTYREADALL= %B'0000000000111010'; `7B 58D, 003AH `7D X IO$M_NOECHO = %B'0000000001000000'; `7B 64D, 0040H `7D X IO$M_NOWAIT = %B'0000000010000000'; `7B 128D, 0080H `7D X IO$M_PURGE = %B'0000100000000000'; `7B 2048D, 0800H`09`7D X X IO$MOR_OUTPUT = IO$_WRITEVBLK; X IO$MOR_INPUT = IO$_TTYREADALL + IO$M_NOECHO; X IO$MOR_DELAY = IO$MOR_INPUT + IO$M_NOWAIT; X IO$MOR_IPURGE = IO$MOR_DELAY + IO$M_PURGE; X`20 X`7B IO bug exists at high baud rates (baud >= 9600). This bug X is believed to be in the device driver. It can be avoided by X hibernating the process a small amount of time before perform- X ing a QIOW read operation. `7D X IO$MOR_IOPAUSE= 5; `7B x/100 secs of sleep before inkey X`20 X ENCRYPTION CONSTANTS `20 X NOTE: These numbers were pulled from the air, and can be `20 X changed. If changed, characters produced from other `20 X versions will fail to restore`7D X X encrypt_seed1 = 342342; X encrypt_seed2 = 342944081; X`20 X`7B DUNGEON SIZE PARAMETERS `7D X max_height = 66; `7B Multiple of 11; >= 22 `7D X max_width = 198; `7B Multiple of 33; >= 66 `7D X screen_height = 22;`09`7B screen is intended to `7D X screen_width = 66;`09`7B show four panels. `7D X`20 X`7B OUTPUT DUNGEON SECTION SIZES `7D +-+-+-+-+-+-+-+- END OF PART 20 +-+-+-+-+-+-+-+-