This commit is contained in:
theFox6 2019-05-18 07:16:11 +02:00
parent 745a2afcd1
commit 98cf73e57a
3 changed files with 7 additions and 3 deletions

BIN
development/theidea.odg Normal file

Binary file not shown.

@ -5,6 +5,10 @@ local network = me.network
local function update_ctrl(pos,node)
local network = me.get_network(pos)
if network == nil then
minetest.log("error","no network for ctrl at pos "..minetest.pos_to_string(pos))
return
end
local size = network:get_item_capacity()
local meta = minetest.get_meta(pos)
local inv = meta:get_inventory()

@ -54,7 +54,7 @@ local function chest_formspec(pos, start_id, listname, page_max, query)
microexpansion.gui_slots ..
list ..
[[
label[0,-0.23;ME Chest]
label[0,-0.23;ME Terminal]
field_close_on_enter[filter;false]
]]..
page_number ..
@ -78,8 +78,8 @@ local function update_chest(pos)
end
-- [me chest] Register node
microexpansion.register_node("chest", {
description = "ME Chest",
microexpansion.register_node("term", {
description = "ME Terminal",
usedfor = "Can interact with storage cells in ME networks",
tiles = {
"chest_top",