The holding / staying command (with poll :)

General discussion about the game. Pull up a stool and tell us your tale!
Post Reply

What button do you use to pickup item?

g (jeee)
8
53%
, (coma)
5
33%
other (please explain in post)
2
13%
 
Total votes: 15

User avatar
Flambard
Iridescent Beetle
Posts: 233
Joined: Wed 20.06.2007, 10:49

The holding / staying command (with poll :)

Post by Flambard » Fri 13.05.2011, 23:46

I was a bit tired to do a proper post yesterday, but basically there is some curious change requiring community attention :)

In old Angband (and current MAngband) the keys ',' and 'g' are mapped to perform the same command - "stay". Staying, as you all know, has some interesting properties, like entering shops and grabbing items.

"Staying" picks up items IF always_pickup option is OFF. (That was news to me)

Now, Angband 3.0.6 separated the ',' and 'g' keys and added the "hold" command (it took 'g').

"Holding" picks up items IF always_pickup option is ON.

If you think this is all very confusing, chances are Vanila devs were thinking similarly, because in Angband 3.0.9, there is a clear separation of the two:
',' key is used for "standing" - standing still and not picking up ever (despite any options).
'g' key is used for 'picking up' - grabbing items (despite any options).
And that's that.

I'm thinking introducing *any* of those changes will break at least someone's gameplay.. But I'm a bit at loss with all that, how do you guys play? :)

serina
Crystal Ooze
Posts: 373
Joined: Sat 15.09.2007, 18:42

Re: What button do you use to pickup item?

Post by serina » Sat 14.05.2011, 09:38

5

grisu
Giant Long-Eared Bat
Posts: 36
Joined: Thu 21.12.2006, 13:33

Re: The holding / staying command (with poll :)

Post by grisu » Sat 14.05.2011, 12:01

5

Warrior
Ancient MultiHued Dragon
Posts: 661
Joined: Sat 26.10.2002, 15:00
Location: Norway
Contact:

Re: The holding / staying command (with poll :)

Post by Warrior » Sat 14.05.2011, 21:00

I mostly use g
-- Mangband Project Team Member

PowerWyrm
Balrog
Posts: 1566
Joined: Sun 27.11.2005, 15:57

Re: The holding / staying command (with poll :)

Post by PowerWyrm » Mon 16.05.2011, 11:43

I always use the comma. Even more because in PWMAngband, 'g' is used to pick things up while bypassing the squelch settings (the comma allows items to be "squelched", aka being marked for destruction, when picked up).

In Vanilla, things have changed again with the latest releases. You now have the following commands (from command.txt, Angband 3.2.0):

Walk (with pickup) (;)
Moves one step in the given direction. The square you are moving
into must not be blocked by walls or doors. You will pick up any
items in the destination grid if the "always_pickup" option is set,
or if the "query_pickup" option is set and you respond correctly.
You may also use the "original" direction keys (both keysets) or
the "roguelike" direction keys (roguelike keyset) to walk in a
direction. This command may take a count, requires a direction,
and takes some energy.

Walk (flip pickup/disarm/open) (-)
This is just like normal move, except that the "Pick things up"
option is inverted. In other words, if you normally pick up
anything you encounter (the default), you will not pick things up
when using this command. If you normally do not pick things up,
you will when using this command. Similarly if you normally disarm
a known trap on movement, you will not disarm, and if you normally
open a closed door you will instead walk into it. This command may
take a count, requires a direction, and takes some energy.

Stay still (with pickup) (,) or Stay still (with pickup) (.)
Stays in the same square for one move. If you normally pick up
objects you encounter, you will pick up whatever you are standing
on. You may also use the "5" key (both keysets). This command
may take a count, and takes some energy.

Get objects (g)
Pick up objects and gold on the floor beneath you. Picking up
gold takes no time, and objects take 1/10th of a normal turn each
(maximum time cost is a full turn). You may pick up objects until
the floor is empty or your backpack is full.

From the source code, there is no real difference between the comma and g commands, except that the 'g' command allows to quickly pickup single objects and presents a menu for more (for item piles). The comma will act according to the player's settings (squelch and pickup options).

PowerWyrm
Balrog
Posts: 1566
Joined: Sun 27.11.2005, 15:57

Re: The holding / staying command (with poll :)

Post by PowerWyrm » Mon 16.05.2011, 11:45

'5' is mapped to comma in pref.prf, so it's not really a command key.

Ace
Crystal Ooze
Posts: 367
Joined: Fri 15.02.2008, 12:50

Re: The holding / staying command (with poll :)

Post by Ace » Mon 16.05.2011, 13:26

my gawd whats going on here :D I need to read through this again :)

Domiano
Crimson Mold
Posts: 55
Joined: Sat 23.04.2011, 04:10

Re: The holding / staying command (with poll :)

Post by Domiano » Thu 26.05.2011, 05:34

I use 'g' to 'g'rab things.

I am a little confused though: does mangband need a 'stand still and don't pick stuff up' key...?
I can't imagine what it would be used for...
I guess maybe to stop you from resting...

Thorbear
Two-Headed Troll
Posts: 130
Joined: Wed 12.01.2005, 15:00
Location: Check my IP
Contact:

Re: The holding / staying command (with poll :)

Post by Thorbear » Fri 03.06.2011, 13:13

Well, it enables the possibility to have monsters next to you without attacking them. If you hold down the stand still button, you'll use all your turns on "standing still", and won't auto-attack. For whatever usefulness :P
I am Thorbear... The One and Only... VirusKillerDeluxe

michaeljee
Blubbering Idiot
Posts: 1
Joined: Wed 05.12.2012, 09:48

Re: The holding / staying command (with poll :)

Post by michaeljee » Wed 05.12.2012, 09:55

Hi That is great, That is awesome information, i was also looking for this.
Regards
michaeljee9

Emulord
King Vampire
Posts: 252
Joined: Mon 30.04.2007, 20:19
Location: UIUC

Re: The holding / staying command (with poll :)

Post by Emulord » Wed 05.12.2012, 20:59

g

User avatar
Flambard
Iridescent Beetle
Posts: 233
Joined: Wed 20.06.2007, 10:49

Re: The holding / staying command (with poll :)

Post by Flambard » Fri 15.02.2019, 08:58

In 1.5.0alpha, this has been changed to:

- g - hold - pickup items. always picks up (doesn't matter which options are set)
- , - stay - pickup items if auto_pickup=off, stay and do nothing if auto_pickup=on

This is closer to V3.2.0 (as explained by powerwyrm), but not quite the same.

Sadly, this means there is now no command to "stay and do nothing", when auto_pick=off.
If you, for some reason, need this functionality, or think MAngband, in general, needs such command, please let me know, and we'll probably "break"/invert coma in the future version.

tangar
Giant House Fly
Posts: 12
Joined: Sun 05.06.2016, 10:58
Contact:

Re: The holding / staying command (with poll :)

Post by tangar » Fri 15.02.2019, 15:56

Fun :) I'm always remapping pick up key to 0 at numpad ;)
youtube.com/GlazGame — streams in English ⍽⍽⍽⍽⍽⍽ youtube.com/StreamGuild — streams in Russian

Post Reply