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,19 @@
this.inherits(ROOM);
this.name = "小巷子"
this.desc = "你继续走进破烂巷子,里面更加的乌烟瘴气,墙角有几个小流氓吊儿郎当的站着看着你。北面有个破茅屋不知道里面有什么,在这里你还是小心为上,不要乱闯。";
this.exits = { "west": "yz/lmw/xiangzi1", "north": "yz/lmw/pomaowu", "east": "yz/lmw/xiangzi3", };
this.set_npc(["yz/lm/liumang", 2]);
this.on_leave = function (me,dir) {
if (dir == "west" || dir == "north") {
var obj = this.find_obj_bypath("yz/lm/liumang");
if (obj) {
if (me.gender == 1) {
me.notify("流氓吊儿郎当的拦住你。");
} else {
me.notify("流氓轻佻的朝你吹了个口哨,嬉皮笑脸的说道:妹妹要到哪里去?");
}
return false;
}
}
}