mirror of
https://github.com/Dadido3/noita-mapcap.git
synced 2024-12-22 02:17:33 +00:00
David Vogel
931c4df18a
- Move utils into Noita API wrapper - Always overwrite require, with a fallback to the original - Add library directory of mod to package.path, instead of the files directory - Add Noita data/scripts/lib to package.path - Fix dofile error handling - Fix require not working right when module returns false - Add init.lua to Noita API wrapper, that contains a table of all modules - Fix Utils.GetSpecialDirectory - Update README.md
15 lines
408 B
Lua
15 lines
408 B
Lua
-- Copyright (c) 2022 David Vogel
|
|
--
|
|
-- This software is released under the MIT License.
|
|
-- https://opensource.org/licenses/MIT
|
|
|
|
return {
|
|
Camera = require("noita-api.camera"),
|
|
Component = require("noita-api.component"),
|
|
Debug = require("noita-api.debug"),
|
|
Entity = require("noita-api.entity"),
|
|
JSON = require("noita-api.json"),
|
|
Utils = require("noita-api.utils"),
|
|
Vec2 = require("noita-api.vec2"),
|
|
}
|