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

Mod update and cleanup

This commit is contained in:
Maksim
2022-07-10 18:04:21 +03:00
parent 22f035735f
commit 522d163434
30 changed files with 825 additions and 162 deletions

View File

@ -2,11 +2,8 @@ exchange_shop = {}
exchange_shop.storage_size = 5 * 4
exchange_shop.shopname = "exchange_shop:shop"
-- Internationalisaton
exchange_shop.S = minetest.get_translator_auto("ru")
exchange_shop.FS = function(...)
return minetest.formspec_escape(exchange_shop.S(...))
end
-- Internationalisation
exchange_shop.S = minetest.get_translator("exchange_shop")
local modpath = minetest.get_modpath("exchange_shop")
dofile(modpath .. "/shop_functions.lua")