View file game/2/F_blank.dat

File size: 4.6Kb
<?php
// мир по умолчанию

$game = array("lastai"=>1);
$file = fopen ("game.dat", "w");
fputs($file,serialize($game));
fclose ($file);

	$dh = opendir("l_i/"); 
	while (($fname = readdir($dh))!== false) if ($fname!="." && $fname!=".." && $fname!=".htaccess" && $fname!="1.htaccess" && substr($fname,0,2)!="c.") {
		loadloc($fname);
		$l_i[$fname]=array();	// очищаем все предметы и таймеры, ниже назначим новые
		unset($l_t[$fname]);
		}
	closedir($dh);


$l_i = array(
"x3x6"=>array("i.s.tkach"=>"ткатский станок|1|0",),
"x71x56"=>array("i.s.rudnik"=>"рудная жила|3|0|300|3|1",),
"x72x56"=>array("i.s.rudnik"=>"рудная жила|3|0|300|3|1",),
"x2x0"=>array("i.s.res"=>"камень воскрешения||0",),
"x10x0"=>array("i.s.nakov"=>"наковальня|1|0",),
"_begin"=>array("i.s.fontan"=>"волшебный фонтан|1|0",),
);
// создадим таймеры с респавнами npc




$l_t["x1x1"][2]="i.s.book.book.z|1|0";
$l_t["x28x28"][1]="n.kon|1:2";
$l_t["x1x3"][1]="n.wistan|1:2";
$l_t["x1x4"][1]="n.tilmon|1:2";
$l_t["x1x5"][1]="n.insent|1:2";
$l_t["x1x6"][1]="n.antaras|1:2";
$l_t["x1x7"][1]="n.gor.1|1:2";
$l_t["x2x0"][1]="n.h.djozef|1:2";
$l_t["x10x0"][1]="i.s.nakov|1|0";
$l_t["x2x5"][1]="n.fes|1:2";
$l_t["x2x4"][1]="n.xenon|1:2";
$l_t["x2x3"][1]="n.will|1:2";
$l_t["x30x30"][1]="n.bankir|1:2";
$l_t["x30x30"][2]="n.officer|1:2";
$l_t["x3x6"][1]="n.sors|1:2";
$l_t["x41x41"][1]="n.ent|1:2";
$l_t["x50x50"][1]="n.watras|1:2";
$l_t["x42x42"][1]="n.tim|1:2";
$l_t["x4x5"][1]="n.paint.1|1:2";
$l_t["x5x0"][1]="n.paint.2|1:2";
$l_t["x4x9"][1]="n.paint.3|1:2";
$l_t["x5x2"][1]="n.gpaint|1:2";
$l_t["_begin"][1]="n.beginner|1:2";
$l_t["x5x4"][1]="n.guard2|1:2";
$l_t["x82x2"][1]="n.m.guard|1:2";
$l_t["x105x2"][1]="n.m.utr|1:2";
$l_t["x105x3"][1]="n.m.gorn|1:2";
$l_t["x105x5"][1]="n.m.ront|1:2";
$l_t["x105x6"][1]="n.m.artek|1:2";
$l_t["x105x8"][1]="n.m.ulrik|1:2";
$l_t["x6x1"][1]="n.guard|1:2";
$l_t["x6x3"][1]="n.uznik|1:2";
$l_t["x26x26"][1]="n.andry|1:2";
$l_t["x25x25"][1]="n.Sarant|1:2";
$l_t["x24x24"][1]="n.ret|1:2";
$l_t["x23x23"][1]="n.Paul|1:2";
$l_t["x22x22"][1]="n.c.kris.1|300:600";
$l_t["x22x22"][2]="n.c.kris.2|300:600";
$l_t["x7x6"][1]="n.c.pauk.3|350:650";
$l_t["x7x6"][2]="n.c.kris.4|300:600";
$l_t["x7x7"][1]="n.c.kris.5|300:600";
$l_t["x7x7"][2]="n.c.kris.6|300:600";
$l_t["x7x7"][3]="i.q.zerno|0|2|900|1000";
$l_t["x7x8"][1]="n.c.kris.7|300:600";
$l_t["x90x2"][1]="n.c.zom.1|450:700";
$l_t["x90x14"][1]="n.c.zom.2|450:700";
$l_t["x90x3"][1]="n.c.skelet.1|500:750";
$l_t["x90x15"][1]="n.c.skelet.2|500:750";
$l_t["x90x31"][1]="n.c.skelet.3|500:750";
$l_t["x90x7"][1]="n.c.vampire.1|550:800";
$l_t["x90x20"][1]="n.c.ten.1|520:760";
$l_t["x7x8"][2]="n.c.pauk.8|350:650";
$l_t["x7x8"][3]="i.q.zerno|0|2|900|1000";
$l_t["x90x3"][2]="i.w.r.stone|1|3|450|500";
$l_t["x19x19"][1]="n.fill|1:2";
$l_t["x21x21"][1]="n.ribak|1:2";
$l_t["x21x21"][2]="n.capp1|1:2";
$l_t["x5x5"][1]="n.king|1:2";
$l_t["x9x3"][1]="n.met|1:2";
$l_t["x0x9"][1]="n.uiliym|1:2";
$l_t["x0x9"][2]="n.silmon|1:2";
$l_t["x9x4"][1]="n.garry|1:2";
$l_t["x10x0"][1]="n.kuznec|1:2";
$l_t["x10x0"][2]="i.s.nakov|1|0";
$l_t["arena"][1]="i.s.arena|1|0";
$l_t["x10x0"][3]="i.s.fires|1|0";
$l_t["x10x1"][1]="n.tren|1:2";
$l_t["x10x1"][2]="n.Rent|1:2";
$l_t["x36x36"][1]="n.Lajma|1:2";
$l_t["x36x36"][2]="i.s.res|1|0";
$l_t["x39x39"][1]="n.Mahmet|1:2";
$l_t["x2x7"][1]="n.guildmaster|1:2";
$l_t["x2x7"][2]="n.Den|1:2";
$l_t["x38x38"][1]="n.alisa|1:2";
$l_t["x40x40"][1]="n.Katrina|1:2";
$l_t["x11x1"][1]="n.1|1:2";
$l_t["x11x0"][1]="n.rudolf|1:2";
$l_t["x11x2"][1]="n.albert|1:2";
$l_t["x11x2"][2]="n.dirium|1:2";
$l_t["x58x56"][1]="n.sten|1:2";
$l_t["x61x56"][1]="n.c.goblinguard.1|400:700";
$l_t["x65x56"][1]="n.c.goblinw.1|400:700";
$l_t["x65x56"][2]="i.w.r.stone|1|3|350|700";
$l_t["x68x56"][1]="n.c.goblinw.2|400:700";
$l_t["x90x2"][1]="n.c.zom.1|400:700";
$l_t["x90x4"][1]="n.c.skelet.1|460:760";
$l_t["x68x56"][2]="i.w.r.stone|1|2|350|700";
$l_t["x63x56"][1]="n.c.goblinarcher.1|400:700";
$l_t["x63x56"][2]="i.w.r.stone|2|4|350|700";
$l_t["c.1.in"][2]="n.castlelanset|1:2";
$l_t["x20x20"][1]="n.zern|1:2";
$l_t["x84x7"][1]="n.edvard|1:2";
$l_t["x84x8"][1]="n.nelson|1:2";
$l_t["x84x9"][1]="n.greggor|1:2";
$l_t["x85x0"][1]="n.sem|1:2";
$l_t["x70x56"][1]="n.c.goblinprash.1|400:700";
$l_t["x83x4"][1]="n.c.greendragon.1|6000:7000";
$l_t["x90x7"][1]="n.c.vampire.1|690:750";
$l_t["x93x28"][1]="n.c.reddragon.1|6000:7000";
$l_t["x21x21"][3]="n.t.1|500:600";
$l_t["_begin"][2]="n.t.2|500:600";
$l_t["x9x0"][1]="n.t.4|500:600";
$l_t["x30x30"][3]="n.t.5|500:600";
$l_t["x0x7"][1]="n.t.3|660:800";
$l_t["x70x56"][2]="i.w.r.stone|1|2|350|700";