feat: add grid-inventory

This commit is contained in:
2026-04-13 11:07:57 +08:00
parent 4bfc6db60f
commit 2a4383ff10
6 changed files with 779 additions and 3 deletions
@@ -9,7 +9,7 @@
# targetType can be one of: single, none
type,name,shape,costType,costCount,targetType,desc
string,string,string,string,int,string,string
string,string,string,'energy'|'uses',int,'single'|'none',string
weapon,剑,oee,energy,1,single,【攻击2】【攻击2】
weapon,长斧,oees,energy,2,none,对全体【攻击5】
weapon,长枪,oeee,energy,1,single,【攻击2】【攻击2】【攻击2】
1 # type can be one of: weapon, armor, consumable, tool
9 # targetType can be one of: single, none
10 type,name,shape,costType,costCount,targetType,desc
11 string,string,string,string,int,string,string string,string,string,'energy'|'uses',int,'single'|'none',string
12 weapon,剑,oee,energy,1,single,【攻击2】【攻击2】
13 weapon,长斧,oees,energy,2,none,对全体【攻击5】
14 weapon,长枪,oeee,energy,1,single,【攻击2】【攻击2】【攻击2】
15 weapon,短刀,oe,energy,1,single,【攻击3】【攻击3】
@@ -2,11 +2,13 @@ type HeroItemFighter1Table = readonly {
readonly type: string;
readonly name: string;
readonly shape: string;
readonly costType: string;
readonly costType: "energy" | "uses";
readonly costCount: number;
readonly targetType: string;
readonly targetType: "single" | "none";
readonly desc: string;
}[];
export type HeroItemFighter1 = HeroItemFighter1Table[number];
declare const data: HeroItemFighter1Table;
export default data;