Giter Club home page Giter Club logo

Comments (3)

ScottLilly avatar ScottLilly commented on June 19, 2024 1

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

from soscsrpg.

DarthPedro avatar DarthPedro commented on June 19, 2024

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

from soscsrpg.

BanalityOfSeeking avatar BanalityOfSeeking commented on June 19, 2024

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

from soscsrpg.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.