feat: use direct import package
This commit is contained in:
parent
6d1900d5a5
commit
afc15fa0e3
8 changed files with 8 additions and 16 deletions
|
@ -1,5 +1,4 @@
|
|||
local cwd = (...):gsub('%.encounter$', '') .. "."
|
||||
local Gizmo = require(cwd .. "gizmo")
|
||||
local Gizmo = require "scenes.overworld.actors.gizmo"
|
||||
local Encounter = Gizmo:extend()
|
||||
|
||||
local overrides = {
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
local cwd = (...):gsub('%.gizmo$', '') .. "."
|
||||
local Parent = require(cwd .. "parent")
|
||||
local Parent = require "scenes.overworld.actors.parent"
|
||||
local Gizmo = Parent:extend()
|
||||
|
||||
local defaultEvent = {
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
local cwd = (...):gsub('%.itembox$', '') .. "."
|
||||
local Gizmo = require(cwd .. "gizmo")
|
||||
local Gizmo = require "scenes.overworld.actors.gizmo"
|
||||
local ItemBox = Gizmo:extend()
|
||||
|
||||
local overrides = {
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
local cwd = (...):gsub('%.player$', '') .. "."
|
||||
local Parent = require(cwd .. "parent")
|
||||
local Parent = require "scenes.overworld.actors.parent"
|
||||
local Player = Parent:extend()
|
||||
|
||||
local Emblem = require "game.modules.gui.emblem"
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
local cwd = (...):gsub('%.pnj$', '') .. "."
|
||||
local Gizmo = require(cwd .. "gizmo")
|
||||
local Gizmo = require "scenes.overworld.actors.gizmo"
|
||||
local PNJ = Gizmo:extend()
|
||||
|
||||
local overrides = {
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
local cwd = (...):gsub('%.ring$', '') .. "."
|
||||
local Gizmo = require(cwd .. "gizmo")
|
||||
local Gizmo = require "scenes.overworld.actors.gizmo"
|
||||
local Ring = Gizmo:extend()
|
||||
|
||||
local overrides = {
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
local cwd = (...):gsub('%.ringbox$', '') .. "."
|
||||
local Gizmo = require(cwd .. "gizmo")
|
||||
local Gizmo = require "scenes.overworld.actors.gizmo"
|
||||
local RingBox = Gizmo:extend()
|
||||
|
||||
local overrides = {
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
local cwd = (...):gsub('%.teleport$', '') .. "."
|
||||
local Gizmo = require(cwd .. "gizmo")
|
||||
local Gizmo = require "scenes.overworld.actors.gizmo"
|
||||
local Teleporter = Gizmo:extend()
|
||||
|
||||
function Teleporter:new(world, x, y, w, h)
|
||||
|
|
Loading…
Reference in a new issue