Commit Graph
100 Commits
Author SHA1 Message Date
Pasi Kallinen 2c32d69a23 Fixes entry 2016-06-27 12:03:34 +03:00
Pasi Kallinen 030e3c0dfd Use the graymapping stuff in the tile lib 2016-06-23 10:15:55 +03:00
Pasi Kallinen 5f35d49105 X11: Make statue tiles look like grayscale monsters 2016-06-23 09:44:07 +03:00
Pasi Kallinen f32a9778b2 Unify mon throwing missile collision check 2016-06-22 21:59:29 +03:00
Pasi Kallinen d015cbec15 Silence some compiler warnings 2016-06-21 14:14:54 +03:00
Pasi Kallinen 9ff069ed19 Add fixes entries for my commits 2016-06-21 13:18:05 +03:00
Pasi Kallinen d91d445fc6 Fix compiler warning 2016-06-20 13:21:22 +03:00
Pasi Kallinen 53e8869a16 Cannot tame carnivorous ape with bananas 2016-06-20 13:05:01 +03:00
Pasi Kallinen 16118580d5 Tame simians with bananas
Bananas are quite rare, and none of the simians are very strong,
so this won't be in any way overpowered - just a bit of flavor.

I think this was originally Derek's change from Sporkhack, but
similar ones have been done in the community multiple times
in the past.
2016-06-20 12:56:58 +03:00
Pasi Kallinen 3eb919d5ab Fix #H4411: Targeting detected monster through wall with fireball
Fireball and cone of cold could target detected monsters
through a wall when cast at skilled or higher.  This allowed
eg. targeting the Wiz from outside his tower.

Use walk_path to determine the actual location where the
spell will hit, so trying to cast through a wall will
make the explosion happen at the nearest empty space.
2016-06-20 09:11:56 +03:00
Pasi Kallinen 7c117908c5 Merge branch 'bobbydurrett-mailenvfix' into NetHack-3.6.0 2016-06-18 20:39:22 +03:00
Pasi Kallinen bb87745142 Merge branch 'mailenvfix' of https://github.com/bobbydurrett/NetHack into bobbydurrett-mailenvfix 2016-06-18 20:37:34 +03:00
Pasi Kallinen 8fdd2318c1 Change deserted temple ghost messages 2016-06-13 11:25:34 +03:00
Pasi Kallinen 942ee14d0f Move generic usernames to sysconf 2016-06-13 11:01:05 +03:00
Pasi Kallinen 3f5116fbd4 Add more hallu liquids 2016-06-13 10:26:13 +03:00
Pasi Kallinen 2ca57b9969 Change fountains to bright blue
It's "sparkling water" after all, and makes it more obvious they're
different from water.
2016-06-11 22:43:58 +03:00
Pasi Kallinen 01d580cc0a Make ray bounceback depend on the wall type. 2016-06-11 22:26:27 +03:00
Pasi Kallinen 69aca5ac96 Reduce #turn undead helpless duration 2016-06-11 21:33:12 +03:00
Pasi Kallinen 939e507345 When attacking a peaceful monster, make other peaceful monsters react. 2016-06-11 20:27:55 +03:00
Pasi Kallinen b75ce0b996 Prevent diagonal jump through open door 2016-06-11 19:27:50 +03:00
Pasi Kallinen 3502cfcc5a Hallucinatory liquids for water, lava, and acid 2016-06-07 20:57:50 +03:00
Pasi Kallinen a157c4873d Fix typo 2016-06-07 08:58:52 +03:00
Pasi Kallinen e276540230 Remove extraneous curses gfx define 2016-06-06 21:16:01 +03:00
Pasi Kallinen c36bc0043c Improve the Guidebook config file section 2016-06-04 12:43:09 +03:00
Pasi Kallinen ad9e3dcef9 Comment the limitation and reason 2016-06-04 08:14:41 +03:00
Pasi Kallinen b4c14f0c34 Fix #H4369: what-is reporting singular of null when given only spaces 2016-06-04 08:02:08 +03:00
Pasi Kallinen 5009a67264 Allow pets to use ranged attacks
This is the Pet ranged attack -patch by Darshan Shaligram,
with the spellcaster parts removed to keep it simpler.

