Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with selling pointy stick #10

Open
ScottLilly opened this issue Jun 18, 2020 · 3 comments
Open

Problem with selling pointy stick #10

ScottLilly opened this issue Jun 18, 2020 · 3 comments
Labels
bug Something isn't working
Projects

Comments

@ScottLilly
Copy link
Collaborator

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

@ScottLilly ScottLilly added the bug Something isn't working label Jun 18, 2020
@DarthPedro
Copy link
Collaborator

@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.

@BanalityOfSeeking
Copy link

@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?

@ScottLilly
Copy link
Collaborator Author

@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 ScottLilly added this to To do in SOSCSRPG Dec 20, 2021
@ScottLilly ScottLilly moved this from To do to In progress in SOSCSRPG Oct 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
SOSCSRPG
  
In progress
Development

No branches or pull requests

3 participants