bugfixes on chest command and Plastic Granules recipe (thanks to Thorviss)

This commit is contained in:
Joachim Stolberg 2020-05-12 17:11:32 +02:00
parent 2019467735
commit 0ac3d3fc85
3 changed files with 3 additions and 2 deletions

View File

@ -346,7 +346,7 @@ techage.register_node({"techage:chest_ta4"}, {
return techage.put_items(inv, "main", item, idx)
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 inv = meta:get_inventory()
local mem = techage.get_mem(pos)

View File

@ -17,6 +17,7 @@ local S = techage.S
minetest.register_craftitem("techage:plastic_granules", {
description = S("Plastic Granules"),
inventory_image = "techage_powder_inv.png^[colorize:#FFFFFF:180",
groups = {powder = 1},
})
techage.recipes.add("ta4_doser", {

View File

@ -252,7 +252,7 @@ minetest.register_craft({
output = "techage:ta4_solar_module",
recipe = {
{"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"},
{"", "", ""},
},
})