Lua: Add missing light flags, allow creating light record via world.createRecord

This commit is contained in:
Zackhasacat 2024-05-13 14:14:44 +00:00 committed by psi29a
parent f595015ffc
commit c63c1e69cf
7 changed files with 128 additions and 4 deletions

View file

@ -172,7 +172,8 @@
-- * @{openmw.types#MiscellaneousRecord},
-- * @{openmw.types#ClothingRecord},
-- * @{openmw.types#WeaponRecord},
-- * @{openmw.types#ActivatorRecord}
-- * @{openmw.types#ActivatorRecord},
-- * @{openmw.types#LightRecord}
-- @function [parent=#world] createRecord
-- @param #any record A record to be registered in the database. Must be one of the supported types.
-- @return #any A new record added to the database. The type is the same as the input's.