style: fix codegen formatting and run gofmt after generation

This commit is contained in:
Genqila
2025-12-28 02:07:24 +07:00
committed by guiyomu-dev
parent 44855a6340
commit b510968f7d
7 changed files with 810 additions and 811 deletions

View File

@@ -2,7 +2,7 @@
// source: cmd/txttocode/txt/itemtypes.txt
package item
const (
const (
TypeNone = "none"
TypeShield = "shie"
TypeArmor = "tors"
@@ -104,7 +104,7 @@ package item
TypeSkull = "gemz"
TypeSwordsandKnives = "blde"
TypeSpearsandPolearms = "sppl"
)
)
var ItemTypes = map[string]Type{
TypeNone: {ID: 0, Name: "None", Code: "none", Throwable: false, Beltable: false, BodyLocs: []LocationType{}},

View File

@@ -11,7 +11,6 @@ const (
ObjectModeSpecial3 ObjectMode = 5
ObjectModeSpecial4 ObjectMode = 6
ObjectModeSpecial5 ObjectMode = 7
)
func (m ObjectMode) String() string {