Skip to content

An OpenMW mod that lets you play the whole Elder Scrolls III: Morrowind as a top-down isometric game — with full online co-op or MMO modes.

C++
449 B
Raw Blame
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)