]> git.pld-linux.org Git - packages/nethack.git/commitdiff
- dragon hoard patch
authorwolf <wolf@pld-linux.org>
Wed, 19 Jun 2002 21:00:18 +0000 (21:00 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    nethack-dragon_hoard.patch -> 1.1
    nethack-makedefs.patch -> 1.2

nethack-dragon_hoard.patch [new file with mode: 0644]
nethack-makedefs.patch

diff --git a/nethack-dragon_hoard.patch b/nethack-dragon_hoard.patch
new file mode 100644 (file)
index 0000000..0c3c63f
--- /dev/null
@@ -0,0 +1,24 @@
+diff -ruN nethack-3.4.0./src/sit.c nethack-3.4.0/src/sit.c
+--- nethack-3.4.0./src/sit.c   Thu Apr 11 17:58:28 2002
++++ nethack-3.4.0/src/sit.c    Tue Jun 18 22:51:36 2002
+@@ -64,7 +64,19 @@
+           obj = level.objects[u.ux][u.uy];
+           You("sit on %s.", the(xname(obj)));
+-          if (!(Is_box(obj) || objects[obj->otyp].oc_material == CLOTH))
++            if (youmonst.data->mlet == S_DRAGON && obj->oclass == GOLD_CLASS) {
++                /* dragons enjoy resting on a hoard of gold */
++                You("coil up around your hoard.");
++                if (!rn2(5)) {
++                    You("comfortably doze off on %s.", the(xname(obj)));
++                    fall_asleep(rn2(9) + 1, TRUE);
++                } else
++                    You_feel("especially draconian.");
++
++                /* always excersize wisdom */
++                exercise(A_WIS, TRUE);
++            } else if (!(Is_box(obj) ||
++                    objects[obj->otyp].oc_material == CLOTH))
+               pline("It's not very comfortable...");
+       } else if ((trap = t_at(u.ux, u.uy)) != 0) {
index cd6db1bb976a981043a951e7cfcd342e48a76343..7fc292750cb2a2ac50ea507fd4e8329c9bafbe00 100644 (file)
@@ -1,13 +1,14 @@
-diff -ruN nethack-3.4.0.orig/util/makedefs.c nethack-3.4.0/util/makedefs.c
---- nethack-3.4.0.orig/util/makedefs.c Thu Apr 11 17:58:28 2002
-+++ nethack-3.4.0/util/makedefs.c      Sat Apr 13 18:18:41 2002
-@@ -592,12 +592,17 @@
+diff -ruN nethack-3.4.0./util/makedefs.c nethack-3.4.0/util/makedefs.c
+--- nethack-3.4.0./util/makedefs.c     Thu Apr 11 17:58:28 2002
++++ nethack-3.4.0/util/makedefs.c      Tue Jun 18 23:02:51 2002
+@@ -592,12 +592,18 @@
  }
  
  static const char *build_opts[] = {
 +#ifdef FLIPCOIN
 +              "ability to flip coin",
 +#endif
++              "additional levels",
  #ifdef AMIGA_WBENCH
                "Amiga WorkBench support",
  #endif
@@ -19,17 +20,18 @@ diff -ruN nethack-3.4.0.orig/util/makedefs.c nethack-3.4.0/util/makedefs.c
  #ifdef TEXTCOLOR
                "color",
  #endif
-@@ -613,6 +618,9 @@
+@@ -613,6 +619,10 @@
  #ifdef WIZARD
                "debug mode",
  #endif
++              "dragon hoard",
 +#ifdef DUMP_LOG
 +              "dumping character to file",
 +#endif
  #ifdef ELBERETH
                "Elbereth",
  #endif
-@@ -622,21 +630,30 @@
+@@ -622,21 +632,30 @@
  #ifdef MFLOPPY
                "floppy drive support",
  #endif
@@ -60,7 +62,7 @@ diff -ruN nethack-3.4.0.orig/util/makedefs.c nethack-3.4.0/util/makedefs.c
  #ifdef GNUDOS
                "MSDOS protected mode",
  #endif
-@@ -694,9 +711,14 @@
+@@ -694,9 +713,14 @@
  #ifdef SHELL
                "shell command",
  #endif
@@ -75,7 +77,7 @@ diff -ruN nethack-3.4.0.orig/util/makedefs.c nethack-3.4.0/util/makedefs.c
  #ifdef SUSPEND
                "suspend command",
  #endif
-@@ -722,6 +744,7 @@
+@@ -722,6 +746,7 @@
  #ifdef WALLIFIED_MAZE
                "walled mazes",
  #endif
This page took 0.039219 seconds and 4 git commands to generate.