![]() |
#1 |
Angband Devteam member
Join Date: Aug 2008
Location: Philadelphia, PA, USA
Age: 43
Posts: 1,517
![]() |
New command: (h) fires default ammo at nearest target
I added this command while testing the quiver and found it really nice. If people think there is too much "feature creep" I can take this command out, but I do think it does what one wants "most of the time." It's available in r1805.
The "default ammo" is the ammo in the lowest numbered slot of the quiver. This command won't fire ammo out of the inventory; if there is no acceptable ammo in the quiver, you'll get a message like "You have no ammunition in the quiver to fire." If there is no closest enemy, you'll be asked if you want to fire anyway (like if you use f on an out-of-range target). Once one gets used to this feature, the next thing one tends to want is a way to distinguish the "in range" squares from the "out of range" squares visually. Thoughts? EDIT: I should say that I plan to update the documentation to include this command if the community ends up liking it. Otherwise I will just remove it again. Last edited by d_m; November 30, 2009 at 17:20. |
![]() |
![]() |
![]() |
#2 |
Swordsman
Join Date: Apr 2007
Posts: 441
![]() |
Why not add this as a default keymap instead of a C level command?
__________________
One Ring to rule them all. One Ring to bind them.
One Ring to bring them all and in the darkness interrupt the movie. |
![]() |
![]() |
![]() |
#3 |
Angband Devteam member
Join Date: Aug 2008
Location: Philadelphia, PA, USA
Age: 43
Posts: 1,517
![]() |
The big advantage is that it prints many fewer messages. But it's a fair point.
|
![]() |
![]() |
![]() |
#4 |
Adept
Join Date: Nov 2009
Posts: 174
![]() |
Sounds good - but i fear that i will end up in front of a wall running towards west
![]() |
![]() |
![]() |
![]() |
#5 | |
Angband Devteam member
|
Quote:
never seen remembered as dark remembered as lit in-LOS lit in-LOS dark (not sure if these two are distinct depending on current options) in-light-radius in-range lit in-range dark ... that's starting to encroach on monster colour territory. |
|
![]() |
![]() |
![]() |
#6 |
Swordsman
Join Date: Jul 2008
Posts: 308
![]() |
What if rogue-like commands are enabled? (h) was already in use in that case (move left).
|
![]() |
![]() |
![]() |
#7 | |
Angband Devteam member
Join Date: Aug 2008
Location: Philadelphia, PA, USA
Age: 43
Posts: 1,517
![]() |
Quote:
I had forgotten that I needed to protect the rogue keyset. |
|
![]() |
![]() |
![]() |
#8 |
Adept
Join Date: Nov 2009
Posts: 174
![]() |
|
![]() |
![]() |
![]() |
#9 | |
Swordsman
Join Date: Jul 2008
Posts: 308
![]() |
Quote:
|
|
![]() |
![]() |
![]() |
#10 |
Angband Devteam member
Join Date: Aug 2008
Location: Philadelphia, PA, USA
Age: 43
Posts: 1,517
![]() |
Clearly I need to read up in the code on how the keysets work. You're right that the roguelike set might need to use a different key. What key(s) would you recommend for this?
|
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
slings, bows and ammo | fizzix | Vanilla | 25 | December 1, 2009 06:18 |
Target in range indicator? | ChodTheWacko | Vanilla | 1 | November 28, 2009 16:14 |
Artefact ammo | miyazaki | Vanilla | 18 | October 29, 2009 03:23 |
Options that you think should be on (off) by default | PaulBlay | Variants | 13 | June 18, 2009 03:12 |
Special macro command - interrupt for direction / target | PaulBlay | Development | 0 | February 25, 2009 11:24 |