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

28
world/family/liushan.js Normal file
View File

@@ -0,0 +1,28 @@
this.inherits(FAMILY);
this.id = "LIUSHAN";
this.name = "六扇门";
this.top_name = "";
this.call = function (player, isbad) {
var age = player.query_age();
if (player.gender == 2) {
if (age < 18) return isbad ? "小贱人" : "小姑娘";
else if (age < 50) return isbad ? "贱人" : "姑娘";
else return isbad ? "死老太婆" : "婆婆";
} else {
if (age < 20) return isbad ? "小王八蛋" : "小兄弟";
else if (age < 50) return isbad ? "臭贼" : "壮士";
else return isbad ? "老匹夫" : "老爷子";
}
}
this.call_me = function (player, isbad) {
var age = player.query_age();
if (player.gender == 2) {
if (age < 30) return isbad ? "本姑娘" : "小女子";
else return isbad ? "老娘" : "妾身";
} else {
if (age < 50) return isbad ? "大爷我" : "在下";
else return isbad ? "老子" : "老头子";
}
}