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

17
world/obj/sp/dizi.js Normal file
View File

@@ -0,0 +1,17 @@
this.inherits(OBJ);
this.set({
unit: "个",
name: "首席弟子称号",
desc: "",
grade:1,
value: 1000
});
this.on_create = function (path, par) {
if (!par) return;
this.family = FAMILIES[par.substr(1)];
}
this.on_receive = function (me) {
if (!this.family || !this.family.top_name) return;
me.add_title(this.family.top_name,"family");
me.notify("<hig>你获得了称号:" + this.family.top_name +"</hig>。");
}