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

Merge remote-tracking branch 'upstream/master' into nalc-1.2-dev

This commit is contained in:
2020-06-16 21:34:14 +02:00
8 changed files with 137 additions and 48 deletions

View File

@ -1,3 +1,7 @@
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"
@ -6,6 +10,12 @@ local modpath = minetest.get_modpath("exchange_shop")
local has_currency = minetest.get_modpath("currency")
local has_bitchange = minetest.get_modpath("bitchange")
-- Internationalisaton
exchange_shop.S = minetest.get_translator("exchange_shop")
exchange_shop.FS = function(...)
return minetest.formspec_escape(exchange_shop.S(...))
end
-- Currency migrate options
exchange_shop.migrate = {
use_lbm = false,