1
0
Fork 0
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:
SkyHasACat 2025-08-03 13:58:11 -07:00 committed by Evil Eye
parent 50ebf304c7
commit 111d6620a6

View file

@ -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 (0100), should sum to 100. -- @field #table weatherProbabilities A table mapping weather ids to their probability (0100), should sum to 100.
-- Supports both numeric indices (110) 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