init: add workspace files
This commit is contained in:
28
world/family/wulang.js
Normal file
28
world/family/wulang.js
Normal file
@@ -0,0 +1,28 @@
|
||||
this.inherits(FAMILY);
|
||||
|
||||
this.id = "WULANG";
|
||||
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 ? "老子" : "老头子";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user