Invoke can now only invoke method in class 'invoke', likewise for 'probe'

This commit is contained in:
2026-06-03 17:03:07 -04:00
parent 6658fb7940
commit e9c562eee5
12 changed files with 121 additions and 142 deletions

View File

@@ -29,9 +29,10 @@
--
----------------------------------------------------------------
makeclass('engio')
makeclass('probe')
makeclass('invoke')
function engio.getmenu()
function probe.getmenu()
local class = tangible.getclass(place)
-- if the tangible doesn't have a 'lookmenu' function, do nothing
@@ -47,7 +48,7 @@ function engio.getmenu()
return items
end
function engio.pressmenu(label)
function invoke.pressmenu(label)
local class = tangible.getclass(place)
-- if the tangible doesn't have a 'lookmenu' function, do nothing