diff options
author | Bardur Arantsson <bardur@scientician.net> | 2010-01-12 08:44:28 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2010-01-12 08:46:02 +0100 |
commit | be3a6e4cab9e0458ac2bb16c9521269a14fa7e3f (patch) | |
tree | 005ddc41aaf26ef9ef4559f39dec1074686c0c2a | |
parent | e809d2fe548a0dad3c005fd3c7805446cefd138d (diff) |
Import Killerbunnies patch: Add a "you do not you all your fate" text to Fates menu if there are fates you haven't discovered yet.
-rw-r--r-- | changes.txt | 2 | ||||
-rw-r--r-- | src/xtra1.c | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/changes.txt b/changes.txt index 26e6e060..2c6cdc4c 100644 --- a/changes.txt +++ b/changes.txt @@ -6,6 +6,8 @@ T.o.M.E 2.3.7 (ah) - Fix Lua errors when hitting <ESC> while choosing spell. - Killerbunnies: Automatizer: Add patch which adds new <inventory/> and <equipment/> rules. +- Killerbunnies: Add "you do not know all your fate" to Fate menu + if you haven't been discovered all your fates. T.o.M.E 2.3.6 (ah) diff --git a/src/xtra1.c b/src/xtra1.c index 37fa8cfe..d1996b18 100644 --- a/src/xtra1.c +++ b/src/xtra1.c @@ -4829,6 +4829,7 @@ void dump_fates(FILE *outfile) { int i; char buf[120]; + bool pending = FALSE; if (!outfile) return; @@ -4839,6 +4840,11 @@ void dump_fates(FILE *outfile) fate_desc(buf, i); fprintf(outfile, "%s\n", buf); } + if ((fates[i].fate) && !(fates[i].know)) pending = TRUE; + } + if (pending) + { + fprintf(outfile, "You do not know all of your fate.\n"); } } |