mirror of
https://github.com/SmallJoker/exchange_shop.git
synced 2024-09-21 03:20:17 +02:00
18 lines
505 B
Lua
18 lines
505 B
Lua
if not minetest.get_translator then
|
|
error("exchange_shop requires at least Minetest 5.0.0-dev.")
|
|
end
|
|
|
|
exchange_shop = {}
|
|
exchange_shop.storage_size = 5 * 4
|
|
exchange_shop.shopname = "exchange_shop:shop"
|
|
|
|
-- Internationalisaton
|
|
exchange_shop.S = minetest.get_translator("exchange_shop")
|
|
exchange_shop.FS = function(...)
|
|
return minetest.formspec_escape(exchange_shop.S(...))
|
|
end
|
|
|
|
local modpath = minetest.get_modpath("exchange_shop")
|
|
dofile(modpath .. "/shop_functions.lua")
|
|
dofile(modpath .. "/shop.lua")
|