Зимние правки. MVC/

Signed-off-by: lopar <lopar.4ever@gmail.com>
This commit is contained in:
lopar
2022-08-09 22:57:43 +03:00
parent 0f62ee20e7
commit b9b4c01cf0
104 changed files with 2254 additions and 2086 deletions
+18
View File
@@ -0,0 +1,18 @@
<?php
trait CaveItems
{
static function getCaveItems($room)
{
if ($room == 621) {
$caveitems[1] = [['id' => 1126, 'from' => 'shop', 'foronetrip' => 0, 'chance' => 50, 'podzem' => 1]];
$caveitems[2] = [['id' => 1125, 'from' => 'shop', 'foronetrip' => 0, 'chance' => 40, 'podzem' => 1]];
$caveitems[3] = [['id' => 1127, 'from' => 'shop', 'foronetrip' => 0, 'chance' => 15, 'podzem' => 1]];
$caveitems[4] = [['id' => 1128, 'from' => 'shop', 'foronetrip' => 0, 'chance' => 5, 'podzem' => 1]];
$caveitems[5] = [['id' => 1126, 'from' => 'shop', 'foronetrip' => 0, 'chance' => 60, 'podzem' => 1]];
$caveitems[6] = [['id' => 1130, 'from' => 'shop', 'foronetrip' => 0, 'chance' => 7], 'podzem' => 1];
$caveitems[7] = [['id' => 1129, 'from' => 'shop', 'foronetrip' => 0, 'chance' => 10, 'podzem' => 1]];
$caveitems[8] = [['id' => 1131, 'from' => 'shop', 'foronetrip' => 0, 'chance' => 5, 'podzem' => 1]];
}
}
}