summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexei Kotov <alexdobrohotov@yandex.ru>2024-02-26 12:48:59 +0300
committerAlexei Kotov <alexdobrohotov@yandex.ru>2024-02-26 12:48:59 +0300
commit98447a16909f9703886bd12b6acad48472e124c8 (patch)
tree4350eb2a0b628fbc6db16c666f7859b71efb012b
parent357b1905714f71a0ed23f18fb3008f9f1fd0e9ad (diff)
Remove legacy ownership documentation
-rw-r--r--files/lua_api/openmw/core.lua4
-rw-r--r--files/lua_api/openmw/self.lua9
2 files changed, 2 insertions, 11 deletions
diff --git a/files/lua_api/openmw/core.lua b/files/lua_api/openmw/core.lua
index 330f0e20a0..66fb817362 100644
--- a/files/lua_api/openmw/core.lua
+++ b/files/lua_api/openmw/core.lua
@@ -142,9 +142,9 @@
-- @return #string
-- @usage if obj.recordId == core.getFormId('Skyrim.esm', 0x4d7da) then ... end
-- @usage -- In ESM3 content files (e.g. Morrowind) ids are human-readable strings
--- obj.ownerFactionId = 'blades'
+-- obj.owner.factionId = 'blades'
-- -- In ESM4 (e.g. Skyrim) ids should be constructed using `core.getFormId`:
--- obj.ownerFactionId = core.getFormId('Skyrim.esm', 0x72834)
+-- obj.owner.factionId = core.getFormId('Skyrim.esm', 0x72834)
-- @usage -- local scripts
-- local obj = nearby.getObjectByFormId(core.getFormId('Morrowind.esm', 128964))
-- @usage -- global scripts
diff --git a/files/lua_api/openmw/self.lua b/files/lua_api/openmw/self.lua
index 005017e5c3..6123c36ae6 100644
--- a/files/lua_api/openmw/self.lua
+++ b/files/lua_api/openmw/self.lua
@@ -22,15 +22,6 @@
-- The object the script is attached to (readonly)
-- @field [parent=#self] openmw.core#GameObject object
---- NPC who owns the object or `nil` (mutable).
--- @field [parent=#self] #string ownerRecordId
-
---- Faction who owns the object or `nil` (mutable).
--- @field [parent=#self] #string ownerFactionId
-
---- Rank required to be allowed to pick up the object (mutable).
--- @field [parent=#self] #number ownerFactionRank
-
---
-- Movement controls (only for actors)