1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-04-02 10:06:40 +00:00

Add a number-per-sex type

This commit is contained in:
Evil Eye 2024-02-27 21:57:01 +01:00
parent cd118ee263
commit f346295975

View file

@ -981,12 +981,17 @@
-- @field #list<#string> spells A read-only list containing the ids of all spells inherent to the race
-- @field #bool isPlayable True if the player can pick this race in character generation
-- @field #bool isBeast True if this race is a beast race
-- @field #map<#string, #number> height A read-only table with male and female fields
-- @field #map<#string, #number> weight A read-only table with male and female fields
-- @field #map<#string, #map<#string, #number>> attributes A read-only table of attribute ID to male and female base values
-- @field #GenderedNumber height Height values
-- @field #GenderedNumber weight Weight values
-- @field #map<#string, #GenderedNumber> attributes A read-only table of attribute ID to base value
-- @usage -- Get base strength for men
-- strength = types.NPC.races.records[1].attributes.strength.male
---
-- @type GenderedNumber
-- @field #number male Male value
-- @field #number female Female value
---
-- @type NpcRecord
-- @field #string id The record ID of the NPC