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

18
world/map/bj/ao/woshi.js Normal file
View File

@@ -0,0 +1,18 @@
this.inherits(ROOM);
this.name = "卧房"
this.desc = "这是鳌拜的卧房。鳌拜躺在床上睡着了,粗声粗气地打着呼噜。北边有一扇<cmd cmd='look door'>门(door)</cmd> 。";
this.exits = { "east": "bj/ao/houyuan" };
this.set_npc("bj/ao/aobai");
this.set_item("door", "", "这是一扇极厚的木门。", [
["open", "打开", function (me) {
var npc = this.find_obj_bypath('bj/ao/aobai');
if (npc) {
return npc.do_kill(me);
}
if (this.query_exits('north')) return me.notify('门已经打开了。');
this.add_exit('north','bj/ao/andao');
}]
]);