Subject: Re: Monks.. (read: maschocism)
From: [email-masked] (Wingnut)
Date: Sat, 01 Apr 2000 04:59:59 GMT
Newsgroups: rec.games.roguelike.nethack

On Thu, 30 Mar 2000 16:08:43 -0700, Roger Powell <[email-masked]> wrote:

>[email-masked] wrote:
>> 
>> Howdy fellow hackers:
>> Has anybody ascended a monk in 3.3.0 yet?
>>
>
>Watch this space...I have one on the way.  He's fully 
>vegetarian and has only hit with a wielded weapon by
>accident (Wish there was a confirm option that could 
>be turned on for wielded combat -I'd cheerfully even
>lose the turn;  instead I inevitably whack some monster
>with a pick-axe that I forgot to unwield and lose the
>credit for that voluntary challenge)
>
>At the moment he is paying a visit to Rodney.

For you programmer types out there, here's a patch do confirm accidentaly
breaking weaponless conduct.  It asks for confirmation on actions that would
normally result in a "You start bashing foo with your bar." message.  it won't
ak for confirmation if you explicitly 'w'ield a melee weapon, but will confirm
hitting with bows, slings, 'a'pplied picks, #rubbed lamps, etc.

Save the following block as nethack/src/hwcheck.diff
Apply this with patch -cw -i hwcheck.diff

----cut here----

*** uhitm.c     Fri Mar 31 23:51:16 2000
--- uhitm.c     Fri Mar 31 23:50:28 2000
***************
*** 340,345 ****
--- 340,352 ----
          if(check_capacity("You cannot fight while so heavily loaded."))
              goto atk_done;

+         if(unweapon && uwep && !u.uconduct.weaphit)
+         {
+                 char qbuf[QBUFSZ];
+                 Sprintf(qbuf, "Really break your weaponless conduct?");
+                 if (yn(qbuf) != 'y') goto atk_done;
+         }
+
          if (u.twoweap && !can_twoweapon())
                  untwoweapon();

----cut here---

Wingnut

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS d- s-:+ a--- C++ ULS P L+ E---- W+ N++ !o K- w(---) O-- M- V?
PS++ PE-- Y+ PGP- t-- 5+++ X- R tv b DI+ D+ G e>++ h! r--- y--
------END GEEK CODE BLOCK------