29 lines
1.0 KiB
Lua
29 lines
1.0 KiB
Lua
|
|
|
|
-- Copyright (C) 2021, 2024 Sandro del Toro
|
|
|
|
-- This file is part of EmeraldShop Minetest Mod.
|
|
|
|
-- EmeraldShop is free software: you can redistribute it and/or modify
|
|
-- it under the terms of the GNU Affero General Public License as
|
|
-- published by the Free Software Foundation, either version 3 of the
|
|
-- License, or (at your option) any later version.
|
|
|
|
-- EmeraldShop is distributed in the hope that it will be useful,
|
|
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
-- GNU Affero General Public License for more details.
|
|
|
|
-- You should have received a copy of the GNU Affero General Public License
|
|
-- along with EmeraldShop. If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
local modpath = core.get_modpath(core.get_current_modname())
|
|
|
|
dofile(modpath .. "/functions.lua")
|
|
dofile(modpath .. "/shop.lua")
|
|
|
|
core.register_alias("emeraldbank:shop", "emeraldshop:shop")
|
|
core.register_alias("emeraldbank:shop_empty", "emeraldshop:shop_empty")
|