Commit Graph

1008 Commits

Author SHA1 Message Date
arromdee
38e60fa8d1 jeweler shopkeeper touchstone (B3015)
This implements the suggestion in beta bug 3015.
2002-03-02 16:46:56 +00:00
arromdee
e4f694986c french fried food (B7010)
This implements the suggestion in beta bug 7010.
2002-03-02 16:18:39 +00:00
arromdee
8651a77b43 bug 8009 (dropping gold on altar)
This fixes beta bug 8009 (dropping gold on altar)
2002-03-02 16:06:12 +00:00
nethack.rankin
442cfb2494 vms update
Update the instructions, add a dat -> util dependency so that
MMK (freeware clone of DEC's MMS make utility) builds the data files
when necessary, and switch the default compiler to DEC C.
2002-03-02 07:50:34 +00:00
nethack.rankin
dad14c21a7 build fix
Some old compilers don't like to use the name of a function-like
macro for anything other than invoking that macro.
2002-03-02 06:16:37 +00:00
arromdee
d6d445d514 This fixes beta bug 8003 (half physical damage from gas spores) as well as a
minor bit of cleanup in mon.c.
2002-03-02 01:07:11 +00:00
nethack.rankin
e15c0d801f code sync nitpick
The cvs sources had a single space difference from nh-patches sources.
2002-03-02 00:57:52 +00:00
nethack.allison
635c3f6240 Update the README
- adds a few more items.
- remove the line "primarily a bug fix release" since it it were,
  it would be 3.3.2
- remove "to tell more would be cheating" reference, since we're
  considering including fixes34.0 in the distribution
- expands on the Gnomehack stale situation
2002-03-01 14:27:29 +00:00
dean
45160f1b46 Remove unused code, fix comment. 2002-03-01 05:29:48 +00:00
dean
007ddef858 Fix a typo. 2002-03-01 05:26:36 +00:00
nethack.allison
58c1d99bb8 win32 uses included uudecode utility 2002-03-01 05:06:48 +00:00
nethack.allison
75945c9056 sys/share/uudecode.c
This was added to allow the build on some platforms to be
completed without external utilities beyond the compiler.
2002-02-28 18:32:28 +00:00
nethack.allison
be161bd5a1 add file sys/share/uudecode.c
This was added to allow the build on some platforms to be
completed without external utilities beyond the compiler.
2002-02-28 18:31:42 +00:00
keni
354d47ce5d One last (for now) bit for amiga makefile for sas/c.
This fixes make install to actually install and build everything needed.
-jhsa
2002-02-28 14:53:37 +00:00
cohrs
8fb7664869 fix more your corpse cases
- new cxname() to simplify doing the right thing in increasingly common cases
- use for bullwhip snagging
- in shopkeeper offer code
- in a couple other existing places rather than duplicating CORPSE checks
- use singular(...) in "swings" cases, since only one can hit.  Singular uses
  corpse_xname automatically when appropriate
2002-02-27 05:15:48 +00:00
arromdee
c9f7360301 stopping occupation when missed
This fixes beta bug 3020.  It was hard to notice because the presence of a
monster in the room stops your occupation anyway, so it wasn't triggered unless
you were blind.
2002-02-27 02:29:33 +00:00
arromdee
7827e17848 cloning minions
Janet pointed this one out to me...
2002-02-27 02:17:01 +00:00
cohrs
f33ab026b8 shattering corpses
- generalize which weapons can be shattered to be >= WOOD
2002-02-26 22:07:24 +00:00
cohrs
0f1615c7ad simplify touchstone object choosing
- remove special case code from getobj for touchstone
- remove other hacks from getobj that resulted from earlier hack, solves
  the "rub on the gold stone" problem completely
- pass correct letter list to getobj from use_stone, like other callers
2002-02-26 07:36:30 +00:00
arromdee
af51f4b0a2 cloning
Fix a minor cloning problem; clones didn't retain the monster's name or
tameness.  (The name *was* retained if you were cloned.)  I also added a
minor change in wizard mode to display a few tameness fields of a dog.
2002-02-26 06:55:17 +00:00
nethack.allison
2272e70d39 message follow-up 2002-02-25 20:24:04 +00:00
nethack.allison
24956e3b53 The unpaid cost displayed in your inventory now
includes container contents, not just the cost of the
container itself (a prices in inventory phenomenon).

Along the way I discovered a peculiarity -
contained_cost() was adding up the cost of everything in
a container, even if you had stashed items in it that were your
own and not marked unpaid it seems.

I added a flag to force the code to only add objects
that were marked "unpaid" so I could use it in this new
instance, but I didn't change any of
the existing usages (I left the flag at FALSE which leaves
the consideration of the unpaid status alone just as
before).

Some of this is correction of some messages that were
wrong prior to this when dealing with selling of objects
inside a container when only part of the contents was unpaid.
2002-02-25 19:14:42 +00:00
cohrs
63908bbed4 'D'ropping gold messes up inventory
- new splitobj() behavior requires special casing when !GOLDOBJ and
  dropping some of your gold, to ensure that the remainder remains the first
  item in the inventory
2002-02-25 05:51:44 +00:00
nethack.allison
0763523fba win32: Allow 32x32 tile builder to be built. 2002-02-25 03:38:05 +00:00
cohrs
6db3117830 sling, like whip, shouldn't shatter from a blow 2002-02-25 02:57:57 +00:00
cohrs
7f5285b1ee converting SCORR to CORR unblocks vision
- fix several cases where a point was unblocked by unblock_point wasn't
 called, directly or indirectly
2002-02-25 02:43:50 +00:00
cohrs
f9aaeda9b9 monsters jumping into hidden traps
- if a monster jumps into a trap in an SCORR, and you see it, convert to CORR
2002-02-25 01:02:55 +00:00
nethack.allison
e787bda52a wintty debug bit 2002-02-25 00:15:56 +00:00
cohrs
df31185e9c mounting steed while levitating at will
- avoid causing damage if you slip and levitating at will
- change message slightly in this case as well
2002-02-24 21:36:32 +00:00
nethack.allison
8d08badfbb Darkness msg despite sunsword
> Is the "You are surrounded by darkness!" message from reading a cursed
> scroll of light (or non-cursed if confused) appropriate if you're
> wielding Sunsword, which _doesn't_ get turned off by it?
2002-02-24 19:13:32 +00:00
cohrs
2911465ada X11 bit
- remove unneeded #undef's
2002-02-24 18:12:13 +00:00
cohrs
0a9beba75e a flag to track if vision is ready
- new iflags.vision_inited to determine if vision is ready to go.
- the flag is set the first time vision_reset() completes, actually every time
- vision_recalc() checks the flag before doing anything.
2002-02-24 18:04:02 +00:00
nethack.allison
490ceaee6c change is_greystone() to is_graystone()
-Rename is_greystone() to is_graystone() since I've
had one complaint about my choice of spelling for
the macro already.

-Change the recent "#rub touchstone" code to use
the macro which pre-existed under the other spelling
and was already used in the very same "if" statement
with that spelling in invent.c. :-)
2002-02-24 17:23:02 +00:00
nethack.allison
f9244b56ad wizkit follow-up
The recent wizkit change caused the build to
fail on all environments other than unix and vms.

>..\src\files.c(1607) : error C2065: 'envp' : undeclared identifier
>..\src\files.c(1607) : warning C4047: '=' :
>'int ' differs in levels of indirect ion from 'char *'
>..\src\files.c(1608) : error C2100: illegal indirection
>..\src\files.c(1608) : warning C4047: 'function' :
>'const char *' differs in levels of indirection from 'int '
>..\src\files.c(1608) : warning C4024: 'strncpy' :
2002-02-24 17:17:25 +00:00
nethack.allison
1c6b03c836 nttty hilite_pet follow-up
I didn't mean to override for any color in the mask. My
earlier patch caused it to make green, blue, or red all
become black (which still looked better than white on
grey).

This gets it right (famous last words), and only makes
the text character's color black if it is actually white
or bright white.
2002-02-24 16:16:59 +00:00
nethack.allison
575228db06 <Someone> reported a poor display result on the win32 tty
when hilite_pet was enabled.  After checking into it, the
test was looking for the value:
(FOREGROUND_GREEN|FOREGROUND_BLUE|FOREGROUND_RED)
which signifies a white color on win32 console I/O. The
problem was that in some cases that was OR'd with
something else such as FOREGROUND_INTENSITY.

Fix it by checking only the bits that matter when
turning on the attribute.
2002-02-24 15:45:05 +00:00
nethack.rankin
6b4429d942 more wizkit: bulletproofing previous change 2002-02-24 06:56:46 +00:00
cohrs
fcf8af733b vault guard message on the wrong level
if vault guard leaves his original level and is killed, clear_fcorr
was still attempted on the wrong level.
2002-02-24 06:56:02 +00:00
nethack.rankin
34f682205c wizkit enhancement
Allow a WIZKIT file name to be specified via the environment.
If none is specified there, get it from the run-time config file.
2002-02-24 06:51:36 +00:00
nethack.rankin
163f394fbe monster use of artifacts
From the newsgroup:  some of the fake player monsters on the
astral level were unable to use artifacts that they were created
with due to alignment mismatch.  Rather than try to adjust the
artifact creation of only select matching items, this patch lets
them handle artifacts when alignments differ (more or less like
the player; monsters don't occasionally get blasted though).

     This also restores chaotic monsters with the ability to use
Stormbringer; I'm not sure how long that has been broken.  It also
gives lawful ones the ability to use Excalibur.
2002-02-24 06:12:57 +00:00
cohrs
cae2ef47c3 random shrines on special levels
- "random" shrines generate the value -1, not -11
- rn2(1) always == 0, should be rn2(2), sanctums aren't random
2002-02-24 05:38:57 +00:00
nethack.rankin
753cc7089f fix B3024: remove vs take off
Change the prompts for P and R commands to use "put on" instead
of "wear" and "remove" instead of "take off", respectively; W and T
commands aren't affected.  There is no change in game play.
2002-02-24 05:05:11 +00:00
nethack.rankin
4bc3561a96 from <Someone>: #rub touchstone
<Someone>'s message said this was committed, but the cvs repository
didn't reflect his changes.

> Subject: patch: #rub touchstone
> Date: Wed, 20 Feb 2002 23:33:27 -0800
> <email deleted>
>
> Implement <Someone>'s suggestion.
>
> - allow the #rub command to apply to gray stones
> - update various doc & help files to reflect the change
>
> Committed to CVS.
2002-02-24 03:19:20 +00:00
nethack.rankin
3ae126c83f "fix" B6004
The comment about Book of the Dead's taming effect working
on nearby monsters when read while swallowed was wrong.  It was
only put there in the first place to avoid adding extra code to
suppress taming while swallowed when that was done for the other
methods of taming.  Any need for extra code here turns out to be
unnecessary due to the cansee() check.
2002-02-24 00:51:20 +00:00
nethack.rankin
a9b2f4f1ee double undead turning
From the newsgroup:  when an undead monster got killed by a wand
or spell of undead turning, if it left a corpse that corpse would be
hit by the same zap and was immediately revived.  This fix uses the
flag bits that were added to prevent objects that are dropped by a
polymorphed monster from being hit by the same polymorph zap.

     This also fixes a post-3.3.1 bug that produced "the <undead>
turns to flee" even when that monster had been killed by the turning
attack.  3.3.1 had the same bogus fleeing effect but didn't give any
message so it was unnoticeable.
2002-02-23 11:13:41 +00:00
nethack.rankin
6f90e5bc8c Another artifact damage update
Make being hit by an artifact which does fire, cold, or
lightning (or magic missiles, since the code is there) affect
inventory even when the target resists the damage him-/her-/itself.
This removes the need for the redundant fire vs slime handling that
I put in yesterday.  Unfortunately it also means that Valkyries who
throw Mjollnir will inevitably end up destroying all their mettalic
wands and rings, so I reduced the chance of it hitting upon its
return.
2002-02-23 10:55:43 +00:00
nethack.rankin
6cb52557c1 vtense: flyies 2002-02-23 10:37:18 +00:00
arromdee
6033bee646 pudding cloning (from beta-test) 2002-02-23 06:12:55 +00:00
keni
1b1532dbab patch from Janne: delete old files, update docs, tids 2002-02-22 12:13:46 +00:00
nethack.rankin
6ce22770c9 Fire Brand vs sliming
Being hit by Fire Brand now stops the sliming process if you're
being turned into green slime.  And throwing an artifact up will give
artifact hit effects when it falls back down, making it possible to
hit yourself with Fire Brand (among other things).  Hitting yourself
with Vorpal Blade or the Tsurugi of Muramasa will never behead or
bisect you; hitting yourself with Stormbringer will drain levels.
(I hope the latter doesn't make it too easy for players to manipulate
their experience level.)

     This doesn't add artifact_hit() handling to mthrowu.  If monsters
ever start throwing artifacts that will need to be added.
2002-02-22 03:51:14 +00:00