diff options
Diffstat (limited to 'internal/world/objects.go')
| -rw-r--r-- | internal/world/objects.go | 10 |
1 files changed, 5 insertions, 5 deletions
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 } } |
