1
0
mirror of https://github.com/SmallJoker/exchange_shop.git synced 2025-07-12 05:10:24 +02:00

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", "PseudoRandom", "ItemStack",
"AreaStore", "AreaStore",
"default", "default",
"player_api", "mesecon",
} }
globals = { 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") local modpath = minetest.get_modpath("exchange_shop")
dofile(modpath .. "/shop_functions.lua") dofile(modpath .. "/shop_functions.lua")
dofile(modpath .. "/shop.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 name = exchange_shop
description = An improved exchange shop description = An improved exchange shop
depends = default depends = default
optional_depends = mesecons_mvps