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

8
world/map/yz/hy/dilao.js Normal file
View File

@@ -0,0 +1,8 @@
this.inherits(ROOM);
this.name = "地牢"
this.desc = "这里逼仄压抑,混杂着霉味与腐烂气息扑面而来。两侧是密密麻麻的铁牢,栅栏上锈迹斑斑,不少牢门虚掩着,里面或堆着白骨,或蜷缩着气息奄奄的囚徒。";
this.exits = { "up": "yz/hy/yishiting" };
this.set_npc("yz/hy/yin");

View File

@@ -0,0 +1,11 @@
this.inherits(ROOM);
this.name = "校场"
this.desc = "这里是一个青石铺就的空旷场地,中央有兵器架和木桩,地面布满深浅不一的脚印,东南角堆放着练习用的木人。周围零落站立着一些黑袍人,见你进来警惕的望着你。";
this.exits = {
"north": "yz/hy/jiaochang2",
"northwest": "yz/hy/jiaochang3", "northeast": "yz/hy/jiaochang4"
};
this.move_exits = ['northwest', 'northeast'];
this.set_npc('yz/hy/jiaotu', 'yz/hy/jiaotu');

View File

@@ -0,0 +1,20 @@
this.inherits(ROOM);
this.name = "校场"
this.desc = "这里是一个青石铺就的空旷场地,中央有兵器架和木桩,地面布满深浅不一的脚印,东南角堆放着练习用的木人。周围零落站立着一些黑袍人,见你进来警惕的望着你。";
this.exits = {
"south": "yz/hy/jiaochang1", "north": "yz/hy/jiaochang5",
"west": "yz/hy/jiaochang3", "east": "yz/hy/jiaochang4"
};
this.set_npc('yz/hy/jiaoxi');
this.on_enter = function (me) {
if (me.is_player) {
let npc = this.find_by_path('yz/hy/jiaoxi');
if (npc && !npc.fight_type) {
npc.on_kill(me);
npc.do_kill(me);
}
}
}

View File

@@ -0,0 +1,11 @@
this.inherits(ROOM);
this.name = "校场"
this.desc = "这里是一个青石铺就的空旷场地,中央有兵器架和木桩,地面布满深浅不一的脚印,东南角堆放着练习用的木人。周围零落站立着一些黑袍人,见你进来警惕的望着你。";
this.exits = {
"southeast": "yz/hy/jiaochang1", "northeast": "yz/hy/jiaochang5",
"east": "yz/hy/jiaochang2"
};
this.move_exits = ['southeast', 'northeast'];
this.set_npc('yz/hy/jiaotu', 'yz/hy/jiaotu');

View File

@@ -0,0 +1,9 @@
this.inherits(ROOM);
this.name = "校场"
this.desc = "这里是一个青石铺就的空旷场地,中央有兵器架和木桩,地面布满深浅不一的脚印,东南角堆放着练习用的木人。周围零落站立着一些黑袍人,见你进来警惕的望着你。";
this.exits = {
"southwest": "yz/hy/jiaochang1", "northwest": "yz/hy/jiaochang5",
"west": "yz/hy/jiaochang2"
};
this.move_exits = ['southwest', 'northwest'];
this.set_npc('yz/hy/jiaotu', 'yz/hy/jiaotu');

View File

@@ -0,0 +1,10 @@
this.inherits(ROOM);
this.name = "校场"
this.desc = "这里是一个青石铺就的空旷场地,中央有兵器架和木桩,地面布满深浅不一的脚印,东南角堆放着练习用的木人。周围零落站立着一些黑袍人,见你进来警惕的望着你。";
this.exits = {
"southwest": "yz/hy/jiaochang3", "southeast": "yz/hy/jiaochang4",
"south": "yz/hy/jiaochang2", "north": "yz/hy/yishiting"
};
this.move_exits = ['southwest', 'southeast'];
this.set_npc('yz/hy/jiaotu', 'yz/hy/jiaotu');

View File

@@ -0,0 +1,8 @@
this.inherits(ROOM);
this.name = "甬道"
this.desc = "这是一个碎石铺就的狭长甬道,两侧火把照明,墙根暗处有箭孔,地面散落着生锈的兵器。通道尽头有些亮光,出口就在前方。";
this.exits = { "up": "yz/hy/jiaochang1" };
this.on_enter = function (me) {
}

View File

@@ -0,0 +1,42 @@
this.inherits(ROOM);
this.name = "黑鹰厅"
this.desc = "高约三丈的穹顶下,黑檀木横梁上悬着一块鎏金 “奉旨缉拿” 匾额,边缘镶着铜质云纹,匾额下方垂着三盏羊角宫灯,灯影在青砖地面投下晃动的光斑。西侧墙根处有一扇半尺厚的<cmd cmd='look men'>铁门</cmd>,门框与石壁严丝合缝。";
this.exits = { "south": "yz/hy/jiaochang5" };
this.set_npc('yz/hy/tiehu');
this.on_enter = function (me) {
if (me.is_player) {
let npc = this.find_by_path('yz/hy/tiehu');
if (npc && !npc.fight_type) {
npc.on_kill(me);
npc.do_kill(me);
}
}
}
this.set_item("men", "铁门", "一扇半尺厚的铁门,严丝合缝的嵌合在墙壁内", [
["tui", "推开", function (me) {
if (this.query_exits("down"))
return me.notify("铁门已经被你推开了。");
me.send_room("$N大喝一声使出全身力气推向铁门。");
if (me.str > 25) {
me.send_room("<hic>铁门发出一阵沉闷的声响,缓缓打开了。</hic>");
this.add_exit('down', 'yz/hy/dilao');
this.call_out(this.close_men, 60000)
} else {
me.send_room("<cyn>结果比$P的脸憋的通红铁门仍然纹丝不动。</cyn>");
}
}]
]);
this.close_men = function () {
if (this.query_exits("down")) {
this.remove_exit("down");
this.send("<cyn>铁门发出一阵沉闷的声响,又缓缓的关上了。</cyn>");
ROOM.Get('yz/hy/dilao').send("<cyn>铁门发出一阵沉闷的声响,又缓缓的关上了。</cyn>");
}
}