Pets will now throw, spit and breathe at other monsters.
2016-06-04 01:06:07 +03:00
Pasi Kallinen 4d594f77c2 Split direction key showing into separate function 2016-06-03 21:08:43 +03:00
Pasi Kallinen cc839a56c6 Clear leashmon when leash is generated, even without obj init 2016-06-03 19:33:51 +03:00
Pasi Kallinen 984785b13c Give a hint that containers are looted instead of opened 2016-06-02 18:11:41 +03:00
Pasi Kallinen 8240db3445 Show in inventory which monster a leash is attached to 2016-06-02 16:35:21 +03:00
Pasi Kallinen a5d3d0fdb8 Make coyote names deterministic 2016-06-01 18:38:21 +03:00
Pasi Kallinen 5503c5e1e4 Disable object pile display when hallucinating
Hallucination shows object piles under boulders
2016-06-01 18:29:05 +03:00
Pasi Kallinen e138a4b069 Fix travel occasionally walking you into pools
This was a bug introduced post-3.6.0 in commit 9a2eb370e7
2016-05-31 20:41:39 +03:00
Pasi Kallinen 52efd541c0 Update fixes file 2016-05-29 22:20:52 +03:00
Pasi Kallinen b4cefa724d Add fixes entry for the "autoexplore" 2016-05-29 16:00:09 +03:00
Pasi Kallinen d45d475468 Gremlin wailing in agony should wake up nearby monsters
Also allow wizmode ^G create sleeping monsters
2016-05-29 09:35:55 +03:00
Pasi Kallinen bbe02dca2b Add rudimentary autoexplore to getloc
Pressing 'x' or 'X' will move the cursor to a possibly unexplored location.
2016-05-28 14:55:02 +03:00
Pasi Kallinen ac8bde0f70 Some code reorg for the getloc nearest/farthest locs 2016-05-28 14:27:07 +03:00
Pasi Kallinen 3bbf12d8b5 Minor code reorg in gather locs 2016-05-28 13:52:53 +03:00
Pasi Kallinen 4341be8c89 Merge branch 'tung-infinite-travel-fix' into NetHack-3.6.0 2016-05-28 09:51:14 +03:00
Pasi Kallinen 332780763e Merge branch 'infinite-travel-fix' of https://github.com/tung/NetHack into tung-infinite-travel-fix 2016-05-28 09:50:20 +03:00
Pasi Kallinen d51db5a992 Make getpos for doors also target drawbridges 2016-05-27 18:47:56 +03:00
Pasi Kallinen 962610f365 Reset dooridx too 2016-05-26 17:58:17 +03:00
Pasi Kallinen caafec1bc7 Separate permonst valid location humidity function 2016-05-23 22:19:43 +03:00
Pasi Kallinen fdc1889d0d Allow quick pick doors and doorways in getloc 2016-05-23 21:03:10 +03:00
Pasi Kallinen 3b38c75517 Free mailbox at exit 2016-05-23 17:18:24 +03:00
Pasi Kallinen e37da61b30 Fix valgrind complaints of uninitialized memory 2016-05-23 16:21:36 +03:00
Pasi Kallinen 29e9179ca5 Minor tweakage of the sample config 2016-05-22 00:00:06 +03:00
Pasi Kallinen f556009458 Add sample config file
Several people seem to be confused about config file and what to
put in it.  Perhaps this'll help a bit.  The options are mostly
in alphabetical order, except where it makes sense to group
them together.

Also add fixes36.1 to the Files
2016-05-21 11:29:43 +03:00
Pasi Kallinen d9fabb9642 Unify monster use healing potions checks 2016-05-20 20:35:02 +03:00
Pasi Kallinen 2ea8666583 Interrupt a multi turn action if hp or pw is restored to maximum
via UnNetHack by Patric Mueller
2016-05-19 22:04:10 +03:00
Pasi Kallinen d11241f61e Add more lighting variance to bigroom v2 2016-05-19 20:57:56 +03:00
Pasi Kallinen 0db1e1ca38 Unify pet and monster digging item checks 2016-05-19 18:46:29 +03:00
Pasi Kallinen de716ec533 Unify shop location stocking test 2016-05-19 18:05:54 +03:00
Pasi Kallinen 166cbd4434 Fold character race/role/gender/align option parsing into single function 2016-05-13 16:43:27 +03:00
Pasi Kallinen cf8520cbb1 Fold role ability switches into single function 2016-05-13 11:41:04 +03:00
Pasi Kallinen 02760cc45d Unify autopickup object test
This also fixes a malloc segfault due to the tests not matching,
introduced by me post-3.6.0
2016-05-11 22:13:44 +03:00
Pasi Kallinen 89dd37f8c7 Fix wish text matcher not allowing probability 0 objects 2016-04-30 22:41:41 +03:00
Pasi Kallinen 0956054b30 Better wishing text match
Try harder to find a matching object, and if multiple objects would
match, pick one from all the matches at random.
2016-04-23 22:38:25 +03:00
Pasi Kallinen 638aa6969c Unify piousness strings 2016-04-23 12:00:02 +03:00
Pasi Kallinen c5aa0ff368 Simplify the web destruction func 2016-04-22 22:47:43 +03:00
Pasi Kallinen a181c2f93b Fix dead mon and guard sanity checking 2016-04-18 19:52:54 +03:00
Pasi Kallinen 8132cb5a42 Unify web burning or dissolving
Also make any flaming monster burn webs.

