forked from Mirrorlandia_minetest/emeraldbank
shop WIP
This commit is contained in:
parent
fefdb62a62
commit
178d60b689
10
init.lua
10
init.lua
@ -24,14 +24,6 @@ local modpath = core.get_modpath(core.get_current_modname())
|
|||||||
|
|
||||||
emeraldbank = {}
|
emeraldbank = {}
|
||||||
|
|
||||||
|
|
||||||
emeraldbank.player_inv = "list[current_player;main;0,4.5;9,3;9]"..
|
|
||||||
mcl_formspec.get_itemslot_bg(0,4.5,9,3)..
|
|
||||||
"list[current_player;main;0,7.74;9,1;]"..
|
|
||||||
mcl_formspec.get_itemslot_bg(0,7.74,9,1)..
|
|
||||||
"listring[current_player;main]"
|
|
||||||
|
|
||||||
|
|
||||||
local income_enabled = core.settings:get_bool("emeraldbank.income_enabled", true)
|
local income_enabled = core.settings:get_bool("emeraldbank.income_enabled", true)
|
||||||
|
|
||||||
if income_enabled then
|
if income_enabled then
|
||||||
@ -39,5 +31,5 @@ if income_enabled then
|
|||||||
end
|
end
|
||||||
|
|
||||||
dofile(modpath .. "/bank.lua")
|
dofile(modpath .. "/bank.lua")
|
||||||
dofile(modpath .. "/shop.lua")
|
-- dofile(modpath .. "/shop.lua")
|
||||||
dofile(modpath .. "/commands.lua")
|
dofile(modpath .. "/commands.lua")
|
||||||
|
Loading…
Reference in New Issue
Block a user