Page 1 of 2

[Mod] Storage Interface [storage_interface]

Posted: Fri Sep 08, 2017 17:05
by cx384
The Storage Interface mod is supposed to make item storing easier.
It's a simple and lightweight mod and it should be an alternative for MicroExpansion or Holostorage.

Image

License: GPL-3.0
Dependencies: default (technic_chests?, pipeworks?, connected_chests?)
Download: zip, tar.gz
Github: storage_interface

Pipeworks note: Currently you can pipe items into the storage interface but you can't pipe them out because of the pipeworks api.

How to use it:
  1. Place the Storage Interface next to your chests. (The chests have to border on each other. If they don't you can connect them with Storage Connectors. )
  2. Right click the Storage Interface. That's it.
If you want to change the destination of your items you can use the Sorting Filter Inscribing Tool.

Re: [Mod] Storage Interface [storage_interface]

Posted: Fri Sep 08, 2017 17:20
by ExeterDad
Whoa! This looks amazing!

Re: [Mod] Storage Interface [storage_interface]

Posted: Fri Sep 08, 2017 17:39
by cx384
ExeterDad wrote:Whoa! This looks amazing!
Thank you. :D

Re: [Mod] Storage Interface [storage_interface]

Posted: Fri Sep 08, 2017 17:44
by rubenwardy
This looks really nice!

Have you considered trying unicode symbols for the navigation? Not sure how well they'll display in the game.

⇤ ↞ ← → ↠ ⇥

Re: [Mod] Storage Interface [storage_interface]

Posted: Fri Sep 08, 2017 18:10
by cx384
rubenwardy wrote:This looks really nice!

Have you considered trying unicode symbols for the navigation? Not sure how well they'll display in the game.

⇤ ↞ ← → ↠ ⇥
No the default fonts don't support this letters, maybe I will add icons.

Re: [Mod] Storage Interface [storage_interface]

Posted: Sat Sep 09, 2017 18:59
by cx384
Update: Now you can add all stored items in one chest to your sorting filter with one click.

Re: [Mod] Storage Interface [storage_interface]

Posted: Sat Sep 09, 2017 19:14
by Desour
Nice!
But a bit cheaty…

Re: [Mod] Storage Interface [storage_interface]

Posted: Fri Sep 22, 2017 18:16
by Fixer
While in MC that was possible ages ago with refined storage and AE seeing something like that in minetest is ground breaking for me, my suggestions are posted on github (especially about UI).

Re: [Mod] Storage Interface [storage_interface]

Posted: Fri Sep 22, 2017 23:10
by BBmine
Wow! This looks nice!

One question, do those numbers under the stacks mean how many stacks there are?

Re: [Mod] Storage Interface [storage_interface]

Posted: Sat Sep 23, 2017 08:00
by cx384
BBmine wrote:Wow! This looks nice!

One question, do those numbers under the stacks mean how many stacks there are?
No, they show you the count of your items.

Re: [Mod] Storage Interface [storage_interface]

Posted: Sat Sep 23, 2017 18:56
by Devy
cx384 wrote:
BBmine wrote:Wow! This looks nice!

One question, do those numbers under the stacks mean how many stacks there are?
No, they show you the count of your items.
So, for the first slot, there are 3366 cobblestone? Not 99?

Re: [Mod] Storage Interface [storage_interface]

Posted: Sat Sep 23, 2017 20:36
by cx384
Devy wrote:
cx384 wrote:
BBmine wrote:Wow! This looks nice!

One question, do those numbers under the stacks mean how many stacks there are?
No, they show you the count of your items.
So, for the first slot, the are 3366 cobblestone? Not 99?
Yes I think so

Re: [Mod] Storage Interface [storage_interface]

Posted: Thu Dec 28, 2017 21:19
by TechNolaByte
found this it is AMAZING and it gets better... it...stores...META DATA

well I guess that's not much of a surprise seeing as its only a central hub for the chests not a chest it self like the micro expansion minetest mod but still AMAZING

your mods make my mods look like those little 10 second 2mph baby roller coasters at amusement parks
truly great

Re: [Mod] Storage Interface [storage_interface]

Posted: Thu Dec 28, 2017 22:05
by TechNolaByte
created a giant chest like the minecraft giant chests mod

10X10X10
massive lag spikes when placing down new chests and takes like 10-15 seconds to open but its awesome

https://imgur.com/WmrV0W7

how much it can hold
https://imgur.com/AWMKauB

is this number the number of items it can hold or the number of stacks?
cause if its items then micro expansion beats this mod for most storage accessible in 1 block with a slight modification of adding another teir or 2 of drives

Re: [Mod] Storage Interface [storage_interface]

Posted: Sat Dec 30, 2017 14:58
by cx384
RSLRedstonier wrote: is this number the number of items it can hold or the number of stacks?
It's the number of stacks, because it represents the quantity of available slots in all connected chests.
The storage can hold 89.910 tools, 8.901.090 items with stack_max = 99 or 5.892.251.850 items if stack_max = -1.

Re: [Mod] Storage Interface [storage_interface]

Posted: Sun Dec 31, 2017 01:44
by TechNolaByte
cx384 wrote: It's the number of stacks, because it represents the quantity of available slots in all connected chests.
The storage can hold 89.910 tools, 8.901.090 items with stack_max = 99 or 5.892.251.850 items if stack_max = -1.
wow that's a lot ty

Re: [Mod] Storage Interface [storage_interface]

Posted: Wed Jan 03, 2018 17:07
by Sires
I was developing the same idea ;-; Rip Sires' mod

Re: [Mod] Storage Interface [storage_interface]

Posted: Wed Jan 03, 2018 17:08
by Sires
I dun care I'll keep developing it and publish it

Re: [Mod] Storage Interface [storage_interface]

Posted: Mon Feb 05, 2018 15:25
by TechNolaByte
I think I may have been able to improve this mod slightly simply replace the node def for the storage interface connector with this

Code: Select all

local size = 2/16
minetest.register_node("storage_interface:storage_connector", {
	description = "Storage Connector",
	tiles = {"default_chest_top.png^storage_interface_connector.png"},
	groups = {choppy = 2, oddly_breakable_by_hand = 2, wood = 1,storage_interface_connect = 1},
	is_ground_content = false,
	sounds = default.node_sound_wood_defaults(),
	drawtype = "nodebox",
  node_box = {
    type = "connected",
		fixed          = {-size, -size, -size, size,  size, size},
		connect_top    = {-size, -size, -size, size,  0.5,  size}, -- y+
		connect_bottom = {-size, -0.5,  -size, size,  size, size}, -- y-
		connect_front  = {-size, -size, -0.5,  size,  size, size}, -- z-
		connect_back   = {-size, -size,  size, size,  size, 0.5 }, -- z+
		connect_left   = {-0.5,  -size, -size, size,  size, size}, -- x-
		connect_right  = {-size, -size, -size, 0.5,   size, size}, -- x+
  },
  connects_to = {"storage_interface:storage_interface","group:storage_interface_connect","default:chest","default:chest_open","default:chest_locked","default:chest_locked_open","technic:iron_chest","technic:iron_locked_chest","technic:copper_chest","technic:copper_locked_chest","technic:gold_chest","technic:gold_locked_chest"},
})
now the storage connector looks like a cable and will visually connect to any thing with the group tag group:storage_interface_connect also will visually connect to wood chests gold iron and copper chests and the storage interface itself
this modification is not a necessity but it makes it look cooler

Re: [Mod] Storage Interface [storage_interface]

Posted: Mon Feb 05, 2018 16:00
by cx384
RSLRedstonier wrote:I think I may have been able to improve this mod slightly simply replace the node def for the storage interface connector with this

Code: Select all

local size = 2/16
minetest.register_node("storage_interface:storage_connector", {
	description = "Storage Connector",
	tiles = {"default_chest_top.png^storage_interface_connector.png"},
	groups = {choppy = 2, oddly_breakable_by_hand = 2, wood = 1,storage_interface_connect = 1},
	is_ground_content = false,
	sounds = default.node_sound_wood_defaults(),
	drawtype = "nodebox",
  node_box = {
    type = "connected",
		fixed          = {-size, -size, -size, size,  size, size},
		connect_top    = {-size, -size, -size, size,  0.5,  size}, -- y+
		connect_bottom = {-size, -0.5,  -size, size,  size, size}, -- y-
		connect_front  = {-size, -size, -0.5,  size,  size, size}, -- z-
		connect_back   = {-size, -size,  size, size,  size, 0.5 }, -- z+
		connect_left   = {-0.5,  -size, -size, size,  size, size}, -- x-
		connect_right  = {-size, -size, -size, 0.5,   size, size}, -- x+
  },
  connects_to = {"storage_interface:storage_interface","group:storage_interface_connect","default:chest","default:chest_open","default:chest_locked","default:chest_locked_open","technic:iron_chest","technic:iron_locked_chest","technic:copper_chest","technic:copper_locked_chest","technic:gold_chest","technic:gold_locked_chest"},
})
now the storage connector looks like a cable and will visually connect to any thing with the group tag group:storage_interface_connect also will visually connect to wood chests gold iron and copper chests and the storage interface itself
this modification is not a necessity but it makes it look cooler
Nice, do you want to send me a pull request on github or do you want me to do this?

Re: [Mod] Storage Interface [storage_interface]

Posted: Mon Feb 05, 2018 19:27
by cx384
Update: storage connectors/storage cables lock better now (thanks to RSLRedstonier)
But I guess nobody is using them.
Image

Re: [Mod] Storage Interface [storage_interface]

Posted: Mon Feb 05, 2018 20:03
by TechNolaByte
cx384 wrote:Update: storage connectors/storage cables lock better now (thanks to RSLRedstonier)
tbh the node box I took from technic wires

Re: [Mod] Storage Interface [storage_interface]

Posted: Tue Feb 06, 2018 15:51
by cx384
RSLRedstonier wrote:
cx384 wrote:Update: storage connectors/storage cables lock better now (thanks to RSLRedstonier)
tbh the node box I took from technic wires
Well the node box is nothing special (e.g. pipeworks is using this too), but you got the idea to use this for the storage connector, so the credit belongs to you.

Re: [Mod] Storage Interface [storage_interface]

Posted: Tue Feb 06, 2018 16:13
by TechNolaByte
cx384 wrote:
RSLRedstonier wrote:
cx384 wrote:Update: storage connectors/storage cables lock better now (thanks to RSLRedstonier)
tbh the node box I took from technic wires
Well the node box is nothing special (e.g. pipeworks is using this too), but you got the idea to use this for the storage connector, so the credit belongs to you.
oh ok YAY I actually did something!

Re: [Mod] Storage Interface [storage_interface]

Posted: Thu Feb 08, 2018 00:40
by TechNolaByte
Hmm I wonder, it might not be possible as storage draws use objects instead of an inventory, but do you think you could possibly modify this code to make a second storage interface that works with drawers? maybe even make that block able to connect to the main storage interface

edit- if you do find a way please let it support the fork of storage drawers that has upgrades for the drawers