Double Stash, Softcore and Hardcore
Well another idea captured in this type of game (ARPG), separate stashs of softcore and hardcore, for the fact that you can die in softcore countless times and is "easier" to get good gear (many times you die) so I think in the future when FLARE is more developed and have battles that you battle between life and death, if you create a hardcore character, you do not have that ability to take the gear softcore.
So the separation of the stash (we know we can edit the saves and stash, but it will always be more ARPG type xD)
Here I leave the code, a few lines are nothing more:
SaveLoad.cpp
loadStash()
Search:
ss << "stash.txt";
Replace:
if (pc->stats.permadeath == 1)
ss << "stash_HC.txt";
else
ss << "stash.txt";
saveGame()
Search:
ss << "stash.txt";
Replace:
if (pc->stats.permadeath == 1)
ss << "stash_HC.txt";
else
ss << "stash.txt";
You can also start many hardcore characters to get good items, no?
If, too, but I mean apart by the above, in hardcore only have one life, if you die, your game is over, you can die instead softcore 10 times to try to kill an enemy and get your drop, if that drop you share in the stash, Have any valor for the hardcore character?
So I put it in separate stashs, being two different game types, I think the characters should have their own hardcore and softcore stash their own independent stash.
Greetings!
Actually, I'd also be in favor of making a hardcore stash per hardcore save slot that gets deleted when the character dies. That way, you can't just find a Ring of Invincibility or whatnot in the main game and transfer it over to your hardcore character.
The hardcore stash would work exactly the same as it currently does, it would just be limited to that save only.
I used this as an inspiration for this pull request https://github.com/clintbellanger/flare-engine/pull/615
That change of code makes the stash very private for hardcore characters as they cannot share the stash with any other character.
Edit: Actually exactly what pennomi proposed. Except that the stash is not deleted upon death, but not loaded when starting a new character.