Feature Request: Buy and destroy all shortcut

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • Maupin
    replied
    Sweet. Comment out that annoyance.

    Now I'll have to see about getting a Windows compile going so I can have my proper Angband back!

    I swear my playing progress has been stunted by having to press 'n' every time I want to destroy an item (which is often when I'm managing backpack slots for egos to take back to market). I spend the same amount of time playing but don't get nearly as far!

    Leave a comment:


  • pav
    replied
    Originally posted by Maupin
    Cannot wait for a patch or "bug fix" to remove the current annoying squelch prompt every single time you want to destroy an item! This is my number one pet peeve with the current Angband. We already have a squelch menu - no need to pester the player relentlessly.
    Yeah, this annoyprompt is a deal-breaker for me too. So I fixed it with a bit of a magic dust here and there:

    Code:
     14 diff -rua work/angband-3.1.1.1626/src/cmd3.c work-heavily-patched/angband-3.1.1.1626/src/cmd3.c
     15 --- work/angband-3.1.1.1626/src/cmd3.c  2009-07-26 00:22:39.000000000 +0200
     16 +++ work-heavily-patched/angband-3.1.1.1626/src/cmd3.c  2009-10-06 22:52:42.000000000 +0200
     17 @@ -302,11 +302,13 @@
     18         o_ptr = object_from_item_idx(item);
     19  
     20         /* Ask if player would prefer squelching instead of destruction */
     21 +       /*
     22         if (squelch_interactive(o_ptr))
     23         {
     24                 p_ptr->notice |= PN_SQUELCH;
     25                 return;
     26         }
     27 +       */
     28  
     29         /* Get a quantity */
     30         amt = get_quantity(NULL, o_ptr->number);

    Leave a comment:


  • PowerDiver
    replied
    Originally posted by Ghen
    I lol'd


    -Ghen
    Then you might also find it amusing that Takkaria would happily grant me commit access, but it is I who does not trust me.

    Leave a comment:


  • Ghen
    replied
    Originally posted by Magnate
    Did you ever get commit access to rephial or are you still too much of a dangerous radical for that?
    I lol'd


    -Ghen

    Leave a comment:


  • PowerDiver
    replied
    [QUOTE=Magnate;24784I would not recommend sinking time into 3.1.1, as it is unlikely there will be another point release if Takk is taking a break.[/QUOTE]

    Timo e.g. plays 3.1.1 and not 3.1.2, and is capable of compiling, so I don't think it is necessarily right to ignore 3.1.1.

    Leave a comment:


  • Magnate
    replied
    Originally posted by PowerDiver
    I'm even waffling about what I am waffling about.
    I need the go-betweens on commit. I have a new volunteer.
    If I rewrite the options code, then my patch will work on 3.1.2 but not on 3.1.1.

    Doing it with a script is just a little more time. Posting here is a bigger time sink. Deciding what to do is the hard part.

    Learning is done too differently to use my old squelch code directly. I sent Tak a bunch of changes over the past months, and I was waiting to see what got in before I tackled real squelch.

    My wife won't play without squelch done right, so there is pressure for me to get it done sooner rather than later since I want her to be able to try out 3.1.
    If she will play 3.1.2dev then I will happily test and commit your patches to the options code. I would not recommend sinking time into 3.1.1, as it is unlikely there will be another point release if Takk is taking a break.

    Leave a comment:


  • PowerDiver
    replied
    Originally posted by Magnate
    Did you ever get commit access to rephial or are you still too much of a dangerous radical for that? I can't quite work out from your post whether you're going to rewrite the options code, write a perl script to work around it, or both. IMO reworking the code would be a better use of your time than writing a perl script.
    I'm even waffling about what I am waffling about.
    I need the go-betweens on commit. I have a new volunteer.
    If I rewrite the options code, then my patch will work on 3.1.2 but not on 3.1.1.

    Doing it with a script is just a little more time. Posting here is a bigger time sink. Deciding what to do is the hard part.

    Learning is done too differently to use my old squelch code directly. I sent Tak a bunch of changes over the past months, and I was waiting to see what got in before I tackled real squelch.

    My wife won't play without squelch done right, so there is pressure for me to get it done sooner rather than later since I want her to be able to try out 3.1.

    Leave a comment:


  • Magnate
    replied
    Originally posted by buzzkill
    It's the current FAAngband method. I find it works well there, although it doesn't encompass quality squelching.
    In the original Eddieband patch it was even better: it asked you "do you want to squelch all non-ego 2d6 weapons weighing >= 12lbs?" and questions like that. Not sure why that didn't make it into 3.1.1 - don't think it was quite reliable enough. I am hoping that Eddie will be inspired to generate more patches after he does his buyout one.

    Leave a comment:


  • buzzkill
    replied
    Originally posted by Magnate
    That y/n/s solution works for me - I have no idea why Tak is opposed to it.
    It's the current FAAngband method. I find it works well there, although it doesn't encompass quality squelching.

    Leave a comment:


  • Magnate
    replied
    Originally posted by PowerDiver
    I don't know exactly why, but I remember the tone of some emails where it was mentioned.

    The patch would be trivial, but when I copied code from various places it didn't quite work because the codebase is evolving. So I got ambitious, and decided to write it as a perl script that should hopefully continue to work even as the files continue to change. There is a lot of evil hardcoding in the options code, and I keep waffling on the right way to modify it. Hopefully I will be in the mood to finish it in a few days.
    Did you ever get commit access to rephial or are you still too much of a dangerous radical for that? I can't quite work out from your post whether you're going to rewrite the options code, write a perl script to work around it, or both. IMO reworking the code would be a better use of your time than writing a perl script.

    Leave a comment:


  • PowerDiver
    replied
    Originally posted by Magnate
    That y/n/s solution works for me - I have no idea why Tak is opposed to it.

    Looking forward to your patch.
    I don't know exactly why, but I remember the tone of some emails where it was mentioned.

    The patch would be trivial, but when I copied code from various places it didn't quite work because the codebase is evolving. So I got ambitious, and decided to write it as a perl script that should hopefully continue to work even as the files continue to change. There is a lot of evil hardcoding in the options code, and I keep waffling on the right way to modify it. Hopefully I will be in the mood to finish it in a few days.

    Leave a comment:


  • Magnate
    replied
    Originally posted by PowerDiver
    I see two choices to avoid an option, both really bad. (1) Separate commands for squelch vs destroy. This is bad because commands are at a premium, and it just isn't worth the future cost of losing a letter. (2) The game remembers how often you squelch vs destroy, and adjusts the order of the questions. That's horrible for fingers that learn to do things one way then face a reversed UI later on, and it would screw up writing macros. There used to be (y/n/s) prompt, but I believe Tak is more strongly opposed to that than to a UI option, so I don't think that possibility is on the table.
    That y/n/s solution works for me - I have no idea why Tak is opposed to it.

    Looking forward to your patch.

    Leave a comment:


  • PowerDiver
    replied
    Originally posted by Magnate
    Does the squelch prompting really have to be an option? IIRC Takk is trying to avoid option bloat - can't we just agree on whatever the small change is that stops it being irritating to so many?
    I see two choices to avoid an option, both really bad. (1) Separate commands for squelch vs destroy. This is bad because commands are at a premium, and it just isn't worth the future cost of losing a letter. (2) The game remembers how often you squelch vs destroy, and adjusts the order of the questions. That's horrible for fingers that learn to do things one way then face a reversed UI later on, and it would screw up writing macros. There used to be (y/n/s) prompt, but I believe Tak is more strongly opposed to that than to a UI option, so I don't think that possibility is on the table.

    The point of me writing a separate patch is to let Tak keep V pure, but give people who can't stand the status quo a way around it. There are people who think it is better to use the godawful squelch menus, and I don't see how argument will change their minds.

    Maybe they will change their minds when you have the option to squelch all weapons weighing more than 7 lbs doing less than (2d5 + 7) damage, but that sort of thing is off in the uncertain future. There may also be reluctance to squelch things that are junk on this trip, but you think you might sell if picked up on a later trip. Another unintended consequence of allowing selling.

    The main argument against option bloat is about the difficulty of balancing the game against all permutations of options, but that is irrelevant when discussing pure UI options. Also, I'm adding a gameplay option, so clearly I'm not even convinced by the main argument.

    Leave a comment:


  • Magnate
    replied
    Originally posted by PowerDiver
    I plan to release a patch with (1) buyout button and (2) UI option controlling squelch prompting and (3) birth option for no selling.

    With regards to (3), I'm thinking I will allow selling for 0 money for id purposes. Should I change the option name from no_selling to selling_for_zero or something like that?
    Yeah, that works. Rather than write a buyout button from scratch, why not have a look at the "persuade shopkeeper to retire" code from S? It's essentially the same fix to the same problem, with the abuse bar raised a little higher.

    Does the squelch prompting really have to be an option? IIRC Takk is trying to avoid option bloat - can't we just agree on whatever the small change is that stops it being irritating to so many?

    Leave a comment:


  • fizzix
    replied
    Originally posted by Rizwan
    Whats with this instant gratification thing. We need to suck it up and wait it out. If a thing is not in the store then tough luck. You can't have everything when YOU want it. In this regard I suggested a while back to use the shopkeeper rotation method. There are four shopkeepers, use them, rotate them at some predetermined time (turn count) and every shopkeeper then brings new inventory. Make the time that the shopkeepers rotate such that a modest dive would be enough to trip the counter.
    It has less to do with 'instant gratification' and more to do with the difficulty of using a certain game option. If you think the game option should not be there, that is a separate issue. Granted it's one that should be discussed, but it's not at the heart of this debate.

    Leave a comment:

Working...
😀
😂
🥰
😘
🤢
😎
😞
😡
👍
👎
☕