Cod3xDocs
api

Module Context Matrix

Where the major OpenMW and openmw_aux modules are available.

This matrix mirrors Cod3x's current context model. Member-level restrictions may be narrower than the module itself.

ModuleContexts
openmw.asyncall
openmw.coreall, with narrower runtime members
openmw.markupall
openmw.storageall, with section/member restrictions
openmw.typesglobal, local, player
openmw.utilall
openmw.vfsall
openmw.interfacesruntime
openmw_aux.calendarruntime
openmw_aux.calendarconfigruntime
openmw_aux.timeruntime
openmw_aux.utilruntime
openmw.contentload
openmw.worldglobal
openmw.animationlocal, player
openmw.nearbylocal, player
openmw.selflocal, player
openmw.ambientplayer, menu
openmw.inputplayer, menu
openmw.uiplayer, menu
openmw_aux.uiplayer, menu
openmw.cameraplayer
openmw.debugplayer
openmw.postprocessingplayer
openmw.menumenu

Important broad-module exceptions

openmw.core is available everywhere, but several members are runtime-only. Cod3x currently treats runtime world-facing members such as game time, weather, sound, world pause state, quit, and sendGlobalEvent as unavailable in load scripts.

openmw.storage is available everywhere, but player/global section access varies by context.

openmw.interfaces itself is runtime-wide, while individual built-in interfaces can be narrower.

Use Cod3x diagnostics rather than copying this table into conditionals.