]> granicus.if.org Git - nethack/commit
more #tip, mostly container-to-container
authorPatR <rankin@nethack.org>
Thu, 15 Sep 2022 19:30:44 +0000 (12:30 -0700)
committerPatR <rankin@nethack.org>
Thu, 15 Sep 2022 19:30:44 +0000 (12:30 -0700)
commit5b0f4a2e6de0df991e7bbe979ead4cd591e984c4
tree4be09e743dc24cf1f44223ff0f1ea8e30aff3a57
parent48bd67a25f93cd34a9910dfcc30d84b914fe4540
more #tip, mostly container-to-container

Require a free hand when tipping a container into another container.
Presumeably you need to open the destination container and possibly
keep holding it open.

If you try to tip a carried container into an unknown bag of tricks,
apply the bag (once) instead of performing the tip.  (To 'open' the
destination as above.)  Possibly slightly confusing if bag is empty.

When tipping a container, always ask for the destination instead of
doing that only when carrying other containers.  Confirming floor
as destination can be annoying but having to do that sometimes and
skipping that sometimes is aggravating because it is error prone.
And floor is preselected so can be chosen with space or return.
(I wanted to change the selector letter for floor from '-' to '.'
and then keep '-' as an unseen group accelerator, but the latter
doesn't work for PICK_ONE so I've left '-' as-is.)

Don't display "monsters appear" after tipping a bag of tricks.
Monster creation gives feedback these days.  (Comparable to recent
"summon nasties" fix.)
src/makemon.c
src/pickup.c