WoW does not have the os, debug, io, package modules.
Copy over time() and date() as they are on the os module
Replace basic module as it has slight differences with the WoW environment.
xpcall() is the Lua 5.2 version
getfenv() is marked as exclusive to Lua 5.1
I'm considering setting the Lua runtime to 5.1 in workspace settings, but there needs to be better detection for WoW addons or a way to manually activate the extension.
WoW does not have the
os
,debug
,io
,package
modules.Replace basic module as it has slight differences with the WoW environment.
I'm considering setting the Lua runtime to 5.1 in workspace settings, but there needs to be better detection for WoW addons or a way to manually activate the extension.