mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-22 20:55:52 +12:00
add %RULES command, fix bugs in random events
This commit is contained in:
parent
e600554555
commit
1ad0783f8f
7 changed files with 62 additions and 4 deletions
|
@ -28,6 +28,10 @@ namespace HISP.Game
|
|||
|
||||
public static int ModIsleX;
|
||||
public static int ModIsleY;
|
||||
|
||||
public static int RulesIsleX;
|
||||
public static int RulesIsleY;
|
||||
|
||||
public static int GetTileId(int x, int y, bool overlay)
|
||||
{
|
||||
int pos = ((x * Height) + y);
|
||||
|
@ -94,9 +98,6 @@ namespace HISP.Game
|
|||
if (!passable && overlayPassable)
|
||||
passable = true;
|
||||
|
||||
|
||||
|
||||
|
||||
return passable;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue