mirror of
https://github.com/prosolis/gogobee.git
synced 2026-07-16 00:52:40 +00:00
gofmt: bring internal/ and cmd/ back to gofmt -l clean
Mechanical `gofmt -w ./internal ./cmd`. Mostly struct-field realignment that had drifted, plus a few trailing-newline fixes. No behaviour change — gofmt is semantics-preserving, and build/vet/test are green either side. Split out from the code-review fixes that follow so those stay reviewable instead of hiding inside a wall of realignment.
This commit is contained in:
@@ -37,18 +37,18 @@ const (
|
||||
// (count, sides) form; AlertsEnemies flags traps that have no damage
|
||||
// but raise the alarm. Weight biases the room-level random pick.
|
||||
type zoneTrapDef struct {
|
||||
Kind ZoneTrapKind
|
||||
Display string
|
||||
Trigger string // short flavor descriptor for the trip narration
|
||||
DetectSkill DnDSkill
|
||||
DetectDC int
|
||||
DamageDiceN int // 0 if no direct damage
|
||||
DamageDiceD int // sides
|
||||
Kind ZoneTrapKind
|
||||
Display string
|
||||
Trigger string // short flavor descriptor for the trip narration
|
||||
DetectSkill DnDSkill
|
||||
DetectDC int
|
||||
DamageDiceN int // 0 if no direct damage
|
||||
DamageDiceD int // sides
|
||||
DamageType string // "bludgeoning", "piercing", "poison", ...
|
||||
AlertsEnemies bool // tripwire-class: 0 damage, raises alarm
|
||||
SuppressesMagic bool // antimagic-class: 0 damage, narrative suppression
|
||||
Tier ZoneTier
|
||||
Weight int // 1..10, default 5
|
||||
Weight int // 1..10, default 5
|
||||
}
|
||||
|
||||
// tier1TrapCatalog — design doc §6 Tier 1 table.
|
||||
|
||||
Reference in New Issue
Block a user