This also fixes a bug, where a gelatinous cube monster did not
dissolve the web.
2016-04-17 17:02:47 +03:00
Pasi Kallinen fe006b9c0a Add CHECK_PLNAME to sysconf
Setting CHECK_PLNAME to 1 makes WIZARDS, EXPLORERS, and SHELLERS
check the player name instead of the user's login name.

This is mostly useful for public servers which have external
login system and don't create user accounts for players.
2016-02-05 20:39:17 +02:00
Pasi Kallinen 0ca477486d Unify putting a saddle on steed 2016-02-05 17:23:22 +02:00
Pasi Kallinen 00935a11c8 Allow wizmode creating saddled and invisible monsters 2016-02-05 16:58:13 +02:00
Pasi Kallinen 93c00d5c82 Add git mailmap file to canonize committer names
Without rewriting the complete commit history, we cannot adjust
the committer names or emails. Luckily git allows mapping committer
names and email via the .mailmap file in the repo.

Most visible difference is when using "git shortlog -sne"
2016-02-04 09:57:00 +02:00
Pasi Kallinen 89809bf71e Very tiny typofix 2016-02-01 13:43:43 +02:00
Pasi Kallinen d591ebaa46 Fix bz58: Inheritance dispute between shk and risen undead
Prevent shopkeeper from "gratefully inheriting all your possessions"
when your corpse rises as undead.
2016-01-29 16:59:27 +02:00
Pasi Kallinen a309e076e0 X11: Attach translations also to menuform
Without this, the keyboard commands don't work in the extended
command window on Linux. If the translations are removed from
menuformview, then the keyboard commands don't work on Mac.

Having the translations in both doesn't seem to hurt.
2016-01-28 19:44:33 +02:00
Pasi Kallinen d06450817b X11: autoscroll extended command menu
When you type in the extended command menu to select a command,
scroll the window so that the selected command is always in view.
2016-01-17 13:55:13 +02:00
Pasi Kallinen 06aedee513 X11: Match new extcmd immediately if no match was found
When entering an extended command, allow the user just type
and match a new command immediately, if no match was found,
instead of needing to wait the 2.5 seconds.
2016-01-16 19:05:30 +02:00
Pasi Kallinen 665bdebcf4 Add fixes entries 2016-01-16 12:20:25 +02:00
Pasi Kallinen 04bc048073 Limit aggravate to inside or outside of the Wizard's tower
There have been several comments on IRC how the Wizard is a very
light sleeper now; aggravate cast by monsters makes him wake up
and come out of the tower.  So, lets limit aggravate to either
outside or inside of the tower, depending on which side the player is.
2016-01-16 09:45:12 +02:00
Pasi Kallinen 9b4d52397c Fix bz51: Revived unique inherits corpse name 2016-01-15 22:02:46 +02:00
Pasi Kallinen 8efec0a547 Allow crawling out of water on Plane of Water after hurtling 2016-01-15 15:40:29 +02:00
Pasi Kallinen c038522b9d Fix bz65: Water behaves strangely when hurtling out of air bubble
When levitating on the plane of water, get an unattached iron ball,
and throw it. You'll hurtle in the opposite direction, out of the air
bubble and into water, but don't drown.
2016-01-15 13:47:19 +02:00
Pasi Kallinen 4d866a2217 bz24: Wrong floor descriptions on Planes when levitating and going down 2016-01-15 13:15:13 +02:00
Pasi Kallinen 17a4fc4492 Minor formatting fix 2016-01-15 13:02:42 +02:00
Pasi Kallinen 9f4d8d9301 Warning glyph description is wrong when trap symbol is same
This fixes bz23: Warning glyph info wrong with TRAPS=50, even
though you don't set the trap symbols via TRAPS anymore, the
bug still existed. To trigger it, use SYMBOL=S_arrow_trap:2
and look at monster that appears as warning '2'.
2016-01-15 12:38:02 +02:00
Pasi Kallinen 5acb659076 Add more color aliases for menucolors and statushilites 2016-01-13 20:35:06 +02:00
Pasi Kallinen 1dd37b7fca Make status hilites use same color string matching as menucolors 2016-01-13 20:27:21 +02:00
Pasi Kallinen c49490dfd4 Rename getpos_coord values to "compass" and "map" 2016-01-13 12:21:27 +02:00
Pasi Kallinen ef3ce49dd4 Make getpos monster/object coord picker deterministic
...and make it pick coordinates top-left to bottom-right.
2016-01-13 10:22:44 +02:00
Pasi Kallinen 99ee354637 Fix get_count: ^H should go left instead of backspacing a count 2016-01-12 08:20:13 +02:00
Pasi Kallinen 6dd6584e21 Add getpos_coord to fixes file 2016-01-11 21:12:52 +02:00
Pasi Kallinen 0ee5d8ce47 Add getpos_coord option
Allows showing the coordinate when picking a position on the
map with '/' and autodescribe is on.

