diff --git a/pkg/game/world.go b/pkg/game/world.go index 909a781..6b88918 100644 --- a/pkg/game/world.go +++ b/pkg/game/world.go @@ -3,6 +3,7 @@ package game import ( "fmt" "math/rand" + "strings" "sync" "github.com/google/uuid" @@ -58,11 +59,13 @@ func (w *World) SpawnRover() (uuid.UUID, error) { Range: 5.0, // Set the name randomly - // TODO: Fix the stupid "'s" Name: babble.NewBabbler().Babble(), }, } + // Dictionaries tend to include the possesive + strings.ReplaceAll(rover.Attributes.Name, "'s", "") + // Spawn in a random place near the origin rover.Attributes.Pos = Vector{ w.Atlas.ChunkSize - (rand.Int() % (w.Atlas.ChunkSize * 2)),