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
|
2021-11-25 21:01:05 +01:00
|
|
|
--exchange_shop.S = minetest.get_translator("exchange_shop")
|
|
|
|
exchange_shop.S = intllib.make_gettext_pair()
|
2020-04-21 20:00:41 +02:00
|
|
|
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")
|