lprcat
lprcat(spelcode[j]);
lprcat("\n\nFor the c[] array:\n");
lprcat("\n\nTest of random number generator ----------------");
lprcat("\n for 25,000 calls divided into 16 slots\n\n");
lprcat("\n\n");
lprcat("Done Diagnosing . . .");
lprcat("\nRestoring . . .");
lprcat("Sorry, But your save file is for an older version of larn\n");
lprcat("\n\nI am so sorry, but your character is a little TOO good! Since this\n");
lprcat("cannot normally happen from an honest game, I must assume that you cheated.\n");
lprcat("In that you are GREEDY as well as a CHEATER, I cannot allow this game\n");
lprcat("to continue.\n");
lprcat("\ndiagnostic failure\n");
lprcat("\nSorry, but your savefile has been altered.\n");
lprcat("However, seeing as I am a good sport, I will let you play.\n");
lprcat("Be advised though, you won't be placed on the normal scoreboard.");
lprcat("\nSorry, but your savefile can't be deleted. This can only mean\n");
lprcat("that you tried to CHEAT by protecting the directory the savefile\n");
lprcat("is in. Since this is unfair to the rest of the larn community, I\n");
lprcat("cannot let you play this game.\n");
lprcat("\n\nBeginning of DIAG diagnostics ----------\n");
lprcat("\f\nHere's the dungeon:\n\n");
lprcat("\f\nNow for the monster data:\n\n");
lprcat(" Monster Name LEV AC DAM ATT DEF GOLD HP EXP \n");
lprcat("--------------------------------------------------------------------------\n");
lprcat("\n\nHere's a Table for the to hit percentages\n");
lprcat("\n We will be assuming that players level = 2 * monster level");
lprcat("\n and that the players dexterity and strength are 16.");
lprcat("\n to hit: if (rnd(22) < (2[monst AC] + your level + dex + WC/8 -1)/2) then hit");
lprcat("\n damage = rund(8) + WC/2 + STR - c[HARDGAME] - 4");
lprcat("\n to hit: if rnd(22) < to hit then player hits\n");
lprcat("\n Each entry is as follows: to hit / damage / number hits to kill\n");
lprcat("\n monster WC = 4 WC = 20 WC = 40");
lprcat("\n---------------------------------------------------------------");
lprcat("\n\nHere's the list of available potions:\n\n");
lprcat("\n\nHere's the list of available scrolls:\n\n");
lprcat("\n\nHere's the spell list:\n\n");
lprcat("spell name description\n");
lprcat("-------------------------------------------------------------------------------------------\n\n");
lprcat(class[c[LEVEL] - 1]);
lprcat(" ?");
lprcat(levelname[(int)level]);
lprcat(bot_data[i].string);
lprcat(" ");
lprcat(bot_data[i].string);
lprcat("The magic spells you have discovered thus far:\n\n");
lprcat("\nThe magic scrolls you have found to date are:\n\n");
lprcat("\nThe magic potions you have found to date are:\n\n");
lprcat(" ?");
lprcat(levelname[(int)level]);
lprcat("\n");
lprcat("Failure in positionplayer\n");
lprcat("\n\nDo you really want to quit?");
lprcat(" no");
lprcat("\n");
lprcat("Yes");
lprcat(" or ");
lprcat("No");
lprcat(" please? Do you want to quit? ");
lprcat("\n --- press ");
lprcat(" to continue --- ");
lprcat("\nYou pick up:");
lprcat("\nYou can't carry anything else");
lprcat("\nThere's something here already");
lprcat("\n You drop:");
lprcat("\nYou feel a sense of loss");
lprcat("\nYou feel a sense of loss");
lprcat("\nEnter Password: ");
lprcat("\nSorry\n");
void lprcat(const char *);
#define setbold() (lprcat(boldon?"\33[1m":"\33[7m"))
#define resetbold() (lprcat("\33[m"))
#define setscroll() (lprcat("\33[20;24r"))
#define resetscroll() (lprcat("\33[;24r"))
#define clear() (lprcat("\33[2J\33[f"), cbak[SPELLS]= -50)
#define cltoeoln() lprcat("\33[K")
lprcat(lgetl()); /* print out each line that we read in */
lprcat(tmbuf);
lprcat(" ---- Press ");
lprcat(" to exit, ");
lprcat(" for more help ---- ");
lprcat(lgetl());/* print out each line that we read in */
lprcat(tmbuf);
lprcat("Press ");
lprcat(" to continue: ");
lprcat("\33[2K");
lprcat("\33[1J\33[2K");
lprcat("\33[J\33[2K");
lprcat("\nYou're already wearing some armor");
lprcat("\nYou are already wearing a shield");
lprcat("\nYour hands are busy with the two handed sword!");
lprcat("\nYou can't wear that!");
lprcat("\nThere's something here already!");
lprcat("\n\n");
lprcat("How much gold do you drop? ");
lprcat("\nYou don't have that much!");
lprcat("\nThere's nothing on it to read");
lprcat("\nThe cookie was delicious.");
lprcat(" Inside you find a scrap of paper that says:\n");
lprcat(p);
lprcat("\nYou can't eat that!");
lprcat("\nYou wouldn't want to quaff that, would you? ");
lprcat(" aborted");
lprcat(" aborted");
lprcat("Sorry, Larn needs a VT100 family terminal for all its features.\n");
lprcat("Preparing to initialize the scoreboard.\n");
lprcat(" (weapon in hand)");
lprcat(" (being worn)");
lprcat("\nYou can't read anything when you're blind!");
lprcat("Saving . . .");
lprcat("\nAs yet, you don't have enough experience to use teleportation");
lprcat("\nIts ");
lprcat(objectname[(int)item[i][j]]);
lprcat("\nNo traps are visible");
lprcat("Sorry, you are not empowered to be a wizard.\n");
lprcat("\nYour shield is off");
lprcat("\nYour armor is off");
lprcat("\nYou aren't wearing anything");
lprcat(" Wizard");
lprcat(" Cheater");
lprcat(copyright);
lprcat("\nYou do not owe any taxes.");
lprcat("\nBut one arm is busy with your shield!");
lprcat(" There wasn't anything there!");
lprcat("\nYou hit");
lprcat("\nYou missed");
lprcat(" the ");
lprcat(lastmonst);
lprcat(" nothing");
lprcat("\nYou hear loud screams of agony!");
lprcat("\nAs the cancellation takes effect, you hear a great earth shaking blast!");
lprcat("\nTwo spheres of annihilation collide! You hear a great earth shaking blast!");
lprcat("\nYou have been enveloped by the zone of nothingness!\n");
lprcat("\nYou were too close to the sphere!");
lprcat("\nGenocide what monster? ");
lprcat(" You sense failure!");
lprcat("\nYou don't have any spells!");
lprcat(eys);
lprcat(eys);
over: lprcat(aborted);
lprcat(" Nothing Happened ");
lprcat(" It didn't seem to work");
lprcat(" It didn't work!");
lprcat(" Nothing happens. You seem inexperienced at this");
lprcat(" It didn't believe the illusions!");
lprcat("\nYour heart stopped!\n");
lprcat(" It didn't work");
lprcat("\nYou have been enveloped by the zone of nothingness!\n");
lprcat(" Nothing seems to have happened");
lprcat(" The demon turned on you and vanished!");
lprcat(" You can't aim your magic!");
lprcat("You fall asleep! ");
lprcat("You get stuck in your own web! ");
lprcat(" There wasn't anything there!");
lprcat("\nYou are hit my your own magic!");
lprcat(" The wall crumbles");
lprcat(" The door is blasted apart");
lprcat(" The statue crumbles");
lprcat(" There wasn't anything there!");
lprcat("\nIn What Direction? ");
lprcat("\nnothing happens");
lprcat("\nnothing happens");
lprcat("\nYou have been heard!");
lprcat("\nDo you (p) pry off jewels, (s) sit down");
lprcat(" pry off");
lprcat("\nnothing happens");
lprcat(" sit down");
lprcat("\nZaaaappp! You've been teleported!\n");
lprcat("\nnothing happens");
lprcat("\nDo you (s) sit down");
lprcat(" sit down");
lprcat("\nZaaaappp! You've been teleported!\n");
lprcat("\nnothing happens");
lprcat("\nDo you (t) take it, (o) try to open it");
lprcat(" open it");
lprcat("\nThe chest explodes as you open it");
lprcat("\nYou feel an irritation spread over your skin!");
lprcat("\nYou begin to lose hand to eye coordination!");
lprcat("\nA sickness engulfs you!");
lprcat("\nnothing happens");
lprcat("\nDo you (p) pray (d) desecrate");
lprcat(" take");
lprcat("\nDo you (d) drink, (w) wash yourself");
lprcat("drink");
lprcat("\nOops! You seem to have caught the dreadful sleep!");
lprcat("\nYou feel a sickness coming on");
lprcat("\nnothing seems to have happened");
lprcat("\nThe fountains bubbling slowly quiets");
lprcat(" pray\nDo you (m) give money or (j) just pray? ");
lprcat("wash yourself");
lprcat("\nYou got the dirt off!");
lprcat("\nThis water seems to be hard water! The dirt didn't come off!");
lprcat("\nnothing seems to have happened");
lprcat(" went down by one!");
lprcat(" went up by one!");
lprcat("\nnothing happens");
lprcat("Your strength");
lprcat("Your intelligence");
lprcat("Your wisdom");
lprcat("Your constitution");
lprcat("Your dexterity");
lprcat("Your charm");
lprcat("s!");
lprcat("s!");
lprcat("\nYou feel your armor vibrate for a moment");
lprcat("s!");
lprcat("s!");
lprcat("s!");
lprcat("s!");
lprcat("\nYou feel your weapon vibrate for a moment");
lprcat("\n\n");
lprcat("how much do you donate? ");
lprcat("\nYou don't have that much!");
lprcat("\nYou feel your armor vibrate for a moment");
lprcat("\nYou feel your weapon vibrate for a moment");
lprcat("\nThank You.");
lprcat(" desecrate");
lprcat("\nThe altar crumbles into a pile of dust before your eyes");
lprcat("\nYou have been granted enlightenment!"); /* magic mapping */
lprcat("\n\nYou're standing at the top of a pit.");
lprcat("\n\nThere is a circular staircase here");
lprcat("\nYou fell into a pit! Your fall is cushioned by an unknown force\n");
lprcat("\nYou fell into a bottomless pit!");
lprcat("\nDo you ");
lprcat("(r) read it, ");
lprcat("\n\nYou feel heavy for a moment, but the feeling disappears");
lprcat("(t) take it");
lprcat("read");
lprcat("take");
lprcat("\nYour int went up by one!");
lprcat("\nDo you (e) eat it, (t) take it");
lprcat("eat\nThe cookie tasted good.");
lprcat(" A message inside the cookie reads:\n");
lprcat(p);
lprcat("\n\nThere is a fountain here");
lprcat("take");
lprcat("Congratulations. You found a potion of cure dianthroritis.\n");
lprcat("\nFrankly, No one thought you could do it. Boy! Did you surprise them!\n");
lprcat("\nThe doctor has the sad duty to inform you that your daughter died!\n");
lprcat("You didn't make it in time. In your agony, you kill the doctor,\nyour wife, and yourself! Too bad!\n");
lprcat("\nThe doctor is now administering the potion, and in a few moments\n");
lprcat("Your daughter should be well on her way to recovery.\n");
lprcat("\nThe potion is");
lprcat(" working! The doctor thinks that\n");
lprcat("your daughter will recover in a few days. Congratulations!\n");
lprcat("\nThe doctor has the sad duty to inform you that your daughter died!\n");
lprcat("You didn't make it in time. In your agony, you kill the doctor,\nyour wife, and yourself! Too bad!\n");
lprcat("\n\nYou are standing in front of a statue");
lprcat("\nThe diagnosis is confirmed as dianthroritis. He guesses that\n");
lprcat("potion of cure dianthroritis. It is rumored that only deep in the\n");
lprcat("depths of the caves can this potion be found.\n\n\n");
lprcat("\n ----- press ");
lprcat(" to continue, ");
lprcat(" to leave ----- ");
lprcat(", or (i) ignore it? ");
lprcat("ignore\n");
lprcat("\n\nThere is a chest here");
lprcat("\nZaaaappp! You've been teleported!\n");
lprcat("\n\nYou have found the College of Larn.");
lprcat("\nDo you (g) go inside, or (i) stay here? ");
lprcat(" stay here");
lprcat("\n\nThere is a mirror here");
lprcat("\n\nYou have found the bank of Larn.");
lprcat("\n\nYou have found a branch office of the bank of Larn.");
lprcat("\nDo you (g) go inside, or (i) stay here? ");
lprcat(" stay here");
lprcat("\n\nThere is a dead fountain here");
lprcat("\n\nThere is a DND store here.");
lprcat("\nDo you (g) go inside, or (i) stay here? ");
lprcat(" stay here");
lprcat("\n\nThere is a circular staircase here");
lprcat("\n\nYou feel light for a moment, but the feeling disappears");
lprcat("\nDo you (c) close it");
lprcat("close");
lprcat("\nDo you (o) try to open it");
lprcat("open");
lprcat("\nYou are jolted by an electric shock ");
lprcat("\nYou suddenly feel weaker ");
lprcat("\nYou have found ");
lprcat(objectname[OENTRANCE]);
lprcat("\nDo you (g) go inside");
lprcat("\nYou have found ");
lprcat(objectname[OVOLDOWN]);
lprcat("\nDo you (c) climb down");
lprcat("\nThe shaft only extends 5 feet downward!");
lprcat("\nYou slip and fall down the shaft");
lprcat("climb down");
lprcat("\nYou have found ");
lprcat(objectname[OVOLUP]);
lprcat("\nDo you (c) climb up");
lprcat("\nThe shaft only extends 8 feet upwards before you find a blockage!");
lprcat("\nYou slip and fall down the shaft");
lprcat("climb up");
lprcat("\nYou are hit by an arrow");
lprcat("\nYou are hit by a dart");
lprcat("\n\nYou have found some gold!");
lprcat("\nYou fell through a bottomless trap door!");
lprcat("\nYou fall through a trap door!");
lprcat("\nYou have found the Larn trading Post.");
lprcat("\nDo you (g) go inside, or (i) stay here? ");
lprcat("stay here");
lprcat("\nYou have found your way home.");
lprcat("\nDo you (g) go inside, or (i) stay here? ");
lprcat("\n\nYou have found a magic potion");
lprcat("stay here");
lprcat("\n\nThere is an LRS office here.");
lprcat("\nDo you (g) go inside, or (i) stay here? ");
lprcat(" stay here");
lprcat("\nDo you want to (t) take it");
lprcat("take");
lprcat("\n\nYou have found a magic scroll");
lprcat("\nDo you (s) stay here ");
lprcat("(u) go up ");
lprcat("(d) go down ");
lprcat("or (f) kick stairs? ");
lprcat("stay here");
lprcat("kick stairs");
lprcat("\nI hope you feel better. Showing anger rids you of frustration.");
lprcat("go up");
lprcat("\nThe stairs don't go up!");
lprcat("\nThe stairs lead to a dead end!");
lprcat("go down");
lprcat("\nThe stairs don't go down!");
lprcat("\nThe stairs lead to a dead end!");
lprcat("\nDo you (d) drink it, (t) take it");
lprcat("\n\nThere is a Holy Altar here!");
lprcat("drink\n");
lprcat("take\n");
lprcat("\nYou feel greedy . . .");
lprcat("\nYou feel greedy . . .");
lprcat("\n\nYou have found a book.");
lprcat("\nYou feel better");
lprcat("\nSuddenly, you feel much more skillful!");
lprcat("\nYou feel strange for a moment");
lprcat("\nYou feel more self confident!");
lprcat("\nWow! You feel great!");
lprcat("\nYour charm went up by one!");
lprcat("\n\nYou have found a fortune cookie.");
lprcat("\nYour intelligence went up by one!");
lprcat("\nThis potion has no taste to it");
lprcat("\nWOW!!! You feel Super-fantastic!!!");
lprcat("\nYou have a greater intestinal constitude!");
lprcat("\nYou now have incredibly bulging muscles!!!");
lprcat("\nYou feel a chill run up your spine!");
lprcat("\nYou fall asleep. . .");
lprcat("\nYou woke up!");
lprcat("\nYou become dizzy!");
lprcat("\nYou stagger for a moment . .");
lprcat("\nYou can't see anything!"); /* blindness */
lprcat("\nYou feel confused");
lprcat("\nYou don't seem to be affected");
lprcat("\nYou feel a sickness engulf you"); /* poison */
lprcat("\nYou feel your vision sharpen"); /* see invisible */
lprcat("\nDo you ");
lprcat("(r) read it, ");
lprcat("(t) take it");
lprcat("read");
lprcat("take");
lprcat("\nYour armor glows for a moment");
lprcat("\nYour weapon glows for a moment");
lprcat("\nYou have been granted enlightenment!");
lprcat("\nThis scroll seems to be blank");
lprcat("\n\nYou have found the Orb!!!!!");
lprcat("\nYou now feel better ");
lprcat("\nYou feel your vision return to normal");
lprcat("\nThe hysteria of itching forces you to remove your armor!");
lprcat("\nYou now feel the irritation subside!");
lprcat("\nYou now feel less awkward!");
lprcat("\nThe blindness lifts ");
lprcat("\nYou regain your senses");
lprcat("Can't read scoreboard\n");
lprcat("Can't write scoreboard\n");
lprcat("\n Score Difficulty Time Needed Larn Winners List\n");
lprcat("\n Score Difficulty Larn Visitor Log\n");
lprcat("\n\n");
lprcat(esb);
lprcat(esb);
lprcat("\nYou feel wiiieeeeerrrrrd all over! ");
lprcat("\nCan't open record file: I can't post your score.\n");
lprcat("Press ");
lprcat("return");
lprcat(" to continue: ");
lprcat("Welcome to the Larn Thrift Shoppe. We stock many items explorers find useful\n");
lprcat(" in their adventures. Feel free to browse to your hearts content.\n");
lprcat("Also be advised, if you break 'em, you pay for 'em.");
lprcat("You have ");
lprcat("\nYou can't carry anything more!");
lprcat("\nSorry, but we are out of that item.");
lprcat("\nYou don't have enough gold to pay for that!");
lprcat("\n\nThe Larn Revenue Service has ordered us to not do business with tax evaders.\n");
lprcat("comply with the law, we cannot serve you at this time. Soo Sorry.\n");
lprcat("\nPress ");
lprcat(" to leave: ");
lprcat("\nEnter your transaction [");
lprcat(" for more, ");
lprcat(" to leave]? ");
lprcat("potion of ");
lprcat("scroll of ");
lprcat("The College of Larn offers the exciting opportunity of higher education to\n");
lprcat("all inhabitants of the caves. Here is a list of the class schedule:\n\n\n");
lprcat("\t\t Course Name \t Time Needed\n\n");
lprcat("\t\ta) Fighters Training I 10 mobuls"); /* line 7 of crt */
lprcat("\t\tb) Fighters Training II 15 mobuls");
lprcat("\t\tc) Introduction to Wizardry 10 mobuls");
lprcat("\t\td) Applied Wizardry 20 mobuls");
lprcat("\t\te) Behavioral Psychology 10 mobuls");
lprcat("\t\tf) Faith for Today 10 mobuls");
lprcat("\t\tg) Contemporary Dance 10 mobuls");
lprcat("\t\th) History of Larn 5 mobuls");
lprcat("\n\n\t\tAll courses cost 250 gold pieces.");
lprcat("You are presently carrying ");
lprcat("\nWhat is your choice [");
lprcat(" to leave] ? ");
lprcat("\nSorry, but that class is filled.");
lprcat("\nYou feel stronger!");
lprcat("\nSorry, but this class has a prerequisite of Fighters Training I");
lprcat("\nYou feel much stronger!");
lprcat("\nThe task before you now seems more attainable!");
lprcat("\nSorry, but this class has a prerequisite of Introduction to Wizardry");
lprcat("\nThe task before you now seems very attainable!");
lprcat("\nYou now feel like a born leader!");
lprcat("\nYou now feel more confident that you can find the potion in time!");
lprcat("\nYou feel like dancing!");
lprcat("\nYour instructor told you that the Eye of Larn is rumored to be guarded\n");
lprcat("by a platinum dragon who possesses psionic abilities. ");
lprcat(str);
lprcat("\n\nThe Larn Revenue Service has ordered that your account be frozen until all\n");
lprcat("taxes, and we must comply with them. We cannot serve you at this time. Sorry.\n");
lprcat("We suggest you go to the LRS office and pay your taxes.\n");
lprcat("\nPress ");
lprcat(" to leave: ");
lprcat("\n\n\tGemstone\t Appraisal\t\tGemstone\t Appraisal");
lprcat("\nNote: Larndom law states that only deposits under 500,000gp can earn interest.");
lprcat("\nYour wish? [(");
lprcat(") deposit, (");
lprcat(") withdraw, (");
lprcat(") sell a stone, or ");
lprcat("] ");
lprcat("deposit\nHow much? ");
lprcat(" You don't have that much.");
lprcat("withdraw\nHow much? ");
lprcat("\nYou don't have that much in the bank!");
lprcat("\nWhich stone would you like to sell? ");
lprcat("Welcome to the Larn Trading Post. We buy items that explorers no longer find\n");
lprcat("useful. Since the condition of the items you bring in is not certain,\n");
lprcat("and we incur great expense in reconditioning the items, we usually pay\n");
lprcat("only 20% of their value were they to be new. If the items are badly\n");
lprcat("damaged, we will pay only 10% of their new value.\n\n");
lprcat("\nWhat item do you want to sell to us [");
lprcat(" for list, or ");
lprcat("] ? ");
lprcat("yes\n");
lprcat("no thanks.\n");
lprcat("\nSo sorry, but we are not authorized to accept that item.");
lprcat("\nSorry, we can't accept unidentified objects.");
lprcat("Welcome to the Larn Revenue Service district office. How can we help you?");
lprcat("\n\nYour wish? [(");
lprcat(") pay taxes, or ");
lprcat("] ");
lprcat("pay taxes\nHow much? ");
lprcat(" You don't have that much.\n");
lprcat("You do not owe us any taxes. ");
lprcat("You have no gold pieces. ");
lprcat("\nSorry, but it is now time for work. Your game has been saved.\n");