mirror of
https://github.com/OpenMW/openmw.git
synced 2025-09-13 18:24:06 +00:00
10 lines
449 B
Lua
10 lines
449 B
Lua
local testing = require('testing_util')
|
|
local core = require('openmw.core')
|
|
local util = require('openmw.util')
|
|
|
|
testing.registerGlobalTest('[weather] Should be able to change weather records', function()
|
|
local record = core.weather.records['clear']
|
|
testing.expect(record ~= nil, 'Clear weather to exist')
|
|
record.skyColor.sunrise = util.color.hex('2227FF')
|
|
testing.expectEqual(record.skyColor.sunrise, util.color.hex('2227FF'))
|
|
end)
|