diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2025-07-19 18:38:05 -0400 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2025-07-19 18:54:25 -0400 |
| commit | 60da71c5cb503dbce3266f706eeb3c38ccd2ee69 (patch) | |
| tree | a3277e972985359499c7554f11b85516ded1b3ca | |
| parent | 8b9323dde171bae44763e7179b205edd9373b82b (diff) | |
| download | muhqs-game-60da71c5cb503dbce3266f706eeb3c38ccd2ee69.tar.gz muhqs-game-60da71c5cb503dbce3266f706eeb3c38ccd2ee69.zip | |
change move action representation
| -rw-r--r-- | go/game/action.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/go/game/action.go b/go/game/action.go index 1d34a843..44fdd97e 100644 --- a/go/game/action.go +++ b/go/game/action.go @@ -526,12 +526,12 @@ func newArtifactMoveAction(u *Unit, artifact Permanent) *ArtifactMoveAction { func (a *ArtifactMoveAction) String() string { if !a.Targets().HasSelections() { - return fmt.Sprintf("%v move %v", a.Source().(*Unit), a.Artifact) + return fmt.Sprintf("%v -(%v)>", a.Source().(*Unit), a.Artifact) } t1 := targetTile(a.Targets().ts[0]) t2 := targetTile(a.Targets().ts[1]) - return fmt.Sprintf("%v,%v -> %v,%v", a.Source().(*Unit), a.Artifact, t1, t2) + return fmt.Sprintf("%v -(%v)> %v,%v", a.Source().(*Unit), a.Artifact, t1, t2) } type FullAction struct { |
