From abd612c15799f604e671e83dc7c410ed2b44185f Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Thu, 25 Jun 2026 15:40:48 -0400 Subject: slop refactor --- internal/world/objects.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'internal/world/objects.go') diff --git a/internal/world/objects.go b/internal/world/objects.go index a7e0605..849c47a 100644 --- a/internal/world/objects.go +++ b/internal/world/objects.go @@ -6,7 +6,7 @@ import ( "sort" "strings" - "thehouseoficarus/internal/object" + "thehouseoficarus/internal/behavior" ) type ObjState struct { @@ -25,9 +25,9 @@ type ObjState struct { SharedTimer int Quality float64 - SafespotLevel int + SafespotLevel int SafespotTicksAtLevel int - SafespotOccupants []string + SafespotOccupants []string } type ObjMove struct { @@ -187,11 +187,11 @@ func (w *World) FindObjInstances(roomID int, name string) []ObjState { } func wordMatchesObj(lower, defID, objName string, aliases []string) bool { - if object.WordPrefixMatch(lower, objName) { + if behavior.WordPrefixMatch(lower, objName) { return true } for _, alias := range aliases { - if object.WordPrefixMatch(lower, alias) { + if behavior.WordPrefixMatch(lower, alias) { return true } } -- cgit v1.2.3