aboutsummaryrefslogtreecommitdiff
path: root/internal/object/object.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/object/object.go')
-rw-r--r--internal/object/object.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/internal/object/object.go b/internal/object/object.go
index 376f4be..e0a5b16 100644
--- a/internal/object/object.go
+++ b/internal/object/object.go
@@ -70,8 +70,9 @@ func (d *ObjectDef) BehaviorType() string {
return "gather"
case d.Talk != nil:
return "talk"
- case d.Safespot != nil:
- return "safespot"
}
+ // Safespot (and any other passive/use-driven object) is not an ActionType
+ // verb. Returning a non-ActionType string here would make the verb gate in
+ // startAction reject "use"-style verbs against it.
return ""
}