mirror of
https://github.com/theFox6/microexpansion.git
synced 2024-11-25 16:43:44 +01:00
bugfixes
This commit is contained in:
parent
745a2afcd1
commit
98cf73e57a
BIN
development/theidea.odg
Normal file
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",
|
Loading…
Reference in New Issue
Block a user