battles/underground/objects/621/2.php
2018-01-28 18:40:49 +02:00

14 lines
827 B
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?
if($tx*2 == 10 && $ty*2 == 14 && $floor == 2) {
$report = 'Из глубин доносятся удары кирки и чьи-то истошные крики, видимо ведутся работы по раскопке. Заходите попозже ...';
#gotoxy(20, 4, 3, "Вы успешно спустились на 3 этаж ...");
}
if($tx*2 == 10 && $ty*2 == 2 && $floor == 2 || $tx*2 == 2 && $ty*2 == 4 && $floor == 2 || $tx*2 == 2 && $ty*2 == 8 && $floor == 2 || $tx*2 == 2 && $ty*2 == 12 && $floor == 2 || $tx*2 == 4 && $ty*2 == 20 && $floor == 2 || $tx*2 == 16 && $ty*2 == 20 && $floor == 2 || $tx*2 == 18 && $ty*2 == 18 && $floor == 2) {
if(usagesleft($tx, $ty)) {
$report = itemtofloor(1132, 0, 0, 0);
takeusage($tx, $ty);
} else {
$report = 'Вас опередили ...';
}
}