forked from Mirrorlandia_minetest/emeraldbank
crafteo de la tienda opcional
igual que el del banco
This commit is contained in:
parent
3f23448468
commit
6d3d96853e
2
bank.lua
2
bank.lua
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
local S = core.get_translator(core.get_current_modname())
|
local S = core.get_translator(core.get_current_modname())
|
||||||
|
|
||||||
local bankcraft = core.settings:get_bool("emeraldbank.craft") or true
|
local bankcraft = core.settings:get_bool("emeraldbank.bank_craft") or true
|
||||||
|
|
||||||
|
|
||||||
function emeraldbank.add_emeralds(player, num)
|
function emeraldbank.add_emeralds(player, num)
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
|
|
||||||
# If true bank can be crafted
|
# If true bank can be crafted
|
||||||
emeraldbank.craft (bank craft) bool true
|
emeraldbank.bank_craft (bank craft) bool true
|
||||||
|
|
||||||
|
# If true shop can be crafted
|
||||||
|
emeraldbank.shop_craft (shop craft) bool true
|
||||||
|
|
||||||
# If true, bank will give emeralds to players for gamed time
|
# If true, bank will give emeralds to players for gamed time
|
||||||
emeraldbank.income_enabled (Is income enabled?) bool true
|
emeraldbank.income_enabled (Is income enabled?) bool true
|
||||||
|
Loading…
Reference in New Issue
Block a user