Comments (3)
@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.
@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.
@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)
- Lock down locations
- Add skills and skill levels
- Add armor
- Add jewelry
- When saving game, also save Trader inventory (in case they've bought or sold anything)
- Re-add saved game file versioning/automatic upgrading
- Control game actions through gamepad/joystick
- Add character customization
- Add audio
- Quest chains
- Faction friendliness level
- Better conversations with NPCs
- Put string literals into resource file, for easier internationalization
- Crafting over time (turns)
- Add spells
- Add buy and sell prices to items
- Add enchantments to
- Add DamageOverTime action
- Add HealOverTime action
- Add buffs/debuffs (increase/decrease chance to hit, damage dealt, etc.)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from soscsrpg.