Commit Graph

274 Commits

Author SHA1 Message Date
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
cohrs
aac7f717c2 verb agreement
add and use new APIs, Tobjnam, otense and vtense, is_plural
to determine tense/form of verbs and a few pronouns as well
2002-02-09 00:30:33 +00:00
cohrs
91c5521009 verb agreement
add and use new APIs, Tobjnam, otense and vtense, is_plural
to determine tense/form of verbs and a few pronouns as well
2002-02-09 00:24:49 +00:00
cohrs
cf37a7bac0 verb agreement
add and use new APIs, Tobjnam, otense and vtense, is_plural
to determine tense/form of verbs and a few pronouns as well
2002-02-09 00:16:35 +00:00
nethack.allison
5a8cf1c4c1 Some win32 updates from <Someone>;
also corrects a cut-and-paste error that I made in options.c

The following options can be set in the game now:

  WC_HILITE_PET
  WC_ALIGN_MESSAGE
  WC_ALIGN_STATUS
  WC_SCROLL_MARGIN
  WC_MAP_MODE
  WC_FONT_MESSAGE
  WC_FONT_STATUS
  WC_FONT_MENU
  WC_FONT_TEXT
  WC_FONTSIZ_MESSAGE
  WC_FONTSIZ_STATUS
  WC_FONTSIZ_MENU
  WC_FONTSIZ_TEXT
2002-02-08 11:32:56 +00:00
nethack.rankin
f750e2df4e fix B3032 -- wand of speed monster id
Make wands of speed or slow monster known if their effect
on monsters is observed; likewise for speed boots.  Also, avoid
giving odd "the bat is moving faster" when seeing a bat created
in gehennom and inaccurate "the monster is moving slower" when
a monster puts on speed boots.
2002-02-08 04:14:03 +00:00
nethack.allison
6b75832e51 fix some problems with option modification settings in the
new options processing.
2002-02-08 01:34:22 +00:00
nethack.rankin
b7f7985821 fix B1022 -- bare handed to-hit bonus
Make the code match the comments.  I'm sure I checked that
forwards and backwards when I put it in; I don't know how it ended
up mismatched.
2002-02-08 00:15:32 +00:00
nethack.allison
f6ffdd47ff display "default" in options list
Have the options list display the word "default" for some
of the window-port options when the preference hasn't been
set by the player.
2002-02-07 11:30:36 +00:00
nethack.allison
4b364d6927 modifying 'O' command behavour
I was asked how a window-port controls which options are
set to SET_IN_FILE, DISP_IN_GAME, or SET_IN_GAME.

This provides a run-time way to change an option's SET_IN_FILE,
DISP_IN_GAME, or SET_IN_GAME status through code, rather
than clog up options.c with a lot of compile-time #ifdefs
for different ports to offer different default option settings.
Update the documentation to reflect this.
2002-02-07 03:23:55 +00:00
nethack.rankin
41bb37c369 autodig bit 2002-02-06 07:04:34 +00:00
cohrs
5cff91fadf demon summoning using wrong alignment
make msummon pass along A_NONE, allowing summoning of any demon, not just
chaotic ones
2002-02-06 06:56:53 +00:00
cohrs
ca7de91dc6 discovering identify and fire scrolls
reading one of these for the first time should give experience, like
other scrolls
2002-02-06 05:57:02 +00:00
cohrs
b277a17fb4 untrapping traps in unreachable locations
don't allow untrapping of an adjacent trap you cannot reach by movement
2002-02-06 05:39:43 +00:00
arromdee
9aa253c8ab salamanders
If salamanders are made immune to slime, then all the other places in the
code which check for fire creatures should be modified too.
2002-02-06 05:11:25 +00:00
cohrs
78f59d2046 salamanders immune to sliming
Since salamanders are plane-of-fire creatures, they too should be immune to
fire like fire elementals & vortexes
2002-02-06 04:06:41 +00:00
cohrs
3af5fa3e32 compilation bit
prototype should come before actual declaration of give_may_advance_msg
2002-02-06 01:53:54 +00:00
nethack.rankin
fec866a08c options fixes
Several boolean options were mis-categorized and became
unsettable during play.  Also, the eight_bit_tty option got
dropped into limbo.  Fixing that revealed a typo which would
have broken compilation for MSDOS.

     `eight_bit_tty' has been renamed `wc_eight_bit_input',
but its only use anywhere in the code is for output.
2002-02-06 01:36:31 +00:00
nethack.allison
02e2c671ed Fixes from <Someone>
- added support for new options
- fixed couple of typos in options.c
- added sunken edge around message window
- added capability to replace font in the font table (if we will want to
  change font sizes dynamically later)
2002-02-06 00:15:47 +00:00
nethack.allison
9d03c83d57 Use tabs for option menu separation if iflags.menu_tab_sep is set.
Simplifies some ports option menu displays.
2002-02-05 14:14:13 +00:00
nethack.allison
4181925d56 proto bit 2002-02-05 13:37:26 +00:00
nethack.allison
7d1e6f7d57 from Yitzhak
Add absent prototypes to some core routines.
Also add some port function() to function(void) in some win32 routines.
Also updates the Borland C Makefile for win32.
2002-02-05 13:21:43 +00:00
cohrs
f4a5823add touchstone bit 2002-02-05 04:22:23 +00:00
cohrs
747d1ee70f more inventory selection
the !allowcnt case wasn't being handled correctly, cuasing counts to
be set to 0 inappropriately.
2002-02-05 03:08:36 +00:00
cohrs
151f27e0c5 crash fix
don't try to clear the window if windows haven't been inited yet
2002-02-05 02:43:38 +00:00
nethack.allison
742e1e8c90 3.3.2 to 3.4.0 2002-02-04 16:11:00 +00:00
nethack.allison
06528d1002 3.3.2 to 3.4.0 2002-02-04 16:06:00 +00:00
nethack.allison
bd44ec4f65 wincap field updates
As Warwick suggested, instead of having fixed tile
sizes as options, allow specification of the size
explicitly.

Also, at Yitzhak's suggestion, provide a hook for
overriding the port's tile file name.  That name,
and the contents of the file it points to, will
be window-port specific of course.
2002-02-04 12:50:46 +00:00
warwick
c4a0faa9f1 test_move() fixes, for travel.
Turns lots of duplicated "flags.move = 0; nomul(0);" code into
a single instance, fixing the ones that weren't complete.

Doesn't feel_locations when only testing.
2002-02-04 10:41:22 +00:00