Meseboxes work with hoppers.
parent
366340aee6
commit
6369cc4395
|
@ -373,7 +373,7 @@ for color, desc in pairs(mesebox.variants) do
|
|||
})
|
||||
end
|
||||
|
||||
minetest.register_craft({ --Make this more expensive.
|
||||
minetest.register_craft({
|
||||
output = "mesebox:yellow_mesebox 1",
|
||||
recipe = {
|
||||
{ "default:mese", "furniture:lock", "default:mese" },
|
||||
|
@ -382,6 +382,10 @@ minetest.register_craft({ --Make this more expensive.
|
|||
}
|
||||
})
|
||||
|
||||
hopper:add_container({
|
||||
{"top", "group:mesebox", "main"},
|
||||
{"bottom", "group:mesebox", "main"},
|
||||
})
|
||||
|
||||
-- Keep inventory of mesebox when changing color by crafting
|
||||
minetest.register_on_craft(
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
name = mesebox
|
||||
description = Mobile storage box powered by Mese
|
||||
depends = default
|
||||
depends = default, hopper
|
||||
optional_depends = pipeworks
|
||||
author = johalun
|
||||
title = Mesebox Mobile Storage
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
local news = {
|
||||
'11/13/20',
|
||||
'Meseboxes are now compatible with hoppers.',
|
||||
'',
|
||||
'11/5/20',
|
||||
'Added the mesebox mod.',
|
||||
'Kitchen cabinets now have a face on the back wall.',
|
||||
|
|
|
@ -9,13 +9,11 @@ local dye_table = dye.dyes
|
|||
|
||||
for i in ipairs(dye_table) do
|
||||
local name = dye_table[i][1]
|
||||
|
||||
unified_inventory.register_craft({
|
||||
type = 'dye',
|
||||
items = {'furniture:fabric_white', 'dye:'..name},
|
||||
output = 'furniture:fabric_'..name
|
||||
})
|
||||
|
||||
end
|
||||
|
||||
local function dying_formspec(water_level)
|
||||
|
|
|
@ -17,10 +17,10 @@ local shapes = { --mesh identifier, shape, col
|
|||
{'_14', 'Octothorp', colbox_14_0, colbox_14_1},
|
||||
}
|
||||
|
||||
local group = {oddly_breakable_by_hand=2, not_in_creative_inventory=1}
|
||||
local group = {oddly_breakable_by_hand=2, not_in_creative_inventory=1, tomb=1}
|
||||
|
||||
if minetest.settings:get_bool('tombs.creative') then
|
||||
group = {oddly_breakable_by_hand=2, cracky=3}
|
||||
group = {oddly_breakable_by_hand=2, cracky=3, tomb=1}
|
||||
end
|
||||
|
||||
for i in ipairs (shapes) do
|
||||
|
|
Loading…
Reference in New Issue