mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 12:58:00 +03:00
Lua: Expose capacity for creatures as well
This commit is contained in:
parent
e4cced09ca
commit
81f2402e66
3 changed files with 11 additions and 10 deletions
|
@ -15,6 +15,12 @@
|
|||
-- @param openmw.core#GameObject actor
|
||||
-- @return #number
|
||||
|
||||
---
|
||||
-- Get the total weight that the actor can carry.
|
||||
-- @function [parent=#Actor] getCapacity
|
||||
-- @param openmw.core#GameObject actor
|
||||
-- @return #number
|
||||
|
||||
---
|
||||
-- Check if the given actor is dead (health reached 0, so death process started).
|
||||
-- @function [parent=#Actor] isDead
|
||||
|
@ -1035,12 +1041,6 @@
|
|||
-- @param openmw.core#GameObject player The player that you want to modify the disposition for.
|
||||
-- @param #number value Base disposition modification value
|
||||
|
||||
---
|
||||
-- Get the total weight that the actor can carry.
|
||||
-- @function [parent=#NPC] getCapacity
|
||||
-- @param openmw.core#GameObject actor
|
||||
-- @return #number
|
||||
|
||||
--- @{#Classes}: Class Data
|
||||
-- @field [parent=#NPC] #Classes classes
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue