new-travel #11
3
city.php
3
city.php
@ -59,8 +59,7 @@ switch ($location[0]) {
|
|||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
case 'level1':
|
case 'level1':
|
||||||
header('location: main.php?goto=arena');
|
Travel::toRoom(1,$user->room);
|
||||||
exit;
|
|
||||||
break;
|
break;
|
||||||
case 'level7':
|
case 'level7':
|
||||||
Travel::toRoom(21,$user->room);
|
Travel::toRoom(21,$user->room);
|
||||||
|
@ -8,6 +8,7 @@ class Travel
|
|||||||
* @var string[]
|
* @var string[]
|
||||||
*/
|
*/
|
||||||
private static $roomFileName = [
|
private static $roomFileName = [
|
||||||
|
1 => 'main.php',
|
||||||
20 => 'city.php',
|
20 => 'city.php',
|
||||||
21 => 'city.php',
|
21 => 'city.php',
|
||||||
22 => 'shop.php',
|
22 => 'shop.php',
|
||||||
@ -88,8 +89,8 @@ class Travel
|
|||||||
* 13 location: quest_room.php
|
* 13 location: quest_room.php
|
||||||
* 222 Room 2702 [STREET]
|
* 222 Room 2702 [STREET]
|
||||||
*/
|
*/
|
||||||
$room[20] = [21, 22, 23, 25, 26, 27, 2702];
|
$room[20] = [1, 21, 22, 23, 25, 26, 27, 2702];
|
||||||
$room[22] = $room[23] = $room[25] = $room[27] = [20];
|
$room[1] = $room[22] = $room[23] = $room[25] = $room[27] = [20];
|
||||||
/*
|
/*
|
||||||
* 3 Room 2111 [STREET]
|
* 3 Room 2111 [STREET]
|
||||||
* 4 Room 20 [STREET]
|
* 4 Room 20 [STREET]
|
||||||
|
Loading…
Reference in New Issue
Block a user