Register node as MVPS stopper

This commit is contained in:
Maksim 2022-07-29 13:07:17 +02:00
parent 522d163434
commit 20810ba81d
4 changed files with 6 additions and 3 deletions

View File

@ -7,7 +7,7 @@ read_globals = {
"PseudoRandom", "ItemStack",
"AreaStore",
"default",
"player_api",
"mesecon",
}
globals = {

View File

@ -1,2 +0,0 @@
default
player_api

View File

@ -8,3 +8,7 @@ exchange_shop.S = minetest.get_translator("exchange_shop")
local modpath = minetest.get_modpath("exchange_shop")
dofile(modpath .. "/shop_functions.lua")
dofile(modpath .. "/shop.lua")
if mesecon and mesecon.register_mvps_stopper then
mesecon.register_mvps_stopper(exchange_shop.shopname)
end

View File

@ -1,3 +1,4 @@
name = exchange_shop
description = An improved exchange shop
depends = default
optional_depends = mesecons_mvps