Began work on VBorg 341

With the help of David Barr, I now have a working copy of a Visual Studio solution for Angband 341.  I have updated the fairly successful 320 borg into 341.  I have been testing it out the past few days and correcting game errors along the way.  It might be a few weeks before the 341 is working great, but it is working and only make mistakes related to the game play changes (k’rushing items no longer works the same, inventory stack sizes limit set to 40 instead of 99).

  • Update to not destroy our torches or flasks which might leave us dark.  Its ok to crush them if we have a no_fuel light source.
  • Borg is now required to drop items to the floor instead of crushing them.  Because he tracks bad items dropped to the floor, he must not drop items while standing on a doorway or stair (since doing so will move the item to an adjacent grid).
  • Refueling of torches managed.
  • MAX_STACK_SIZE implemented for borg inventory.
  • I had to address a specific event which happens early in the game. The borg might have infravision,a torch, and see a monster a few grids away.  That monster might be in a unlit region of the dungeon.  The borg only sees the monster because of the infravision. The lower half of the LOS() routine would return a FALSE in this case because the grids 2 or 3 spaces away from the borg are not lit by the torch nor dungeon illuminated.  If the game is allowing the borg to see the monster, then it must be LOS().
  • Illuminating room prior to resting acting goofy.  He not reading the illuminated grids correctly.
  • Crushing items needed to be switched to d’ropping them since the game no long has a k’rush command.  This poses a problem when the borg wants to crush a single item (like 1 arrow in a stack of 35).  The k command will squelch the entire stack, but dropping 1 arrows litters the dungeon floor.
  • Couple of changes to how the borg will use his has_effect and activate_effect command.
    • Some items need to be ID’d before he is allowed to know what they do.
    •   make sure item is ID’d or aware
    •   update the EFF_<list>
    •   <to do>make sure the heal1,2,3 are all used.
    •   <to do>Review that all EFF_s are used, including Restore_Item

341borg source code

This entry was posted in Angband (Vanillia) and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *