mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-23 21:25:52 +12:00
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:
parent
e326dd2bf7
commit
cfdea72b6c
9 changed files with 346 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue