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

23
world/map/wudao/south.js Normal file
View File

@@ -0,0 +1,23 @@
this.inherits(ROOM);
this.name = "朱雀台"
this.desc = "这里是武道塔顶部的北面平台,一座朱雀的雕塑凭空而立,传说中的四大守护神兽之一。";
this.exits = { "north": "wudao/ding" };
this.max_item_count = 1;
this.is_shadow = true;
this.no_relive = true;
// this.add_action('biguan', '聚魂', function (me) {
// WORLD.COMMANDS['wsxl'].enter(me);
// });
this.on_enter = function (me) {
let npc = NPC.CLONE('pub/wudao_ss');
npc.init_from(me, 3);
this.item_changed(npc, true);
npc.do_kill(me);
}
this.on_leave = function (me) {
let npc = this.find_obj_bypath('pub/wudao_ss');
if (npc) npc.destroy();
me.remove_status('ss');
}