cca62c762f
B04007 unknown corpse type revealed by hider
nethack.allison
2002-07-28 02:19:21 +00:00
02ed5c37c9
From the newsgroup, there was a discussion about how you can't just blind yourself with a cream pie in your inventory directly by applying it or by throwing it.
nethack.allison
2002-07-27 20:48:45 +00:00
c6c17bc00f
more Windows CE
nethack.allison
2002-07-23 04:52:48 +00:00
d9dad62838
build fix for files.c
nethack.allison
2002-07-23 04:51:28 +00:00
7b5618e03c
Enclose savefile format change by STORE_PLNAME_IN_FILE macro.
warwick
2002-07-22 09:13:04 +00:00
7174e31024
Some non-enabled perminv code in Qt windowport. (missed in previous patch)
warwick
2002-07-22 09:10:13 +00:00
16b7d4a099
Store plname in save files (and restore it). Move get_saved_games() functionality to files.c Use moved get_saved_games() functionality in Qt windowport. [also some non-enabled perminv code in Qt windowport]
warwick
2002-07-22 06:25:52 +00:00
6bc604ecf3
Windows CE port addition
nethack.allison
2002-07-22 03:27:01 +00:00
0cc5b698d5
Windows CE port addition
nethack.allison
2002-07-22 03:20:52 +00:00
4957a7f5be
another follow-up to fname_decode() routine
nethack.allison
2002-07-21 16:58:12 +00:00
03cc2afa2e
WIN32: file naming Allow single character variations in player names to remain unique in file names by encoding rather than substituting. "plnam one", "plnam_one", and "plnam~one" at the "Who are you?" prompt get unique filenames after this patch.
nethack.allison
2002-07-21 04:07:32 +00:00
5d040e4da5
prevent strange crash with some player names
nethack.allison
2002-07-21 03:53:13 +00:00
cdec686d09
More untrap message clean-up
nethack.allison
2002-07-20 02:07:09 +00:00
8a9c09a8b1
(From <Someone>) > It's probably best to empty > mswin_update_inventory() in win\win32\. If I > remember correctly there is some code in there now > which probably behaves badly if perm_invent is > switched on
nethack.allison
2002-07-19 13:42:24 +00:00
a21ddbb2bf
minetown guards outside the town proper Pat forwarded a message from the newsgroup in March that the town guards enforce rules even outside the town proper. Fix: On room-based town levels, check if the location is in a room containing subrooms (roomno will often have a subroom id instead). On the other levels (e.g. minetn-5), there are no subrooms, so the whole level is fair game. Currently, this is valid. If fancier towns are added in the future, more flags or use of regions may be required to tell where the town border actually is. These checks are done in a new in_town function.
cohrs
2002-07-15 04:17:13 +00:00
b440613866
B04010 - paper golems and fire traps Paper golems take 100% damage in a fire trap. Straw is very flammable unless tightly packed, but straw golems have a lot of surface area, so give them 50% damage.
cohrs
2002-07-14 22:10:33 +00:00
5d530348d4
containers and objects in special level descriptions On mazelike levels, containers had to be listed before their objects. But, for roomfilled levels, containers had to be listed _after_ the objects. All our current levels that use containers with objects are mazelike, so I changed the room behavior, updating the comment in lev_comp.y to match. Other items/monsters are still processed in reverse on roomfilled special levels, but I think this is OK.
cohrs
2002-07-14 20:17:45 +00:00
2440a26e9c
win32gui: -s and -? on the command line Since -s doesn't function properly under the WIN32 graphical interface as yet, disable it altogether.
nethack.allison
2002-07-14 19:50:25 +00:00
e0db090d3d
B04009 ftn msg when blind/!invis and gain see invis.
nethack.allison
2002-07-14 18:29:34 +00:00
56634c4850
B04009 ftn msg when blind/!invis and gain see invis.
nethack.allison
2002-07-14 18:04:59 +00:00
24cb5a7e3e
do_look at warning co-located with boulder
nethack.allison
2002-07-14 15:59:04 +00:00
67c7c79d66
melon bit and comment
nethack.allison
2002-07-14 13:37:48 +00:00
42bbcb6157
slight cockatrice egg msg change Move the "Splat" part of the message.
nethack.allison
2002-07-14 13:01:04 +00:00
909e262a6f
B04005 - leash and uncontrolled teleportation <Someone> reported that after an uncontrolled teleport due to eating a leprechaun, his leashed pet was still leashed until he took one more step. The usual approach which included disallowing the teleport seemed wrong in this case, so I put in an abbreviated version that does its checks but does not disallow the teleport. The pet teleports with you in the same cases as other teleports, but when it doesn't, the leash snaps loose.
cohrs
2002-07-14 03:06:19 +00:00
adc4094d50
dwarvish indecision <Someone> (and later <Someone>) reported along with several other things of a dwarf that stood in place and switched between his pick-axe and broadsword on successive turns. Fixed by bringing the logic in the two cases in line. The code now prefers to leave the hostile dwarf with a weapon.
cohrs
2002-07-14 02:48:27 +00:00
1238854154
R888 - panic while quaffing a potion of levitation Now that the in_use flag is set for potions being quaffed, use the in_use flag in general in destroy_item to avoid destroying the in use object, on the assumption that the caller will call useup when finished. There are a few places that set then unset in_use, but these don't currently result in a call to destroy_item. The current_wand hack was not removed, since its logic appears to allow destroy_item to still destroy the item.
cohrs
2002-07-13 23:06:22 +00:00
05e993d48e
B04004 - naming polymorph potions Provide a chance for the player to name a polymorph potion if you dip something into it and nothing happens. Also fix several places in dipping and drinking potions where the HUP cheat would allow you to use the potion a 2nd time, made more important since the polymorph sequence includes what is currently a unique message.
cohrs
2002-07-13 22:27:01 +00:00
30f6fbb5fe
B04002 - blessed gain level vs XL 30
nethack.rankin
2002-07-13 12:19:09 +00:00
ac764db56c
Update inventory with hellucination on/off, since it may display hallucinated icons.
warwick
2002-07-12 02:10:51 +00:00
35914ed186
R919 - applying lances Fixes 2 bugs: 1) an impossible() could occur if you applied a lance against a long worm because the code uses thitmonst to do the hitting, but didn't set bhitpos, which is required before calling thitmonst. Add the missing assignment. 2) applying a lance would never mark a knight as a caitiff. Added a new check_caitiff function and called it from the 2 existing checks and in the lance code.
cohrs
2002-07-11 05:16:27 +00:00
c0bcc8d292
modify #untrap prompting further
nethack.allison
2002-07-10 12:32:03 +00:00
f3db525ac4
chain summoning This adds a further throttle to chain summoning. Monsters can only summon spellcasting nasties if the nasties are lower level than the summoner, which makes infinite chains impossible (as long as the player figures out which monster to kill first).
arromdee
2002-07-09 07:10:21 +00:00
568b8de533
kicking and killing an unseen monster <Someone> reported that kicking [unlike hitting] an unseen monster to death would leave an "I" on the screen. This was due to a missing DEADMONSTER check. I also noticed that code to avoid leaving an extra "I" behind when a monster jumps of of the way was only half right, resulting in an extra "I" anyway.
cohrs
2002-07-09 04:21:58 +00:00
034892d5a8
NO_TERMS bug From a bug report, a missing check for defined(NO_TERMS) in pcsys.c would result in a link time error.
cohrs
2002-07-09 04:09:09 +00:00
40940991bb
change GOLD_CLASS to COIN_CLASS
nethack.allison
2002-07-08 23:25:53 +00:00
1c6535a655
riding speed While riding, your speed was calculated using the steeds speed only when moving multi locations. So, if you were walking step by step, it would use your speed instead. Changed this to use the steed's speed any time actual movement occurs.
cohrs
2002-07-08 14:02:27 +00:00
632e741a52
R853 - Items inside statues lost If you cast stone to flesh on a statue on a location containing a monster, the statue would be turned into a corpse and the contents lost. This didn't seem to be appropriate for the spell. Now the contents spill out.
cohrs
2002-07-08 00:15:27 +00:00
e88a6182dd
cancellation, polymorphed and unchanging <Someone> reported that a wand of cancellation would ignore Unchanging, noting the case of cancelling yourself while polymorphed into a stone golem. He thought the wand should win, killing the player. I felt otherwise, since the case he specified passes the flag allow_cancel_kill == FALSE.
cohrs
2002-07-07 23:25:43 +00:00
c03c25b045
B01021 - Samurai quest doors <Someone> wondered why there were no DOOR:nodoor specs for several doors in the Samurai quest. I wasn't positive, but it seemed like these should have been DOOR:closed, which is what I've added.
cohrs
2002-07-07 20:57:13 +00:00
40c4800613
B01016 - misplaced "you steal" message after being blasted by an artifact I saw no straight-forward way to insert the message earlier in the sequence, so... I reasoned that you might not yet have a good grasp and not be able to continue holding the object when reverting form. So, I made this into a drop case and made the drop message a rare past tense message. Past tense is still OK for the other drop cases. While testing this, I noticed you'd keep stealing even after reverting form. Added code to stop this. Finally, there was a missing MON_NOWEP call in the stealing code, added it.
cohrs
2002-07-07 20:22:57 +00:00
5802922a3d
picking up gold
nethack.allison
2002-07-07 19:10:17 +00:00
1359896784
eating conduct followup lost the non-EGG case when removing the unnecessary LEATHER, et al, checks.
cohrs
2002-07-07 15:25:23 +00:00
4a5b7ef893
special level alignments From the newsgroup a while back - special levels w/o a specific alignment should inherit their alignment from the dungeon. Some places explicitly checked the dungeon if the level alignment wasn't set, at least one did not.
cohrs
2002-07-07 07:18:05 +00:00
e8dc88c950
rotten food and veggie conduct <Someone> reported (in April) that eating cursed tripe, for example, did not violate vegetarian conduct. This patch moves the various conduct checks into common code that is executed before the rotten state of food is determined.
cohrs
2002-07-07 05:07:53 +00:00
efcf8f4d1c
avoid some glitches with a handheld compiler I was trying out src\muse.c(904) : error C2143: syntax error : missing ';' before '__try' src\muse.c(904) : warning C4091: ' ' : ignored on left of 'int ' when no variable is declared src\muse.c(904) : error C2059: syntax error : '=' src\muse.c(916) : error C2059: syntax error : '__try'
nethack.allison
2002-07-06 16:26:35 +00:00
24c368ac4a
travel command missing from help 'g'
nethack.allison
2002-07-06 14:00:05 +00:00
72ed171339
message structure bit
nethack.allison
2002-07-06 13:28:46 +00:00
3a946944a4
B01014 - chop through The rest of B01014 was fixed by my fix for B03003. This fix just changes the verb as suggested.
cohrs
2002-07-05 17:37:31 +00:00
194e43f882
messages when destroying a chest Remove the special case of "the" vs "a" in chest_shatter_msg(), just use an/An as appropriate.
cohrs
2002-07-05 15:58:16 +00:00
82389171d0
documentation bit document which strings correspond to which capacity levels Suggestion from <Someone>.
cohrs
2002-07-05 15:37:47 +00:00
421ec1767f
restore autodig behavior autodig messages were broken due to a change in the dig_typ interface which shifted all the values by 1, but not all callers of dig_typ got changed.
cohrs
2002-07-05 15:30:51 +00:00
fff14e7eed
NOCWD_ASSUMPTIONS under MSDOS followup
nethack.allison
2002-07-05 13:22:28 +00:00
26381228bc
knights and covetous monsters Implement Pat's suggestion of setting the mavenge flag when a covetous monster flees, since they may subsequently teleport back and attack even if mflee is set.
cohrs
2002-07-04 19:13:10 +00:00
2a058618e5
B03002 followup copied over the wrong version of fountain.c
cohrs
2002-07-04 18:27:22 +00:00
0859b5d30a
B03002 - missing fountain messages <Someone> reported that dowaternymph and dowaterdemon did not print a message when their G_GONE checks failed. Now they do. I wasn't feeling imaginative, so the the dowaterdemon message is the same as for no snakes.
cohrs
2002-07-04 18:25:26 +00:00
2c6a1eb7e1
R972 - rust monster eating gold When !GOLDOBJ, player polymorphed to a rust monster that attempted to eat gold in the inventory would fail to eat it, but the gold would be consumed anyway. Under GOLDOBJ, a later check would work around the invalid prompt.
cohrs
2002-07-04 17:47:18 +00:00
ff68892016
B03001 - trapdoors while blind and levitating The seetrap() was done for trapdoors & holes independent of whether a message was printed. Move the seetrap call into fall_through where the message logic lives (Sokoban holes always activate).
cohrs
2002-07-04 17:29:42 +00:00