mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-23 05:05:53 +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
|
@ -32,6 +32,11 @@ namespace HISP.Game
|
|||
|
||||
int pos = ((x * Height) + y);
|
||||
|
||||
if (overlay && Treasure.IsTileBuiredTreasure(x, y))
|
||||
return 193; // Burried Treasure tile.
|
||||
else if (overlay && Treasure.IsTilePotOfGold(x, y))
|
||||
return 186; // Pot of Gold tile.
|
||||
|
||||
if (overlay)
|
||||
return oMapData[pos];
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue