style: fix codegen formatting and run gofmt after generation
This commit is contained in:
@@ -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{}},
|
||||
|
||||
@@ -11,7 +11,6 @@ const (
|
||||
ObjectModeSpecial3 ObjectMode = 5
|
||||
ObjectModeSpecial4 ObjectMode = 6
|
||||
ObjectModeSpecial5 ObjectMode = 7
|
||||
|
||||
)
|
||||
|
||||
func (m ObjectMode) String() string {
|
||||
|
||||
Reference in New Issue
Block a user