init: add workspace files

This commit is contained in:
2026-05-26 16:41:20 +08:00
commit f4f2393f72
1041 changed files with 67405 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
this.inherits(ROOM);
this.name = "后院"
this.desc = "这里是鳌府后院,中心是一个大花园。西边一条长廊走道直通往鳌拜的卧房,有几个官兵把守。北边是书房。南边是鳌拜私设的牢房, <cmd cmd='look men'>牢门(men)</cmd>是锁着的。";
this.exits = { "west": "bj/ao/woshi", east:"bj/ao/dayuan","north":"bj/ao/shufang" };
this.set_item("men", "铁门", "这是一扇很结实的铁门。", [
["unlock", "打开", function (me) {
if (this.query_exits("enter"))
return me.notify("这扇门已经是打开的。");
var obj = me.find_obj_bypath("sp/bj/laofangkey");
if (!obj)
return me.notify("你不会撬锁。");
this.add_exit("south", "bj/ao/laofang");
me.remove_obj(obj,1);
me.send_room("$N用一把钥匙打开了牢房门可是钥匙却断了。");
}]
]);
this.set_npc("bj/ao/guanjia", ["bj/ao/jiading", 2]);