mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-05-11 13:06:56 +03:00
Add type prop for types.Creature
This commit is contained in:
parent
e35bf97603
commit
43e92fa1c9
2 changed files with 19 additions and 0 deletions
|
@ -578,6 +578,16 @@
|
|||
-- @param openmw.core#GameObject object
|
||||
-- @return #boolean
|
||||
|
||||
--- Creature.TYPE
|
||||
-- @type CreatureTYPE
|
||||
-- @field #number Creatures
|
||||
-- @field #number Daedra
|
||||
-- @field #number Undead
|
||||
-- @field #number Humanoid
|
||||
|
||||
--- @{#CreatureTYPE}
|
||||
-- @field [parent=#Creature] #CreatureTYPE TYPE
|
||||
|
||||
---
|
||||
-- Returns the read-only @{#CreatureRecord} of a creature
|
||||
-- @function [parent=#Creature] record
|
||||
|
@ -592,6 +602,7 @@
|
|||
-- @field #string model VFS path to the creature's model
|
||||
-- @field #string mwscript
|
||||
-- @field #number soulValue The soul value of the creature record
|
||||
-- @field #number type The @{#Creature.TYPE} of the creature
|
||||
|
||||
|
||||
--- @{#NPC} functions
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue