mirror of
https://github.com/OpenMW/openmw.git
synced 2025-05-15 12:41:27 +00:00
Docs fixes
This commit is contained in:
parent
6c6885c394
commit
ee5983f64a
2 changed files with 3 additions and 2 deletions
|
@ -50,6 +50,7 @@ namespace MWLua
|
||||||
record["isMale"] = sol::readonly_property([](const ESM::NPC& rec) -> bool { return rec.isMale(); });
|
record["isMale"] = sol::readonly_property([](const ESM::NPC& rec) -> bool { return rec.isMale(); });
|
||||||
record["baseGold"] = sol::readonly_property([](const ESM::NPC& rec) -> int { return rec.mNpdt.mGold; });
|
record["baseGold"] = sol::readonly_property([](const ESM::NPC& rec) -> int { return rec.mNpdt.mGold; });
|
||||||
addActorServicesBindings<ESM::NPC>(record, context);
|
addActorServicesBindings<ESM::NPC>(record, context);
|
||||||
|
|
||||||
// This function is game-specific, in future we should replace it with something more universal.
|
// This function is game-specific, in future we should replace it with something more universal.
|
||||||
npc["isWerewolf"] = [](const Object& o) {
|
npc["isWerewolf"] = [](const Object& o) {
|
||||||
const MWWorld::Class& cls = o.ptr().getClass();
|
const MWWorld::Class& cls = o.ptr().getClass();
|
||||||
|
|
|
@ -701,7 +701,7 @@
|
||||||
-- @field #number soulValue The soul value of the creature record
|
-- @field #number soulValue The soul value of the creature record
|
||||||
-- @field #number type The @{#Creature.TYPE} of the creature
|
-- @field #number type The @{#Creature.TYPE} of the creature
|
||||||
-- @field #number baseGold The base barter gold of the creature
|
-- @field #number baseGold The base barter gold of the creature
|
||||||
-- @field #list<#string> servicesOffered The services of the creature, in a table. Possible entries are: Spells, Spellmaking, Enchanting, Repair, Barter, Weapon, Armor, Clothing, Books, Ingredients, Picks, Probes, Lights, Apparatus, RepairItems, Misc, Potions, MagicItems, Travel.
|
-- @field #list<#string> servicesOffered The services of the creature, in a table. Value is if the service is provided or not, and they are indexed by: Spells, Spellmaking, Enchanting, Training, Repair, Barter, Weapon, Armor, Clothing, Books, Ingredients, Picks, Probes, Lights, Apparatus, RepairItems, Misc, Potions, MagicItems, Travel.
|
||||||
|
|
||||||
|
|
||||||
--- @{#NPC} functions
|
--- @{#NPC} functions
|
||||||
|
@ -751,7 +751,7 @@
|
||||||
-- @field #number baseGold The base barter gold of the NPC
|
-- @field #number baseGold The base barter gold of the NPC
|
||||||
-- @field #number baseDisposition NPC's starting disposition
|
-- @field #number baseDisposition NPC's starting disposition
|
||||||
-- @field #bool isMale The gender setting of the NPC
|
-- @field #bool isMale The gender setting of the NPC
|
||||||
-- @field #list<#string> servicesOffered The services of the creature, in a table. Possible entries are: Spells, Spellmaking, Enchanting, Training, Repair, Barter, Weapon, Armor, Clothing, Books, Ingredients, Picks, Probes, Lights, Apparatus, RepairItems, Misc, Potions, MagicItems, Travel.
|
-- @field #list<#string> servicesOffered The services of the NPC, in a table. Value is if the service is provided or not, and they are indexed by: Spells, Spellmaking, Enchanting, Training, Repair, Barter, Weapon, Armor, Clothing, Books, Ingredients, Picks, Probes, Lights, Apparatus, RepairItems, Misc, Potions, MagicItems, Travel.
|
||||||
|
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in a new issue