⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rogue.me

📁 早期freebsd实现
💻 ME
📖 第 1 页 / 共 2 页
字号:
(one on each hand).If you aren't wearing any rings,this command will ask you which hand you want to wear it on,otherwise, it will place it on the unused hand.The program assumes that you wield your sword in your right hand..ip RRemove a ring.If you are only wearing one ring,this command takes it off.If you are wearing two,it will ask you which one you wish to remove,.ip dDrop an object.Take something out of your pack and leave it lying on the floor.Only one object can occupy each space.You cannot drop a cursed object at allif you are wielding or wearing it..ip cCall an object something.If you have a type of object in your packwhich you wish to remember something about,you can use the call command to give a name to that type of object.This is usually used when you figure out what apotion, scroll, ring, or staff isafter you pick it up but before it is truly identified.  Each type ofscroll and potion will become identified after its first use..ip oExamine and set options.This command is further explained in the section on options..ip ^RRedraws the screen.Useful if spurious messages or transmission errorshave messed up the display..ip ^PPrint last message.Useful when a message disappears before you can read it.Consecutive repetitions of this command will reveal the lastfive messages..ip \*ECancel a command, prefix, or count..ip !Escape to a shell for some commands..ip QQuit.Leave the game..ip SSave the current game in a file.It will ask you whether you wish to use the default save file..i Caveat :Rogue won't let you start up a copy of a saved game,and it removes the save file as soon as you start up a restored game.This is to prevent people from saving a game just before a dangerous positionand then restarting it if they die.To restore a saved game,give the file name as an argument to rogue.As in.ti +1i.nf% rogue \fIsave\*_file\fP.ip vPrints the program version number..ip )Print the weapon you are currently wielding.ip ]Print the armor you are currently wearing.ip =Print the rings you are currently wearing.sh 1 Rooms.ppRooms in the dungeons are lit as you enter them.Upon leaving a room,all monsters inside the room are erased from the screen.In the darkness of a corridor, you can only see one spacein all directions around you..sh 1 Fighting.ppIf you see a monster and you wish to fight it,just attempt to run into it.Many times a monster you find will mind its own businessunless you attack it.It is often the case that discretion is the better part of valor..sh 1 "Objects you can find".ppWhen you find something in the dungeon,it is common to want to pick the object up.This is accomplished in rogue by walking over the object(unless you use the.Cs mprefix, see above).If you are carrying too many things,the program will tell you and it won't pick up the object,otherwise it will add it to your packand tell you what you just picked up..ppMany of the commands that operate on objects must prompt youto find out which object you want to use.If you change your mind and don't want to do that command after all,just type an \*E and the command will be aborted..ppSome objects, like armor and weapons,are easily differentiated.Others, like scrolls and potions,are given labels which vary according to type.During a game,any two of the same kind of objectwith the same labelare the same type.However,the labels will vary from game to game..ppWhen you use one of these labeled objects,if its effect may be obvious.  Potions or scrolls willbecome identified at this point, but not other items.You may want to call these other items somethingso you will recognize it later,you can use the.Cs callcommand(see above)..sh 2 Weapons.ppSome weapons,like arrows,come in bunches,but most come one at a time.In order to use a weapon,you must wield it.To fire an arrow out of a bow,you must first wield the bow,then throw the arrow.You can only wield one weapon at a time,but you can't change weapons if the oneyou are currently wielding is cursed.The commands to use weapons are.Cs w(wield)and.Cs t(throw)..sh 2 Armor.ppThere are various sorts of armor lying around in the dungeon.Some of it is enchanted,some is cursed,and some is just normal.Different armor types have different armor protection.The higher the armor protection,the more protection the armor affords against the blows of monsters.Here is a list of the various armor types and their normal armor protection:.(b.TSbox center;l r.\ \ \fIType	Protection\fPNone	0Leather armor	2Studded leather / Ring mail	3Scale mail	4Chain mail	5Banded mail / Splint mail	6Plate mail	7.TE.)b.lpIf a piece of armor is enchanted,its armor protection will be higher than normal.If a suit of armor is cursed,its armor protection will be lower,and you will not be able to remove it.However, not all armor with a protection that is lower than normal is cursed..ppThe commands to use weapons are.Cs W(wear)and.Cs T(take off)..sh 2 Scrolls.ppScrolls come with titles in an unknown tongue\**..(f\** Actually, it's a dialect spoken only by the twenty-seven membersof a tribe in Outer Mongolia,but you're not supposed to.i knowthat..)fAfter you read a scroll,it disappears from your pack.The command to use a scroll is.Cs r(read)..sh 2 Potions.ppPotions are labeled by the color of the liquid inside the flask.They disappear after being quaffed.The command to use a scroll is.Cs q(quaff)..sh 2 "Staves and Wands".ppStaves and wands do the same kinds of things.Staves are identified by a type of wood;wands by a type of metal or bone.They are generally things you want to do to somethingover a long distance,so you must point them at what you wish to affectto use them.Some staves are not affected by the direction they are pointed, though.Staves come with multiple magic charges,the number being random,and when they are used up,the staff is just a piece of wood or metal..ppThe command to use a wand or staff is.Cs z(zap).sh 2 Rings.ppRings are very useful items,since they are relatively permanent magic,unlike the usually fleeting effects of potions, scrolls, and staves.Of course,the bad rings are also more powerful.Most rings also cause you to use up food more rapidly,the rate varying with the type of ring.Rings are differentiated by their stone settings.The commands to use rings are.Cs P(put on)and.Cs R(remove)..sh 2 Food.ppFood is necessary to keep you going.If you go too long without eating you will faint,and eventually die of starvation.The command to use food is.Cs e(eat)..sh 1 Options.ppDue to variations in personal tastesand conceptions of the way rogue should do things,there are a set of options you can setthat cause rogue to behave in various different ways..sh 2 "Setting the options".ppThere are two ways to set the options.The first is with the.Cs ocommand of rogue;the second is with the.Cs ROGUEOPTSenvironment variable\**..(f\** On Version 6 systems,there is no equivalent of the ROGUEOPTS feature..br.)f.br.sh 3 "Using the `o' command".ppWhen you type.Cs oin rogue,it clears the screenand displays the current settings for all the options.It then places the cursor by the value of the first optionand waits for you to type.You can type a \*Rwhich means to go to the next option,a.Cs \-which means to go to the previous option,an \*Ewhich means to return to the game,or you can give the option a value.For boolean options this merely involves typing.Cs tfor true or.Cs ffor false.For string options,type the new value followed by a \*R..sh 3 "Using the ROGUEOPTS variable".ppThe ROGUEOPTS variable is a stringcontaining a comma separated list of initial valuesfor the various options.Boolean variables can be turned on by listing their nameor turned off by putting a.Cs noin front of the name.Thus to set up an environment variable so that.b jumpis on,.b passgois off,and the.b nameis set to \*(lqBlue Meanie\*(rq,use the command.nf.ti +3n% setenv ROGUEOPTS "jump,nopassgo,name=Blue Meanie"\**.fi.(f\**For those of you who use the Bourne shell sh (1), the commands would be.in +3.nf$ ROGUEOPTS="jump,nopassgo,name=Blue Meanie"$ export ROGUEOPTS.fi.in +0.)f.sh 2 "Option list".ppHere is a list of the optionsand an explanation of what each one is for.The default value for each is enclosed in square brackets.For character string options,input over forty characters will be ignored..ip "\fBjump\fP [\fI\^nojump\^\fP]"If this option is set,running moves will not be displayeduntil you reach the end of the move.This saves considerable cpu and display time.This option defaults to.i jumpif you are using a slow terminal..ip "\fBpassgo\fP [\fI\^nopassgo\^\fP]"Follow turnings in passageways.If you run in a passageand you run into stone or a wall,rogue will see if it can turn to the right or left.If it can only turn one way,it will turn that way.If it can turn either or neither,it will stop.This algorithm can sometimes lead to slightly confusing occurrenceswhich is why it defaults to \fInopassgo\fP..ip "\fBskull\fP [\fI\^skull\^\fP]"Print out the skull at the end if you get killed.This is nice but slow, so you can turn it off if you like..ip "\fBname\fP [account name]"This is the name of your character.It is used if you get on the top ten scorer's list..ip "\fBfruit\fP [\fI\^slime-mold\^\fP]"This should hold the name of a fruit that you enjoy eating.It is basically a whimsey that rogue uses in a couple of places..ip "\fBfile\fP [\fI\^~/rogue.save\^\fP]"The default file name for saving the game.If your phone is hung up by accident,rogue will automatically save the game in this file.The file name may start with the special character.Cs ~which expands to be your home directory..sh 1 Scoring.ppRogue maintains a listof the top scoring people or scores on your machine.If you score higher than someone else on this list,or better your previous score on the list,you will be inserted in the proper placeunder your current name..ppIf you quit the game, you get out with all of your gold intact.If, however, you get killed in the Dungeons of Doom,your body is forwarded to your next-of-kin,along with 90% of your gold;ten percent of your gold is kept by the Dungeons' wizard as a fee\**..(f\** The Dungeon's wizard is named Wally the Wonder Badger.Invocations should be accompanied by a sizable donation..)fThis should make you consider whether you want to take one last hitat that monster and possibly live,or quit and thus stop with whatever you have.If you quit, you do get all your gold,but if you swing and live, you might find more..ppIf you just want to see what the current top players/games list is,you can type.ti +1i.nf% rogue \-s.br.sh 1 Acknowledgements.ppRogue was originally conceived of by Glenn Wichman and Michael Toy.Ken Arnold and Michael Toy then smoothed out the user interface,and added jillions of new features.We would like to thankBob Arnold,Michelle Busch,Andy Hatcher,Kipp Hickman,Mark Horton,Daniel Jensen,Bill Joy,Joe Kalash,Steve Maurer,Marty McNary,Jan Miller,andScott Nelsonfor their ideas and assistance;and also the teeming multitudeswho graciously ignored work, school, and social life to play rogueand send us bugs, complaints, suggestions, and just plain flames.And also Mom..ppThe public domain version of rogue now distributed with Berkeley UNIXwas written by Timothy Stoehr.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -