Commit Graph

302 Commits

Author SHA1 Message Date
nethack.allison
4170c75993 More BUC
Defer to the validation code from pickup.c for checking
valid categories.  This reduces the number of callback
functions required, and allows combinations of BUCX
to be used in traditional menu style.
2002-02-19 14:20:21 +00:00
nethack.allison
126294b4de follow-up to Allow BUC with menustyles other than full. 2002-02-19 08:29:31 +00:00
nethack.allison
e054b25590 Allow BUC with menustyles other than full. 2002-02-19 08:22:15 +00:00
cohrs
3b2aa68d24 touchstone: cannot rub on the stone gold
hack around the silly grammar
2002-02-19 07:50:42 +00:00
cohrs
7f946fca6c plural of lotus followup
Don't convert *us -> *i for short words like "bus"
2002-02-19 06:01:45 +00:00
cohrs
d645467f40 permanent inventory window updates
Addresses the follwing missing updates:
- Quest Artifact identification by Quest Leader.
- Rust damage from a rust trap.
- Remove curse as a result of prayer (both fixing TROUBLE_CURSED_* and
  the blessed-remove-curse boon.)
- Charging via PYEC
2002-02-19 05:10:31 +00:00
cohrs
377a3b8482 plural of lotus is lotuses
another makeplural special case
2002-02-19 04:56:15 +00:00
nethack.rankin
81684b1672 high-end monster tuning
Strengthen Death by making his "drains your life force"
result take away some max HPs to augment the ordinary damage
it does.  The chance for that effect is reduced from 80% to
75% though.  Weaken Famine, Pestilence, and Demogorgon by
preventing them from hitting with both of their disease or
hunger attacks on the same turn.  When their first attack
hits, the second now gets treated as a stun attack, but if
the first one misses then the second is unchanged and yields
another chance to deliver the disease or hunger effect.
2002-02-19 03:38:31 +00:00
cohrs
cad85663de purple worm digestion
Generally modify the AD_DGST damage type so that:
- players and pets get no AD_DGST nutrition from G_NOCORPSE monsters
- undead no longer convey any nutrition, to either monsters or you-as-monster
  I decided on this based on the age typically assigned to undead corpses.
- digestion conveys 50% or normal nutrition, and takes 25% the time to eat.
- all AD_DGST attacks are now subject to gas spore explosions, including player
2002-02-18 23:36:46 +00:00
nethack.allison
839947d423 add non-controversial part of <Someone>'s "unpaid prices in inventory." 2002-02-17 14:42:48 +00:00
arromdee
06b7862906 air elementals
This reduces the damage of those unreasonably deadly air elementals.
2002-02-16 03:50:55 +00:00
cohrs
f0b8d8fec5 warning about hidden monsters
If a monster is hiding, such as underwater, general warning should locate it
2002-02-15 06:57:19 +00:00
cohrs
93b46d7a60 stone-to-flesh downwards
display the typical "beneath" if you're levitating, not "at".
If over lava, say "blood boils". Also, treat ice & water like waterlevel case.
2002-02-15 05:47:57 +00:00
cohrs
7345561da8 computing cost of stolen container contents
the cost didn't multiply get_cost value by the object quan
2002-02-15 05:12:38 +00:00
cohrs
fe4f8b3c9d whipping hidden mimic displays mimic name too early
rather than the "flick" message, just go directly to stumble_onto_mimic
2002-02-15 04:29:11 +00:00
cohrs
e4facdc70a burnt webs still visible 2002-02-15 03:20:41 +00:00
nethack.allison
5ba1968c14 swap touchstone and flint
in the objects[] array to allow inclusion of touchstone
when wishing for gray stone.

The patch increments editlevel and invalidates bones
and save files.
2002-02-14 02:33:52 +00:00
nethack.allison
dafae59205 from <Someone>
( #enhance screen is still broken though). I attached a small
patch with minor adjustments.
2002-02-14 00:55:17 +00:00
kmhugo
38e91a320d Twoweapon update
Make two-weapon combat dependant on the hero's current form.
Adds the macro could_twoweap() and performs some housekeeping
in monst.c.
2002-02-13 17:31:07 +00:00
cohrs
4497d8e4e3 pline missing punctuation bits 2002-02-13 06:52:46 +00:00
nethack.rankin
5798dcc3e7 #enhance feedback
In the skills list shown by #enhance, add an annotation
for skills that have had enough practive to be advanced but
can't be because there aren't enough slots available or the
role-specific limit has been reached.
2002-02-13 06:36:31 +00:00
cohrs
aa989f2452 floating down on a trap in which you're already trapped
this would re-trap you, extending your trap time
2002-02-13 04:30:28 +00:00
cohrs
5b242aafce Vlad wants the Candelabrum
Since Vlad starts with the Candelabrum, he should want it back
2002-02-13 03:37:51 +00:00
cohrs
6d0723aae2 non-moving goal-oriented monsters
Monsters with goals like M3_WANTSBOOK often wouldn't move if another
monster was standing on the the goal object, add code for the missing case
2002-02-13 03:26:24 +00:00
nethack.allison
3d9c97c576 menu tab tuning 2002-02-13 00:34:35 +00:00
cohrs
76f88f465e unused variables bit 2002-02-12 05:45:43 +00:00
cohrs
c1a3682952 "The" Invocation items in farewell message followup
use and export the_unique_obj() for the test, to ensure consistency
2002-02-12 05:42:08 +00:00
cohrs
bd3c76815d "The" Invocation items in farewell message 2002-02-12 04:42:40 +00:00
cohrs
e541a42e0d seduction and "it"
use noit_* functions for monster names after the deed is done, to make
code consistent with the "you have discovered mon's identity" comment
2002-02-12 04:29:17 +00:00
cohrs
443035da2f player eating metal followup
new #ifdef was backwards
2002-02-12 03:58:13 +00:00
cohrs
924f3cbd37 player eating metal
1) player-as-rust monster should obey same rules for edible metal as monsters.
2) with GOLDOBJ, player-as-xorn couldn't eat gold in inventory
2002-02-12 03:53:05 +00:00
nethack.allison
97d635fdbf Fix B6013. 2002-02-11 23:15:33 +00:00
nethack.allison
9748b45905 Allow BUC menu options when dealing with containers
not just when dropping. Alters the way the BUC patch
works, so that it uses getobj() callbacks.
2002-02-11 05:43:38 +00:00
cohrs
60fd75bbfd vampire bats breath
if bats are not undead, they breath
2002-02-11 05:05:42 +00:00
cohrs
3b3362b236 glyphs for breaking wands
use fire an cold glyphs when breaking the corresponding wands.  Other
wands all get EXPL_MAGICAL since there's nothing more specific for them.
2002-02-11 03:29:11 +00:00
arromdee
06dfe0a76e monster spellcasting fallthroughs
This changes monster spellcasting to remove the fallthroughs.  It simply loops
now until it finds a valid spell to cast, so if the spell is useless another
random spell is picked rather than falling through to whatever happens to be
the next one in the list.

This will inevitably change some spellcasting probabilities.
2002-02-11 01:29:39 +00:00
arromdee
14a6d90763 mirrors
Invisibility should be treated consistently regarding passive reflection of
gaze attacks and explicit mirror use against gaze attacks.
2002-02-11 00:42:44 +00:00
cohrs
e5a5b5253e rotten wraith corpse
sidestep the rotten partly eaten wraith corpse impossible() message by
causing rotten wraith corpses to immediately rot away completely
2002-02-10 20:19:24 +00:00
nethack.allison
77ba02a2b6 Fix conflict with <Someone>'s warning fix that I messed up on. 2002-02-10 19:54:33 +00:00
nethack.allison
677b3943dd fix problem with earlier change for gold detection. 2002-02-10 19:47:09 +00:00
cohrs
3983318242 bad grammar
fix many new cases of bad grammar due to several misuses of the return
values of strncmp or is_plural
2002-02-10 19:02:46 +00:00
cohrs
e565276030 takes your corpse
use corpse_xname to generate corpse names as a result of yname() and
also as used in the steal code.  Now messages read "your XXX corpse".
2002-02-10 18:58:12 +00:00
nethack.allison
27b76ffe47 B5008 <Someone> feeling "materially poor" while rich
Shouldn't gold detection pay attention to my inventory? "You feel
	materially poor" sounds extremely odd if I've got 50,000 zorkmids
	stuffed in my backpack.
2002-02-10 16:21:17 +00:00
cohrs
c789541cb7 takes your corpse
use corpse_xname to generate corpse names as a result of yname() and
also as used in the steal code.  Now messages read "your XXX corpse".
2002-02-10 07:34:26 +00:00
cohrs
316a94d50f obj_no_longer_held consistency
Call obj_no_longer_held whenever an object hits the floor, no matter what
previously held it.  Also handle stoning of prior holder.
2002-02-09 21:55:45 +00:00
cohrs
38d84ba3c8 role level names
A few role level names didn't include valid male/female variants
2002-02-09 18:39:54 +00:00
cohrs
750a200e60 cursed genocide of "none"
treat this as a creation of a random monster, which still meets the
goal of not violating genocide conduct
2002-02-09 17:38:43 +00:00
cohrs
5e2692fba5 catch_lit lights cursed candelabrum
also, cursed lamps should sometimes fail to light, and check "spe" of
candelabrum before checking age
2002-02-09 08:13:18 +00:00
arromdee
a74489a014 unicorn horn in potion
Fix beta bug #3021.  I also took out the redundant wishing entry.
2002-02-09 07:19:13 +00:00
cohrs
62d38baab6 shattered statue rocks
move shattered statue rocks to the top of the pile
helps when the player is Blind, gives away less
2002-02-09 04:12:48 +00:00