init: add workspace files
This commit is contained in:
13
world/map/yz/banghui.js
Normal file
13
world/map/yz/banghui.js
Normal file
@@ -0,0 +1,13 @@
|
||||
this.inherits(ROOM);
|
||||
this.name = "帮派驻地"
|
||||
this.desc = "你来到一座结构宏伟的建筑前,左右石坛上各插着一根两丈多高的旗杆,杆上青旗飘扬。右首旗子用金线绣着一头张牙舞爪的狮子,狮子上头有一只蝙蝠飞翔。左首旗子上写着几个烫金大字,银钩铁划,刚劲非凡。";
|
||||
this.exits = { "west": "yz/nandajie2", "east": "banghui/juyitang" };
|
||||
this.no_fight = true;
|
||||
|
||||
this.on_leave = function (me, dir) {
|
||||
if (dir == "east") {
|
||||
me.notify("帮会管理员拦住你:这位" + me.call() + ",这里是帮派驻地,不是这个帮派的人不能进去哦。");
|
||||
return false;
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user