init: add workspace files
This commit is contained in:
17
world/map/shashou/ange1.js
Normal file
17
world/map/shashou/ange1.js
Normal file
@@ -0,0 +1,17 @@
|
||||
|
||||
this.inherits(ROOM);
|
||||
this.name = "暗阁";
|
||||
this.desc = "这里是杀手楼每层中间的通道,四周都是阴森黑暗墙壁,没有任何装饰,在这里你依然没有摆脱被人监视的感觉";
|
||||
this.exits = {
|
||||
"up": "shashou/tonglou", "down": "shashou/datang"
|
||||
};
|
||||
this.on_leave = function (me, dir) {
|
||||
if (dir == 'up') {
|
||||
if (me.family != FAMILIES.SHASHOU) {
|
||||
me.moveto("shashou/ange1");
|
||||
me.notify('<hib>你在黑呼呼的暗阁转来转去,感觉又回到了原地。</hib>');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user