Preparation for 4.1 release

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Gwarl
    Administrator
    • Jan 2017
    • 1025

    Originally posted by takkaria
    So the numbers are derived from the order in which they appear in the object.txt file. If you add one book at the end of the list, that should be #9. After that there isn't anything at present, but I can modify it so that 0 will follow 9.

    I think it's true that Angband should be for variants, but there are tradeoffs. This particular change is there to allow the vast majority of people to play without having to set up inscriptions and auto-inscriptions on books if they don't want to accidentally cast the wrong spell occasionally. I will modify it so that after the first 10 it reverts to letters.
    Can't you achieve the same thing by using autoinscriptions though? Even having the books autoinscribed by default. I just think that anything that can be changed inside editable files should be, and hard coding should be a last resort.

    In fact I'm probably going to be autoinscribing books 1-8 with a-h now.

    Comment

    • PowerWyrm
      Prophet
      • Apr 2008
      • 2986

      Originally posted by Nick
      Yes, it would. One of the first things (caveat: there are a few first things) I will be doing post-4.1 is re-doing how magic realms are handled. There will be a number of details to thrash out, but I'm at least looking at the potential for a class to have books from more than one realm (if realm is even the correct concept).
      I was waiting for this for a long time. Currently, Angband only has 2 sets of books. My variant has 9. And many spells like Call Light or Detect Traps are duplicated in all the books. Would be great to reorganize the spells into schools like what's done in the ToME variants (Mana, Fire, Conveyance, Divination...) and then assign differents schools to classes.
      PWMAngband variant maintainer - check https://github.com/draconisPW/PWMAngband (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant!

      Comment

      • Nick
        Vanilla maintainer
        • Apr 2007
        • 9637

        Originally posted by Ingwe Ingweron
        I didn't think it would be too hard, but apparently it is. I'm guessing it breaks down in the Number of spell realms used in the "book:" line of class.txt but that's just a guess.
        Funnily enough, realm number is vestigial and isn't used for anything. The real problem is that there is a hard-coded translation between object bases and the symbols used for referring to the bases in the code. This would be hard to remove, because the code actually needs to know about aspects of how books behave as distinct from other objects.

        I do have the aim of allowing classes to take books from more than one realm; the main obstacle to be overcome (which you mentioned) is that calculations of mana, number of spells, fail rate, etc currently assume a single realm.

        This thread has now been thoroughly derailed, and I have not fixed any bugs today because I've been thinking about how magic realms work
        One for the Dark Lord on his dark throne
        In the Land of Mordor where the Shadows lie.

        Comment

        • Nomad
          Knight
          • Sep 2010
          • 958

          Originally posted by PowerWyrm
          I was waiting for this for a long time. Currently, Angband only has 2 sets of books. My variant has 9. And many spells like Call Light or Detect Traps are duplicated in all the books. Would be great to reorganize the spells into schools like what's done in the ToME variants (Mana, Fire, Conveyance, Divination...) and then assign differents schools to classes.
          Maybe schools could have a fixed number and spells be lettered across all books in that school, rather than individually by book? e.g., the first book contains spells lettered a-f, second book contains spells lettered g-k, third book l-q, etc. Then a spell would always be at the exact same 'address' regardless of how many books you are or aren't carrying. So if, say, escape spells are school 2 and Teleport is in slot h in the second book, you will always type m2h to cast Teleport, regardless of whether you're carrying just that particular book with teleport in or another number of others from the same or different schools.

          If you restrict each school to 23 spells, slots a-w like the inventory, then they'll all fit on a single screen and you can have a nice combined interface that shows you all currently available spells from that school in one long list rather than needing to remember which individual book you want. Ten schools of magic (if you use 0 as a number as well) would give you 230 spells to play with. In fact, if it's going to be fixed schools rather than books that move around in the inventory, no reason you can't use letters and have 26 (or 52!) schools if you need more than 10 for variants.

          Anyway, here's the thread where we were kicking around ideas for magic systems a while back, so we should probably take this discussion over there if it's going to be ongoing.

          Oh, one more point, though - if we're going to expand the number of books, might I suggest an "Auto-ignore all non-aligned spellbooks" menu option rather than making poor warriors in particular manually squelch each individual book every game?

          Comment

          • Nomad
            Knight
            • Sep 2010
            • 958

            Wait, I've remembered the bug I actually came into this thread to post about!

            Torches no longer disappear when they run out of fuel in the latest nightly; you're now just left with a Wooden Torch (0 turns).

            Comment

            • Nick
              Vanilla maintainer
              • Apr 2007
              • 9637

              Originally posted by Ingwe Ingweron
              In the penultimate nightly (I didn't realize you'd just uploaded a new version while I was playing), @ descended stairs and used a mapping stave, with the result depicted in the attached. Namely, @ surrounded by walls in a single cell off to the left, and the entire dungeon (guessing it's a special room or vault) completely separated from @. Too far to phase door and no recall leave the @ stranded.

              [ATTACH]1541[/ATTACH]

              Edit: In fact, attempting either Phase Door or Teleport Self results in the game locking-up and eventually crashing.
              This is clearly bad; I'll file it as a bug, but I am not terribly hopeful of either reproducing it or working out what went wrong without reproducing it.
              One for the Dark Lord on his dark throne
              In the Land of Mordor where the Shadows lie.

              Comment

              • takkaria
                Veteran
                • Apr 2007
                • 1951

                Originally posted by Gwarl
                Can't you achieve the same thing by using autoinscriptions though? Even having the books autoinscribed by default. I just think that anything that can be changed inside editable files should be, and hard coding should be a last resort.

                In fact I'm probably going to be autoinscribing books 1-8 with a-h now.
                I think using autoinscriptions for this is an unnecessary workaround to a bad UI, so I'd rather just fix the UI. It's fine for people who already know the game but it's just added complexity for new players. I will work out how to allow both letters and numbers when selecting a spell, though.
                takkaria whispers something about options. -more-

                Comment

                • Ingwe Ingweron
                  Veteran
                  • Jan 2009
                  • 2129

                  Originally posted by Nick
                  Funnily enough, realm number is vestigial and isn't used for anything.
                  I found a workaround for my strange hybrid class experiment, though it does nothing for the larger other realms issues. I just changed the classes "new" prayer book into a "magic" book in object.txt and class.txt, although kept it as realm "2". Now, the book appears as red in the inventory (green on the ground) and @ can cast spells as usual even with Takkaria's new system.

                  Sorry, to have derailed the bug squashing with all this. Though, in my defense, it is a bug, just one that is being delayed until next time. I hope all your thought about realms will still prove useful in the end, so your time will not have been wasted.
                  “We're more of the love, blood, and rhetoric school. Well, we can do you blood and love without the rhetoric, and we can do you blood and rhetoric without the love, and we can do you all three concurrent or consecutive. But we can't give you love and rhetoric without the blood. Blood is compulsory. They're all blood, you see.”
                  ― Tom Stoppard, Rosencrantz and Guildenstern are Dead

                  Comment

                  • Nick
                    Vanilla maintainer
                    • Apr 2007
                    • 9637

                    Originally posted by Ingwe Ingweron
                    Sorry, to have derailed the bug squashing with all this. Though, in my defense, it is a bug, just one that is being delayed until next time. I hope all your thought about realms will still prove useful in the end, so your time will not have been wasted.
                    No need to apologise - as you say, it was thought that needed to be had at some point, and my inability to stay focused is my problem, not anyone else's
                    One for the Dark Lord on his dark throne
                    In the Land of Mordor where the Shadows lie.

                    Comment

                    • Nomad
                      Knight
                      • Sep 2010
                      • 958

                      Originally posted by Nomad
                      Torches no longer disappear when they run out of fuel in the latest nightly; you're now just left with a Wooden Torch (0 turns).
                      Some related oddities - you no longer seem to get the warning messages to tell you when the light level is running low, and instead of the "your light has gone out" message when it completely runs out, you get "Your Wooden Torch has recharged."

                      Comment

                      • Ingwe Ingweron
                        Veteran
                        • Jan 2009
                        • 2129

                        You see an Amulet of Resist Acid {??}. Identify it and you learn the rune of resist acid. Seems that if I know the name of this amulet, shouldn't @ know the rune?
                        “We're more of the love, blood, and rhetoric school. Well, we can do you blood and love without the rhetoric, and we can do you blood and rhetoric without the love, and we can do you all three concurrent or consecutive. But we can't give you love and rhetoric without the blood. Blood is compulsory. They're all blood, you see.”
                        ― Tom Stoppard, Rosencrantz and Guildenstern are Dead

                        Comment

                        • Sky
                          Veteran
                          • Oct 2016
                          • 2321

                          Thats a cursed amulet you got there.
                          "i can take this dracolich"

                          Comment

                          • PowerWyrm
                            Prophet
                            • Apr 2008
                            • 2986

                            Originally posted by Nick
                            This is clearly bad; I'll file it as a bug, but I am not terribly hopeful of either reproducing it or working out what went wrong without reproducing it.
                            Never saw that before. Probably related to the new dungeon layouts added in the latest builds (lair and such).
                            PWMAngband variant maintainer - check https://github.com/draconisPW/PWMAngband (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant!

                            Comment

                            • Nomad
                              Knight
                              • Sep 2010
                              • 958

                              Originally posted by Nomad
                              Originally posted by Nomad
                              Torches no longer disappear when they run out of fuel in the latest nightly; you're now just left with a Wooden Torch (0 turns).
                              Some related oddities - you no longer seem to get the warning messages to tell you when the light level is running low, and instead of the "your light has gone out" message when it completely runs out, you get "Your Wooden Torch has recharged."
                              Update to this update: new game in the same nightly, just had the torch I started the game with behave perfectly correctly on running out; "Your light is growing faint" warnings, "Your light has gone out!" message, torch disappeared when out of fuel. Now I'm even more baffled...

                              Comment

                              • Nick
                                Vanilla maintainer
                                • Apr 2007
                                • 9637

                                Originally posted by Ingwe Ingweron
                                You see an Amulet of Resist Acid {??}. Identify it and you learn the rune of resist acid. Seems that if I know the name of this amulet, shouldn't @ know the rune?
                                This sounds odd. Did it turn out to be cursed?

                                Currently 10 bugs/changes outstanding - healers in warrior pits and bogus {tried} label on devices are fixed in development. Let me know if I've missed anything.
                                One for the Dark Lord on his dark throne
                                In the Land of Mordor where the Shadows lie.

                                Comment

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