bugfixes on chest command and Plastic Granules recipe (thanks to Thorviss)
This commit is contained in:
parent
2019467735
commit
0ac3d3fc85
@ -346,7 +346,7 @@ techage.register_node({"techage:chest_ta4"}, {
|
|||||||
return techage.put_items(inv, "main", item, idx)
|
return techage.put_items(inv, "main", item, idx)
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
on_unpull_item = function(pos, in_dir, stack)
|
on_unpull_item = function(pos, in_dir, item)
|
||||||
local meta = minetest.get_meta(pos)
|
local meta = minetest.get_meta(pos)
|
||||||
local inv = meta:get_inventory()
|
local inv = meta:get_inventory()
|
||||||
local mem = techage.get_mem(pos)
|
local mem = techage.get_mem(pos)
|
||||||
|
@ -17,6 +17,7 @@ local S = techage.S
|
|||||||
minetest.register_craftitem("techage:plastic_granules", {
|
minetest.register_craftitem("techage:plastic_granules", {
|
||||||
description = S("Plastic Granules"),
|
description = S("Plastic Granules"),
|
||||||
inventory_image = "techage_powder_inv.png^[colorize:#FFFFFF:180",
|
inventory_image = "techage_powder_inv.png^[colorize:#FFFFFF:180",
|
||||||
|
groups = {powder = 1},
|
||||||
})
|
})
|
||||||
|
|
||||||
techage.recipes.add("ta4_doser", {
|
techage.recipes.add("ta4_doser", {
|
||||||
|
@ -252,7 +252,7 @@ minetest.register_craft({
|
|||||||
output = "techage:ta4_solar_module",
|
output = "techage:ta4_solar_module",
|
||||||
recipe = {
|
recipe = {
|
||||||
{"techage:ta4_silicon_wafer", "techage:ta4_silicon_wafer", "techage:ta4_silicon_wafer"},
|
{"techage:ta4_silicon_wafer", "techage:ta4_silicon_wafer", "techage:ta4_silicon_wafer"},
|
||||||
{"default:tin_ingot", "default:copper_ingot", "default:tin_ingot"},
|
{"default:copper_ingot", "default:tin_ingot", "default:copper_ingot"},
|
||||||
{"", "", ""},
|
{"", "", ""},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user