I have a stable and working copy of the borg for 341 up and running. All the major issues are fixed and now it is just a matter of finding the little gameplay changes and implementing them (stuff like the stack size being moved to 40 instead of 99, and k'rushing items is now a squelch).
You can find the borg at the borg's website. http://www.innovapain.com/borg/angband-341/ Please report any goofy borg behavior. A savefile demonstrating the behavior is always helpful. Send reports to andrew@innovapain.com.
Here is a list of changes made in the past couple of days.
You can find the borg at the borg's website. http://www.innovapain.com/borg/angband-341/ Please report any goofy borg behavior. A savefile demonstrating the behavior is always helpful. Send reports to andrew@innovapain.com.
Here is a list of changes made in the past couple of days.
- 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.
- Throwing Painful Objects needed an update to their dd and ds, as well as their range of attacks.
- The accented characters (like the e in Smeagol) were causing a crash in borg_note().
- Flasks needed to be sold to the general store.
- In borg_play_step(), even poor diggers needed to be able to excavate rubble.
- The Remove Curse spells were removed from the priest books. This necessitated a movement of the spell addresses throughout the code.
- Level Feeling Messages were changed.
- Teleport Other is now a bolt instead of a beam.
- The Enchant spells needed default to the equipment screen instead of the inventory.
- The quiver slots needed support for the MAX_STACK_SIZE.
- Changes in how the artifact lights needed some adaptation.
- Slight change to how the borg will count up items that need to be sold.
- The map-updating was over-writing some of the borg's assumed grid features. Problem with the f.f_idx
- Activate_effect() needed to be told to E'at mushrooms.
- Better recognition of a jammed door.
- In porting the 320 borg code to the 341 several variables needed to be changed. As part of that change, a bad formula had the borg consider all monster melee damage as 0.
- Borg told not to dive deeper than depth 5 if his strength is depleted to 7 or lower. He will be allowed to stay in shallow depths and wait for the town to restock Potions of Restore Strength.
- Borg was trying to sell Ring of the Dog to the shop. Shops don't like that ring since it has -2 pval.
- Better implementation of the EFF_<effects> in borg_heal().
- Support added for Ring of Open Wounds. Hopefully, we will see some rogues and warriors carrying the rings and using the CSW effect.
- The curse fear from Rings of Escaping won't have a huge penalty for mages. The penalty is for non-mages.
- The borg would not consider new gear if his inventory full. Since he spends so much time full, I changed that so he can swap his gear around even if he were full.
- The borg was not swapping in a lantern while carrying several torches. The combined value of the torch and all the fuel out-weighed the value of the light-radius boost. Fixed that by reducing the value of the fuel.
Comment