v1.1.3
Features
- Implemented a reworked module of
duff.require
asCPackage
, with methods;require
- functioning like the default Lua require.import
- imports a file's environment or methods into the current environment.as
- changes the name of the last loaded module and add it as a global.
Fixes
- Removed
require
export as sparse returns would drop any trailingnils
. - Module loading all happens in
shared/import
, improving performance and fixing the above issue.
Tweaks
- Various improvements to error handling and file loading across resource.
- Change module name of
CPackages
toCPackage
to better imitate default Lua packagelib. - Moved
shared/lib
toserver/init
as there's now only server logic handled.
Chores
- Add new methods to documentation.
- Change usage of
exports.duff:require
tolib.require
.
Full Changelog: v1.1.2...v1.1.3