mirror of
https://codeberg.org/usrib/emeraldbank.git
synced 2024-12-22 22:22:25 +01:00
remove shop front
This commit is contained in:
parent
2bdc96971b
commit
ef934f9e8c
@ -125,7 +125,7 @@ if minetest.get_modpath("awards") then
|
|||||||
item = drop_vendor,
|
item = drop_vendor,
|
||||||
target = 1,
|
target = 1,
|
||||||
},
|
},
|
||||||
icon = "player_vend_front.png",
|
icon = "player_vend.png^mcl_core_emerald.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
-- awards.register_achievement("fancy_vend:wizard",{
|
-- awards.register_achievement("fancy_vend:wizard",{
|
||||||
@ -142,35 +142,35 @@ if minetest.get_modpath("awards") then
|
|||||||
awards.register_achievement("fancy_vend:trader",{
|
awards.register_achievement("fancy_vend:trader",{
|
||||||
title = "Trader",
|
title = "Trader",
|
||||||
description = "Configure a depositor.",
|
description = "Configure a depositor.",
|
||||||
icon = "player_depo_front.png",
|
icon = "player_depo.png^mcl_core_emerald.png",
|
||||||
})
|
})
|
||||||
awards.register_achievement("fancy_vend:seller",{
|
awards.register_achievement("fancy_vend:seller",{
|
||||||
title = "Seller",
|
title = "Seller",
|
||||||
description = "Configure a vendor.",
|
description = "Configure a vendor.",
|
||||||
icon = "player_vend_front.png",
|
icon = "player_vend.png^mcl_core_emerald.png",
|
||||||
})
|
})
|
||||||
awards.register_achievement("fancy_vend:shop_keeper",{
|
awards.register_achievement("fancy_vend:shop_keeper",{
|
||||||
title = "Shop Keeper",
|
title = "Shop Keeper",
|
||||||
description = "Configure 10 vendors or depositors.",
|
description = "Configure 10 vendors or depositors.",
|
||||||
icon = "player_vend_front.png",
|
icon = "player_vend.png^mcl_core_emerald.png",
|
||||||
secret = true,
|
secret = true,
|
||||||
})
|
})
|
||||||
awards.register_achievement("fancy_vend:merchant",{
|
awards.register_achievement("fancy_vend:merchant",{
|
||||||
title = "Merchant",
|
title = "Merchant",
|
||||||
description = "Configure 25 vendors or depositors.",
|
description = "Configure 25 vendors or depositors.",
|
||||||
icon = "player_vend_front.png",
|
icon = "player_vend.png^mcl_core_emerald.png",
|
||||||
secret = true,
|
secret = true,
|
||||||
})
|
})
|
||||||
awards.register_achievement("fancy_vend:super_merchant",{
|
awards.register_achievement("fancy_vend:super_merchant",{
|
||||||
title = "Super Merchant",
|
title = "Super Merchant",
|
||||||
description = "Configure 100 vendors or depositors. How do you even have this much stuff to sell?",
|
description = "Configure 100 vendors or depositors. How do you even have this much stuff to sell?",
|
||||||
icon = "player_vend_front.png",
|
icon = "player_vend.png^mcl_core_emerald.png",
|
||||||
secret = true,
|
secret = true,
|
||||||
})
|
})
|
||||||
awards.register_achievement("fancy_vend:god_merchant",{
|
awards.register_achievement("fancy_vend:god_merchant",{
|
||||||
title = "God Merchant",
|
title = "God Merchant",
|
||||||
description = "Configure 9001 vendors or depositors. Ok wot.",
|
description = "Configure 9001 vendors or depositors. Ok wot.",
|
||||||
icon = "player_vend_front.png",
|
icon = "player_vend.png^mcl_core_emerald.png",
|
||||||
secret = true, -- Oi. Cheater.
|
secret = true, -- Oi. Cheater.
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
@ -1243,7 +1243,7 @@ end)
|
|||||||
local vendor_template = {
|
local vendor_template = {
|
||||||
description = S("Vending Machine"),
|
description = S("Vending Machine"),
|
||||||
legacy_facedir_simple = true,
|
legacy_facedir_simple = true,
|
||||||
paramtype2 = "facedir",
|
--paramtype2 = "facedir",
|
||||||
groups = {choppy=2, oddly_breakable_by_hand=2, tubedevice=1, tubedevice_receiver=1, axey=1, handy=1},
|
groups = {choppy=2, oddly_breakable_by_hand=2, tubedevice=1, tubedevice_receiver=1, axey=1, handy=1},
|
||||||
_mcl_blast_resistance = 5,
|
_mcl_blast_resistance = 5,
|
||||||
_mcl_hardness = 0.8,
|
_mcl_hardness = 0.8,
|
||||||
@ -1461,15 +1461,13 @@ end
|
|||||||
local player_vendor = table.copy(vendor_template)
|
local player_vendor = table.copy(vendor_template)
|
||||||
player_vendor.tiles = {
|
player_vendor.tiles = {
|
||||||
"player_vend.png", "player_vend.png",
|
"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.png^mcl_core_emerald.png", "player_vend_front.png",
|
|
||||||
}
|
}
|
||||||
|
|
||||||
local player_depo = table.copy(vendor_template)
|
local player_depo = table.copy(vendor_template)
|
||||||
player_depo.tiles = {
|
player_depo.tiles = {
|
||||||
"player_depo.png", "player_depo.png",
|
"player_depo.png", "player_depo.png",
|
||||||
"player_depo.png^mcl_core_emerald.png", "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)
|
player_depo.on_timer = function(pos, elapsed)
|
||||||
core.get_node_timer(pos):start(shop_timer)
|
core.get_node_timer(pos):start(shop_timer)
|
||||||
@ -1479,16 +1477,14 @@ player_depo.groups.not_in_creative_inventory = 1
|
|||||||
local admin_vendor = table.copy(vendor_template)
|
local admin_vendor = table.copy(vendor_template)
|
||||||
admin_vendor.tiles = {
|
admin_vendor.tiles = {
|
||||||
"admin_vend.png", "admin_vend.png",
|
"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.png^mcl_core_emerald.png", "admin_vend_front.png",
|
|
||||||
}
|
}
|
||||||
admin_vendor.groups.not_in_creative_inventory = 1
|
admin_vendor.groups.not_in_creative_inventory = 1
|
||||||
|
|
||||||
local admin_depo = table.copy(vendor_template)
|
local admin_depo = table.copy(vendor_template)
|
||||||
admin_depo.tiles = {
|
admin_depo.tiles = {
|
||||||
"admin_depo.png", "admin_depo.png",
|
"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.png^mcl_core_emerald.png", "admin_depo_front.png",
|
|
||||||
}
|
}
|
||||||
admin_depo.groups.not_in_creative_inventory = 1
|
admin_depo.groups.not_in_creative_inventory = 1
|
||||||
|
|
||||||
@ -1626,7 +1622,7 @@ end
|
|||||||
local base_upgrade_template = {
|
local base_upgrade_template = {
|
||||||
description = S("Shop Upgrade (Try and place to upgrade)"),
|
description = S("Shop Upgrade (Try and place to upgrade)"),
|
||||||
legacy_facedir_simple = true,
|
legacy_facedir_simple = true,
|
||||||
paramtype2 = "facedir",
|
--paramtype2 = "facedir",
|
||||||
groups = {choppy=2, oddly_breakable_by_hand=2, not_in_creative_inventory=1, axey=1, handy=1},
|
groups = {choppy=2, oddly_breakable_by_hand=2, not_in_creative_inventory=1, axey=1, handy=1},
|
||||||
_mcl_blast_resistance = 5,
|
_mcl_blast_resistance = 5,
|
||||||
_mcl_hardness = 0.8,
|
_mcl_hardness = 0.8,
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 314 B |
Binary file not shown.
Before Width: | Height: | Size: 273 B |
Binary file not shown.
Before Width: | Height: | Size: 553 B |
Loading…
Reference in New Issue
Block a user