SOSCSRPG icon indicating copy to clipboard operation
SOSCSRPG copied to clipboard

Problem with selling pointy stick

Open ScottLilly opened this issue 6 years ago • 3 comments

If you sell the pointy stick at another vendor before going back to turn in the quest you don’t get the error.

ScottLilly avatar Jun 18 '20 21:06 ScottLilly

@ScottLilly - not sure if I understand this bug... is this for the snake fang quest? You can sell the pointy stick and then cannot fight the snakes. Do you want to prevent that from happening? Player can always go buy back the pointy stick.

DarthPedro avatar Jul 15 '20 19:07 DarthPedro

@ScottLilly You could prevent the selling of equipped items.

adding something like this

GameSession.CurrentPlayer.CurrentWeapon = GameSession.CurrentPlayer.Inventory.Weapons.OrderByDescending(x => x.ItemTypeID).First(); auto equipes best weapon?

BanalityOfSeeking avatar Mar 16 '21 14:03 BanalityOfSeeking

@ScottLilly You could prevent the selling of equipped items.

adding something like this

GameSession.CurrentPlayer.CurrentWeapon = GameSession.CurrentPlayer.Inventory.Weapons.OrderByDescending(x => x.ItemTypeID).First(); auto equipes best weapon?

We might need to do FirstOrDefault(), to handle if the Player doesn't have a weapon. I'm working on upgrading the solution to .NET 5, then will start adding changes for these bugs and some other code improvements. It would be nice to clean up a few things before working on improving the UI (hopefully adding a lot more graphics).

ScottLilly avatar Mar 17 '21 02:03 ScottLilly