Добавлен инвентарь, в сундуках могут содержаться предметы.
This commit is contained in:
@@ -64,7 +64,7 @@ bool Location::loadFromFile(const std::string& path) {
|
||||
if (tile == 'C') {
|
||||
Chest chest;
|
||||
chest.pos = { x, y };
|
||||
chest.gold = 25;
|
||||
chest.itemIds = { 101, 102 };
|
||||
chests.push_back(chest);
|
||||
}
|
||||
else if (tile == 'E') {
|
||||
|
||||
Reference in New Issue
Block a user