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

20
world/obj/book/ts.js Normal file
View File

@@ -0,0 +1,20 @@
this.inherits(OBJ);
this.set({
unit: "份",
name: "无效武功",
desc: "查看技能提示"
});
this.transable = true;
this.on_create = function (path, par) {
if (!par) return;
par = par.substr(1);
var skill = SKILL.get(par);
if (!skill) {
return;
}
this.skill = skill.id;
this.grade = skill.grade;
this.name = "技能:" + skill.name;
this.desc = skill.color_name + "秘籍。";
}