1
0
mirror of https://github.com/SmallJoker/exchange_shop.git synced 2024-09-21 03:20:17 +02:00
exchange_shop/init.lua

18 lines
505 B
Lua
Raw Normal View History

2020-04-21 20:47:07 +02:00
if not minetest.get_translator then
error("exchange_shop requires at least Minetest 5.0.0-dev.")
end
2018-07-08 09:30:13 +02:00
exchange_shop = {}
exchange_shop.storage_size = 5 * 4
exchange_shop.shopname = "exchange_shop:shop"
2020-04-21 20:00:41 +02:00
-- Internationalisaton
exchange_shop.S = minetest.get_translator("exchange_shop")
exchange_shop.FS = function(...)
return minetest.formspec_escape(exchange_shop.S(...))
end
2021-11-25 20:58:05 +01:00
local modpath = minetest.get_modpath("exchange_shop")
dofile(modpath .. "/shop_functions.lua")
dofile(modpath .. "/shop.lua")