From cdc77a1d2cd961ff9d09ae81ac5bbb8e27537aab Mon Sep 17 00:00:00 2001 From: Kindi Date: Fri, 14 Jun 2024 12:19:25 +0800 Subject: [PATCH] add missing objectisinstance to lockable --- files/lua_api/openmw/types.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/files/lua_api/openmw/types.lua b/files/lua_api/openmw/types.lua index 9efdeeb018..b711053c3b 100644 --- a/files/lua_api/openmw/types.lua +++ b/files/lua_api/openmw/types.lua @@ -1538,6 +1538,12 @@ --- @{#Lockable} functions -- @field [parent=#types] #Lockable Lockable +--- +-- Whether the object is a Lockable. +-- @function [parent=#Lockable] objectIsInstance +-- @param openmw.core#GameObject object +-- @return #boolean + --- -- Returns the key record of a lockable object(door, container) -- @function [parent=#Lockable] getKeyRecord