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

26
world/obj/sp/yz/box1.js Normal file
View File

@@ -0,0 +1,26 @@
this.inherits(OBJ);
this.set({
name: "小箱子",
desc: "这是在崔员外家找到的一个小箱子,不知道里面放了些了什么。",
unit: "个",
value: 0,
grade:2
});
this.on_open = function (me) {
return OBJ.create_by_odds([{
obj: "money/gold",
min: 1,
max:10
}, {
obj: ["book/book#unarmed", "book/book#parry", "book/book#dodge", "book/book#sword"],
odds: 10000
}, {
obj: ["st/st_blu", "st/st_red", "st/st_gre", "st/st_yel"],
min: 1,
max: 3,
odds: 5000
}, {
obj: ["eq/lv1/pifeng"],
odds: 2000
}]);
}