mirror of
https://github.com/OpenMW/openmw.git
synced 2025-10-21 16:56:42 +00:00
Remove index weather
This commit is contained in:
parent
50ebf304c7
commit
111d6620a6
1 changed files with 2 additions and 3 deletions
|
@ -1177,10 +1177,9 @@
|
||||||
-- @field #list<#RegionSoundRef> sounds A read-only list of ambient sound references for this region.
|
-- @field #list<#RegionSoundRef> sounds A read-only list of ambient sound references for this region.
|
||||||
-- Each reference includes a chance and a resolved link to the full sound record.
|
-- Each reference includes a chance and a resolved link to the full sound record.
|
||||||
-- @field #table weatherProbabilities A table mapping weather ids to their probability (0–100), should sum to 100.
|
-- @field #table weatherProbabilities A table mapping weather ids to their probability (0–100), should sum to 100.
|
||||||
-- Supports both numeric indices (1–10) and ids, for example:
|
-- Valid weather ids include:
|
||||||
-- `"clear"`, `"cloudy"`, `"foggy"`, `"overcast"`, `"rain"`, `"thunder"`, `"ash"`, `"blight"`, `"snow"`, `"blizzard"`
|
-- `"clear"`, `"cloudy"`, `"foggy"`, `"overcast"`, `"rain"`, `"thunder"`, `"ash"`, `"blight"`, `"snow"`, `"blizzard"`
|
||||||
-- @usage print(region.weatherProbabilities[1]) -- access by index
|
-- @usage print(region.weatherProbabilities["rain"])
|
||||||
-- @usage print(region.weatherProbabilities["rain"]) -- access by id
|
|
||||||
|
|
||||||
---
|
---
|
||||||
-- Region sound reference
|
-- Region sound reference
|
||||||
|
|
Loading…
Reference in a new issue