
At this point I have enough code that I need to start tracking down some bugs. One nasty one was that items would appear in the dungeon, but I could not pick them up. It was like they were not there. But they were displayed.
Today I went through the code where the player picks up the items. Then I tracked down how the items get put there in the first place. Finally I checked all the code where items get moved around. Finally I found the problem. At the beginning of the game I give the player a few low level items. I steal them from the dungeon, but don't erase them. Problem solved.
Next I tried to test out whether unique items dropped by unique monsters might get picked up by regular monsters. Was unable to set up a scenario to test this. However I did find that some unique monsters did not drop unique itesm when they should have. This is another bug to track down.
No comments:
Post a Comment