13 lines
520 B
PHP
13 lines
520 B
PHP
<?
|
||
if($tx*2 == 0 && $ty*2 == 22 && $floor == 1) {
|
||
gotoxy(10, 8, 2, "Вы успешно спустились на 2 этаж ...");
|
||
}
|
||
|
||
if($tx*2 == 22 && $ty*2 == 8 && $floor == 1 || $tx*2 == 22 && $ty*2 == 16 && $floor == 1 || $tx*2 == 22 && $ty*2 == 2 && $floor == 1 || $tx*2 == 2 && $ty*2 == 18 && $floor == 1 || $tx*2 == 2 && $ty*2 == 10 && $floor == 1) {
|
||
if(usagesleft($tx, $ty)) {
|
||
$report = itemtofloor(1124, 0, 0, 0);
|
||
takeusage($tx, $ty);
|
||
} else {
|
||
$report = 'Вас опередили ...';
|
||
}
|
||
} |