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

12
world/obj/drug/hr2.js Normal file
View File

@@ -0,0 +1,12 @@
this.inherits(OBJ);
this.unit = "颗";
this.name = "初级毁容丸";
this.value = 280000;
this.desc = "这是一颗神奇的丹药,食用后会使你的容貌产生一些神奇的变化";
this.grade = 3;
this.transable = true;
this.on_use = function (me) {
if (me.per <= 20) return me.notify_fail("初级毁容丸已经对你没有任何效果了。");
me.per -= 1;
me.notify("<hib>你吞下一颗初级毁容丸,感觉自己的容貌发生了一些变化。</hib>");
}