aboutsummaryrefslogtreecommitdiff
path: root/internal/object/item.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/object/item.go')
-rw-r--r--internal/object/item.go20
1 files changed, 16 insertions, 4 deletions
diff --git a/internal/object/item.go b/internal/object/item.go
index a6a06e1..14cb65c 100644
--- a/internal/object/item.go
+++ b/internal/object/item.go
@@ -39,6 +39,7 @@ type ItemDef struct {
Stackable bool `yaml:"stackable"`
EquipSlot EquipSlot `yaml:"equip_slot"`
WeaponType WeaponType `yaml:"weapon_type"`
+ AttackType string `yaml:"attack_type"`
Stats ItemStats `yaml:"stats"`
Speed float64 `yaml:"speed"`
ToolType string `yaml:"tool_type"`
@@ -65,10 +66,21 @@ type MadeFromEntry struct {
}
type ItemStats struct {
- AttackBonus int `yaml:"attack_bonus"`
- StrengthBonus int `yaml:"strength_bonus"`
- DefenseBonus int `yaml:"defense_bonus"`
- ScienceBonus int `yaml:"science_bonus"`
+ StabAttack int `yaml:"stab_attack"`
+ SlashAttack int `yaml:"slash_attack"`
+ CrushAttack int `yaml:"crush_attack"`
+ ScienceAttack int `yaml:"science_attack"`
+ RangedAttack int `yaml:"ranged_attack"`
+
+ StabDefense int `yaml:"stab_defense"`
+ SlashDefense int `yaml:"slash_defense"`
+ CrushDefense int `yaml:"crush_defense"`
+ ScienceDefense int `yaml:"science_defense"`
+ RangedDefense int `yaml:"ranged_defense"`
+
+ StrengthBonus int `yaml:"strength_bonus"`
+ RangedStrength int `yaml:"ranged_strength"`
+ ScienceDamage int `yaml:"science_damage"`
TechnologyBonus int `yaml:"technology_bonus"`
}