battles/underground/objects/621/1.php

13 lines
520 B
PHP
Raw Permalink Normal View History

2018-01-28 16:40:49 +00:00
<?
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 = 'Вас опередили ...';
}
}