Double Stash, Softcore and Hardcore

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";