summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--larn/Makefile4
-rw-r--r--larn/config.c5
-rw-r--r--larn/datfiles/lfortune34
-rw-r--r--larn/header.h4
-rw-r--r--larn/main.c4
-rw-r--r--larn/object.c4
-rw-r--r--larn/pathnames.h3
7 files changed, 10 insertions, 48 deletions
diff --git a/larn/Makefile b/larn/Makefile
index 04739f97..987d0159 100644
--- a/larn/Makefile
+++ b/larn/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 1995/03/23 08:33:05 cgd Exp $
+# $NetBSD: Makefile,v 1.8 1995/04/22 07:34:00 cgd Exp $
# @(#)Makefile 5.12 (Berkeley) 5/30/93
# EXTRA
@@ -64,7 +64,7 @@ HIDEGAME=hidegame
beforeinstall:
(cd ${.CURDIR}/datfiles; install -c -o ${BINOWN} -g ${BINGRP} -m 444 \
- larnmaze larnopts lfortune larn.help \
+ larnmaze larnopts larn.help \
${DESTDIR}/usr/share/games/larn)
.include <bsd.prog.mk>
diff --git a/larn/config.c b/larn/config.c
index bf29e4dc..3746c09c 100644
--- a/larn/config.c
+++ b/larn/config.c
@@ -1,5 +1,5 @@
#ifndef lint
-static char rcsid[] = "$NetBSD: config.c,v 1.3 1995/03/23 08:33:12 cgd Exp $";
+static char rcsid[] = "$NetBSD: config.c,v 1.4 1995/04/22 07:34:04 cgd Exp $";
#endif /* not lint */
/*
@@ -32,9 +32,6 @@ char scorefile[] = _PATH_SCORE;
/* the maze data file */
char larnlevels[] = _PATH_LEVELS;
-/* the fortune data file */
-char fortfile[] = _PATH_FORTS;
-
/* the .larnopts filename */
char optsfile[1024] ="/.larnopts";
diff --git a/larn/datfiles/lfortune b/larn/datfiles/lfortune
deleted file mode 100644
index 748f7f61..00000000
--- a/larn/datfiles/lfortune
+++ /dev/null
@@ -1,34 +0,0 @@
-gem value = gem * 2 ^ perfection
-sitting down can have unexpected results
-don't pry into the affairs of others
-drinking can be hazardous to your health
-beware of the gusher!
-some monsters are greedy
-nymphs have light fingers
-try kissing a disenchantress!
-hammers and brains don't mix
-what does a potion of cure dianthroritis taste like?
-hit point gain/loss when raising a level depends on constitution
-healing a mighty wizard can be exhilarating
-be sure to pay your taxes
-are Vampires afraid of something?
-some dragons can fly
-dos thou strive for perfection?
-patience is a virtue, unless your daughter dies
-what does the Eye of Larn see in its guardian?
-a level 25 player casts like crazy!
-energy rings affect spell regeneration
-difficulty affects regeneration
-control of the pesty spirits is most helpful
-don't fall into a bottomless pit
-dexterity allows you to carry more
-you can get 2 points of WC for the price of one
-never enter the dungeon naked! the monsters will laugh at you!
-did someone put itching powder in your armor?
-you klutz!
-avoid opening doors. you never know whats on the other side.
-infinite regeneration ---> temptation
-the greatest weapon in the game has not the highest Weapon Class
-you can't buy the most powerful scroll
-identify things before you use them
-there's more than one way through a wall
diff --git a/larn/header.h b/larn/header.h
index aa853c47..2dfec532 100644
--- a/larn/header.h
+++ b/larn/header.h
@@ -1,4 +1,4 @@
-/* $NetBSD: header.h,v 1.5 1995/03/23 08:33:29 cgd Exp $ */
+/* $NetBSD: header.h,v 1.6 1995/04/22 07:34:05 cgd Exp $ */
/* header.h Larn is copyrighted 1986 by Noah Morgan. */
@@ -329,7 +329,7 @@ struct sphere
#ifndef NODEFS
extern char VERSION,SUBVERSION;
extern char aborted[],alpha[],beenhere[],boldon,cheat,ckpfile[],ckpflag;
-extern char *class[],course[],diagfile[],fortfile[],helpfile[];
+extern char *class[],course[],diagfile[],helpfile[];
extern char *inbuffer,is_alpha[],is_digit[];
extern char item[MAXX][MAXY],iven[],know[MAXX][MAXY],larnlevels[],lastmonst[];
extern char level,*levelname[],logfile[],loginname[],logname[],*lpbuf,*lpend;
diff --git a/larn/main.c b/larn/main.c
index 1d0743cc..35339177 100644
--- a/larn/main.c
+++ b/larn/main.c
@@ -1,5 +1,5 @@
#ifndef lint
-static char rcsid[] = "$NetBSD: main.c,v 1.5 1995/03/23 08:33:46 cgd Exp $";
+static char rcsid[] = "$NetBSD: main.c,v 1.6 1995/04/22 07:34:07 cgd Exp $";
#endif /* not lint */
/* main.c */
@@ -798,7 +798,7 @@ while (1)
iven[i-'a']=0;
if (!c[BLINDCOUNT])
{
- if (p=fortune(fortfile))
+ if (p=fortune())
{
lprcat(" Inside you find a scrap of paper that says:\n");
lprcat(p);
diff --git a/larn/object.c b/larn/object.c
index d71f6734..6f701bff 100644
--- a/larn/object.c
+++ b/larn/object.c
@@ -1,5 +1,5 @@
#ifndef lint
-static char rcsid[] = "$NetBSD: object.c,v 1.5 1995/03/23 08:34:05 cgd Exp $";
+static char rcsid[] = "$NetBSD: object.c,v 1.6 1995/04/22 07:34:09 cgd Exp $";
#endif /* not lint */
/* object.c Larn is copyrighted 1986 by Noah Morgan. */
@@ -731,7 +731,7 @@ ocookie()
case 'e': lprcat("eat\nThe cookie tasted good.");
forget(); /* no more cookie */
if (c[BLINDCOUNT]) return;
- if (!(p=fortune(fortfile))) return;
+ if (!(p=fortune())) return;
lprcat(" A message inside the cookie reads:\n"); lprcat(p);
return;
diff --git a/larn/pathnames.h b/larn/pathnames.h
index 9d921a9c..3671c942 100644
--- a/larn/pathnames.h
+++ b/larn/pathnames.h
@@ -1,4 +1,4 @@
-/* $NetBSD: pathnames.h,v 1.4 1995/03/23 08:34:09 cgd Exp $ */
+/* $NetBSD: pathnames.h,v 1.5 1995/04/22 07:34:10 cgd Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -39,5 +39,4 @@
#define _PATH_SCORE "/var/games/larn/lscore12.0"
#define _PATH_HELP "/usr/share/games/larn/larn.help"
#define _PATH_LEVELS "/usr/share/games/larn/larnmaze"
-#define _PATH_FORTS "/usr/share/games/larn/lfortune"
#define _PATH_PLAYERIDS "/var/games/larn/playerids"