Add pirate treasures, and pot of gold (Though, text is missing for Pot of Gold- i have to find one in public server first.)

This commit is contained in:
SilicaAndPina 2021-02-07 23:04:09 +13:00
parent e326dd2bf7
commit cfdea72b6c
9 changed files with 346 additions and 2 deletions

View file

@ -330,6 +330,15 @@ namespace HISP.Game
return true;
}
}
if(tool == Quest.Shovel)
{
// Also check Treasures
if (Treasure.IsTileTreasure(x, y))
Treasure.GetTreasureAt(x, y).CollectTreasure(user);
}
return false;
}
}