Commit Graph
80 Commits
Author SHA1 Message Date
cohrs 648cad154f X11 icons version update
Change 3.3 to 3.4 in the two icons which have that in them.
[ committed for Pat ]
2002-02-13 02:28:30 +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
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
cohrs f0829e5a32 tty: msg_window and long messages
the code that puts long messages into the top line inserts newlines into
the message, but the msg_window code wasn't looking for them.
2002-02-10 20:48:01 +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
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
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
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
cohrs 843bdde1b3 data.base entries
Master Kaen and the Grand Master were the only quest leaders/nemeses
for which /n printed nothing at all, fall back on human entry
2002-02-06 07:17:54 +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
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
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
cohrs f255e2bedd tty: ^C while prompted re-displays last message
- attempt to determine if tty_wait_synch() is called during the ending
 dialogs due to an interrupt, and not re-display the previous message
 at the wrong time
- also, "msg_window display anomaly" fix was missing code to still treat ^P
 properly while in a prompt
2002-02-04 05:57:35 +00:00
cohrs 1a197060b4 unseen monster messages
- watch messages if you can't see the watch now start "You hear"
- unseen spellcaster messages are shown as "Something", to remove
 some silly message pairs.
- unseen spellcaster that casts at itself causes no message
- recalc vision before spoteffects messsages, to avoid invalid "It"
2002-02-04 05:00:41 +00:00
cohrs bdf25aff97 tty: msg_window display anomaly
If you interrupt nethack (^C) in tty windowport mode while a pompt is
displayed and and msg_window=true, it can display the full message history
at an unexpected time.  Detect this and display only the topl, as expected.
2002-02-03 07:46:05 +00:00
cohrs f057848eea address compilation warnings from gcc 2002-02-03 07:15:26 +00:00
cohrs 134b988d4f unix: default to groff for generating .ps from .mn
also make it more obvious how to switch commands to create a .ps file
2002-02-02 07:16:50 +00:00
cohrs 957e96a48a teleporting monster while swallowed
if player teleports a monster while swallowed on a noteleport level, the
player should not teleport along with the monster
2002-02-02 06:43:53 +00:00
cohrs 16193dc518 fixes updates
update fixes to include updates sent via patches
2002-02-02 05:51:08 +00:00
cohrs 94c77febc0 dragons have scales, not fur
body_part should return "scales" for the HAIR part of a dragon
2002-02-02 05:00:08 +00:00
cohrs bd56046f44 vortexes are not really alive
add vortexes to the set of nonliving() monsters
2002-02-02 03:50:53 +00:00
cohrs f5fde02752 hilite_pet Guidebook entry
update hilite_pet entry so it allows for variations possible in current ports
and be less Unix-specific
2002-02-02 03:24:35 +00:00
cohrs 4c394e385a SPLEVTYPE debug mode environment variable
SPLEVTYPE can have a value like "minetn-3,minend-2,soko2-2" and allows
someone in debug mode to select specific instances of random levels to use
in a test game.  Invalid values found in SPLEVTYPE are silently ignored.
2002-02-02 02:58:07 +00:00
cohrs 9c851c0c1d grappling hook followup
fix a compilation bug
2002-02-02 01:59:44 +00:00
cohrs 8eb206765d grappling hook ignores spot effects
Using a grappling hook can land you in water, lava, et al, but you were
unaffected.
2002-02-01 03:30:40 +00:00
cohrs dc6392f77f tty pet hiliting may turn off on color changes
check to turn on hilite must come after check to change color, since
changing color uses term_end_color which may turn off inverse video too
2002-01-31 03:21:39 +00:00
cohrs 52141ce87f medium and large flyers do not flutter 2002-01-30 04:51:40 +00:00
cohrs 23d8116030 leather cloak should be made of leather 2002-01-30 03:28:57 +00:00
cohrs 6023565065 typo
"splatt" should be "splat"
2002-01-30 03:08:36 +00:00
cohrs e4af2e9a0a correct updated cost of scalpel
rev 1.6 included the wrong updated cost
2002-01-29 08:36:22 +00:00
cohrs 273c0f7f2d remove left over debugging message 2002-01-29 08:07:13 +00:00
cohrs ea7431f2a8 various Guidebook updates
+ attributes may exceed 18 for non-humans
+ update spell casting paragraph to loosely describe 3.3 style spell casting
+ correct description of the output of the '+' command
+ note default value for 'mail' option
2002-01-29 08:03:24 +00:00
cohrs f51556bc59 eggs and other breakables break falling down stairs
<Someone> questioned why eggs and potions don't break when falling downstairs.
For that matter, other breakables should as well.
2002-01-29 06:35:17 +00:00
cohrs 05ab895737 /tmp/msg 2002-01-29 04:19:46 +00:00
cohrs 00cfa4a9f8 autodig chattiness
The autodig code still requires lots of interaction, because of all the
digging messages.  Make these messages behave more like boulder pushing
messages, where they only display if the previous move wasn't a push.
2002-01-27 23:45:47 +00:00
cohrs 0f4c369172 Unix port bits
don't require setup.sh to be executable, just tell to use sh explicitly.
Fix funny DOS-ish comment
2002-01-27 05:39:02 +00:00
cohrs 35edad47ab unused variables 2002-01-27 04:19:44 +00:00
cohrs 4a2bcf3b3a update initial wizard quest message
The initial wizard quest message still used the word "master", which
can be interpretted as implying "male"; changed to teacher.
2002-01-27 02:36:12 +00:00
cohrs df9092ccb5 scalpel and corrosion
make scalpel type METAL (for stainless steel), also increase cost to
reflect it's higher quality
2002-01-27 01:08:55 +00:00
cohrs 494b133ec2 getobj using counts from inventory display
getobj used display_inventory when "?" was selected.  However, any count
entered via the menu interface was lost.  Provide a new internal function
that can return both a letter and a count
2002-01-26 20:21:18 +00:00
cohrs 82611f9cd8 inappropriate very difficult reading message
add missing set of parentheses around lense test in read_ability calculation
2002-01-25 08:08:33 +00:00
cohrs f73a1879c9 landmines and boulders
Make pushing a boulder onto a landmine share code with the trap case,
resulting in pits, waking sleepers, et al.
Don't leave a boulder suspended over the new pit, fill it.
Make sure any remaining boulder is placed on top of the pile.
If player sets off landmine, monsters killed are credited to/blamed on player.
2002-01-25 06:38:42 +00:00
cohrs 04ecb2e1a2 window.doc getlin clarification
Clarify the getlin interface, which is used with the implicit assumption
that an input buffer of size BUFSZ (including the nul) is sufficient.
2002-01-24 03:13:56 +00:00
cohrs 3fc3ef8537 another vision-related message
don't just say "the knife misses" when you can actually see the monster
with infravision by testing using the correct function
2002-01-24 02:34:52 +00:00
cohrs 1a7aa0933e another WIZKIT fix
previous rev put the new "else" in the wrong place
2002-01-23 18:23:54 +00:00
cohrs 4b677185de another WIZKIT fix
if $HOME is not set, don't use uninitialized buffer as the filename to open
2002-01-23 18:06:19 +00:00
cohrs a80a7ab939 X11 buffer overflow avoidance
Don't overflow the buffer passed to getlin().
2002-01-23 06:21:58 +00:00
cohrs 6a637d21a5 spells doing negative damage
Add a check to zhitm to ensure that spells cast by characters with low XL
and Int will not do negative damage.
2002-01-21 03:41:21 +00:00
cohrs 371bbc2fb8 cost of eating an unpaid tin
The cost of an unpaid tin should be calculated before eating, not after,
so the cost will be based on your pre-eating hunger, not post.
2002-01-21 03:25:50 +00:00
cohrs bf563bb204 fix a typo 2002-01-21 03:03:15 +00:00
cohrs 202a383444 xprname fix
The GOLDOBJ fix I posted back on 1/3 caused "Ix" to access a null pointer
(obj) while generating the total line.  This patch fixes the bug I added to
xprname.
2002-01-20 22:25:16 +00:00
cohrs 7a634884b4 starting the game without a pet
Incorporate a slightly cleaned up version of <Someone>'s patch to enable a
"pettype:none" startup option that allows one to start the game without a pet.
2002-01-20 21:05:29 +00:00
cohrs e7bdcb157f lava effects for monsters and objects
This patch, based on code sent to us by <Someone> well over a year ago, addresses
bugs recently resurfaced.  Namely, that lava does not generally do anything
to monsters or objects that land in java.  Newly renamed minliquid() handles
both water and lava, and new fire_damage() is used similar to water_damage().
2002-01-20 07:04:18 +00:00
cohrs 8efbbdc0cc map update followup to lev_comp.l change
The change to allow digits in maps causes the comments that were
incorrectly placed inside MAP/ENDMAP blocks to be seen as valid
map lines.  They were quietly skipped before by the old scanner.
Move them out.
-dlc
2002-01-19 19:08:24 +00:00
cohrs 7cb3f8d2f6 gaze attacks while on a scroll of scare monster
Reported to the list 1/5/2001 by <Someone>.
I put stop_occupation calls in all the gaze cases where they were needed.
You might still die, but you'll only get attacked once before you stop waiting.
2002-01-16 07:56:46 +00:00
cohrs e3ac04eac1 riding a non-swimming steed into water
Patch from <Someone> to the list on 10/01/2001.  The changes cause riding a steed
into water to result in a dismount, and, if the steed can't survive in
water, the death of the steed, with the usual pet-death penalties.
2002-01-16 07:05:43 +00:00
cohrs d3765d91e8 re-adding nethack.png correct flags 2002-01-12 17:19:37 +00:00
cohrs 958bb149ec remove nethack.png so it can be re-added with correct flags 2002-01-12 17:18:50 +00:00
cohrs cebf048c50 Qt 2.1 support again
Fix the Qt code so it compiles wth Qt 2.1 again (Install.Qt still claims
the code works on Qt 2.0 and above).  One or more of the changes made this
week broke compilation on my RedHat Linux 6.2 system.  Qt 2.1 is still the
most recent Qt shipped by RedHat for this version.
2002-01-12 07:56:49 +00:00
cohrs 631df10a34 setuwep, et al, cleanup 2002-01-10 06:52:05 +00:00
cohrs c77073be31 sync changes since last snapshot 2002-01-07 02:12:04 +00:00