This is another blind player request
2016-01-11 21:10:51 +02:00
Pasi Kallinen c902b44b5b Document fixes 2016-01-10 18:54:35 +02:00
Pasi Kallinen 854fe40609 Fix bz175: Pile mark is shown when potion is destroyed
Original bug report:

> When killing something that's carrying a potion, or death-drops a potion,
> or stands on top of a potion, with a force bolt or a wand of striking,
> "you hear something shatter" or "a potion of foo shatters" but the corpse
> is inverse as if it's (still) a pile.

Unfortunately the newsym() checks for already existing glyph, and
the gbuf doesn't distinguish between object piles and single items,
so newsym doesn't mark the location for update.

This is a dirty hack to force the newsym to update the glyph.
The glyph buffering should be revisited in a future version.
2016-01-10 18:33:41 +02:00
Pasi Kallinen a8172e1208 Fix unreferenced variable 2016-01-10 18:24:38 +02:00
Pasi Kallinen fe01018d90 Enable TIMED_DELAY for linux hints files
runmode is completely useless in TTY without this
2016-01-10 15:09:03 +02:00
Pasi Kallinen c6bf49f647 Small code cleanup 2016-01-10 14:47:06 +02:00
Pasi Kallinen 65d780dc3d Add compile-time option MSGHANDLER
This was a feature request from a blind player; he wanted to
play a sound whenever a pline message was given.
2016-01-10 13:08:20 +02:00
Pasi Kallinen e7d65a44cd TTY: Add compile-time option for tile data hinting
Several people have asked if 3.6.0 supports playing with tiles on
a public server. Because there's no way for the user's end to know
what that white @ is, this adds special console escape codes for
tile hinting.

The idea was originally a patch called TelnetTiles by Justin Hiltscher,
but this expanded version comes via NAO, where it's been in use for years.

This is basically an interim hack, which should go away when/if
we support actual client-server model.
2016-01-10 10:53:15 +02:00
Pasi Kallinen 653f75edc1 Add missing variable init 2016-01-10 10:09:56 +02:00
Pasi Kallinen 1e1557ed46 Add extended command #kick
I've seen some complaints about not being able to kick with ^d
so add kick as an extended command.

Also add the missing #exploremode command to the Guidebook.
2016-01-09 13:39:47 +02:00
Pasi Kallinen 7e4e9f263a Update fixes 2016-01-09 13:16:43 +02:00
Pasi Kallinen ff4a59ef23 Fix bz258: Covetous monsters malfunction when there are no upstairs
Make the monsters pick downstairs/ladders if the branch builds up
(like Sokoban), otherwise try upstairs/ladders.
2016-01-09 12:07:35 +02:00
Pasi Kallinen a2a1027be1 Fix bz62: Pets walk into poison clouds
Makes monsters who would be damaged by the poison cloud
not walk into it
2016-01-09 02:25:52 +02:00