mirror of
https://codeberg.org/usrib/emeraldbank.git
synced 2024-12-22 22:22:25 +01:00
shops to buy items dont keep emeralds in owner bank account
This commit is contained in:
parent
dac343c284
commit
a4f07ddba8
@ -1461,7 +1461,7 @@ player_vendor.tiles = {
|
||||
"player_vend.png", "player_vend.png",
|
||||
"player_vend.png^mcl_core_emerald.png", "player_vend.png^mcl_core_emerald.png",
|
||||
"player_vend.png^mcl_core_emerald.png", "player_vend_front.png",
|
||||
}
|
||||
}
|
||||
|
||||
local player_depo = table.copy(vendor_template)
|
||||
player_depo.tiles = {
|
||||
@ -1469,7 +1469,9 @@ player_depo.tiles = {
|
||||
"player_depo.png^mcl_core_emerald.png", "player_depo.png^mcl_core_emerald.png",
|
||||
"player_depo.png^mcl_core_emerald.png", "player_depo_front.png",
|
||||
}
|
||||
|
||||
player_depo.on_timer = function(pos, elapsed)
|
||||
core.get_node_timer(pos):start(shop_timer)
|
||||
end
|
||||
player_depo.groups.not_in_creative_inventory = 1
|
||||
|
||||
local admin_vendor = table.copy(vendor_template)
|
||||
@ -1477,7 +1479,7 @@ admin_vendor.tiles = {
|
||||
"admin_vend.png", "admin_vend.png",
|
||||
"admin_vend.png^mcl_core_emerald.png", "admin_vend.png^mcl_core_emerald.png",
|
||||
"admin_vend.png^mcl_core_emerald.png", "admin_vend_front.png",
|
||||
}
|
||||
}
|
||||
admin_vendor.groups.not_in_creative_inventory = 1
|
||||
|
||||
local admin_depo = table.copy(vendor_template)
|
||||
@ -1485,7 +1487,7 @@ admin_depo.tiles = {
|
||||
"admin_depo.png", "admin_depo.png",
|
||||
"admin_depo.png^mcl_core_emerald.png", "admin_depo.png^mcl_core_emerald.png",
|
||||
"admin_depo.png^mcl_core_emerald.png", "admin_depo_front.png",
|
||||
}
|
||||
}
|
||||
admin_depo.groups.not_in_creative_inventory = 1
|
||||
|
||||
minetest.register_node(":fancy_vend:player_vendor", player_vendor)
|
||||
|
Loading…
Reference in New Issue
Block a user