textures shrinked
@ -2,9 +2,38 @@
|
|||||||
|
|
||||||
Minetest Tube Mod for item exchange via lumber tubes and wireless message communication between nodes.
|
Minetest Tube Mod for item exchange via lumber tubes and wireless message communication between nodes.
|
||||||
|
|
||||||
A Tutorial to this Mod is available as ![Wiki](https://github.com/joe7575/techpack/wiki)
|
The focus for this Mod are:
|
||||||
|
- minimized server load and thus minimized server lags
|
||||||
|
- simple and intuitive usage for players
|
||||||
|
- simple API for programmers
|
||||||
|
|
||||||
|
The mod provides:
|
||||||
|
- lumber tubes to connect 2 nodes
|
||||||
|
- a Pusher node to pull/push items through tubes
|
||||||
|
- a Distributor node with 4 output channels to sort incoming items
|
||||||
|
- a Blackhole node which lets all items disappear (example/template for programmers)
|
||||||
|
- a Button/switch node to send "switch on/off" messages
|
||||||
|
- a Lamp node as receiving example for message communication
|
||||||
|
- support for default node: furnace and chests
|
||||||
|
|
||||||
|
Hints for Admins: ![manual.md](https://github.com/joe7575/Minetest-Tubelib/blob/master/manual.md)
|
||||||
|
Programmers Manual: ![api.md](https://github.com/joe7575/Minetest-Tubelib/blob/master/api.md)
|
||||||
|
|
||||||
|
This mod is part of the ModPack ![TechPack](https://github.com/joe7575/techpack)
|
||||||
|
A Tutorial to this Mod is available as ![TechPack Wiki](https://github.com/joe7575/techpack/wiki)
|
||||||
|
|
||||||
|
Browse on: ![GitHub](https://github.com/joe7575/Minetest-Tubelib)
|
||||||
|
|
||||||
|
Download: ![GitHub](https://github.com/joe7575/Minetest-Tubelib/archive/master.zip)
|
||||||
|
|
||||||
Programmers Manual: ![api.md](https://github.com/joe7575/techpack/blob/master/tubelib/api.md)
|
|
||||||
|
## Dependencies
|
||||||
|
default
|
||||||
|
|
||||||
|
# License
|
||||||
|
Copyright (C) 2017-2018 Joachim Stolberg
|
||||||
|
Code: Licensed under the GNU LGPL version 2.1 or later. See LICENSE.txt and http://www.gnu.org/licenses/lgpl-2.1.txt
|
||||||
|
Textures: CC0
|
||||||
|
|
||||||
## Dependencies
|
## Dependencies
|
||||||
default
|
default
|
||||||
|
@ -140,7 +140,6 @@ end
|
|||||||
function tubelib.get_node_number(pos)
|
function tubelib.get_node_number(pos)
|
||||||
local key = get_key_str(pos)
|
local key = get_key_str(pos)
|
||||||
local num = Key2Number[key]
|
local num = Key2Number[key]
|
||||||
print("key", key, "num", num)
|
|
||||||
if num then
|
if num then
|
||||||
num = string.format("%.04u", num)
|
num = string.format("%.04u", num)
|
||||||
if Number2Pos[num] and Number2Pos[num].name then
|
if Number2Pos[num] and Number2Pos[num].name then
|
||||||
|
@ -20,6 +20,10 @@
|
|||||||
2017-11-04 v0.09 functions set_data/get_data added
|
2017-11-04 v0.09 functions set_data/get_data added
|
||||||
2018-01-27 v0.10 WLAN Chip added, recipes reviced, Pusher state 'blocked' added,
|
2018-01-27 v0.10 WLAN Chip added, recipes reviced, Pusher state 'blocked' added,
|
||||||
function send_request changed
|
function send_request changed
|
||||||
|
2018-08-09 v1.00 Extracted from TechPack to be used as standalone mod
|
||||||
|
- new tubing algorithm
|
||||||
|
- tubelib.pull_stack()/tubelib.get_stack() added
|
||||||
|
- item counter for pusher/distributor added
|
||||||
|
|
||||||
]]--
|
]]--
|
||||||
|
|
||||||
@ -28,7 +32,7 @@ tubelib = {
|
|||||||
NodeDef = {}, -- node registration info
|
NodeDef = {}, -- node registration info
|
||||||
}
|
}
|
||||||
|
|
||||||
tubelib.version = 0.10
|
tubelib.version = 1.00
|
||||||
|
|
||||||
|
|
||||||
--------------------------- conversion to v0.04
|
--------------------------- conversion to v0.04
|
||||||
|
Before Width: | Height: | Size: 821 B After Width: | Height: | Size: 270 B |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 354 B |
Before Width: | Height: | Size: 144 B After Width: | Height: | Size: 114 B |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 483 B |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 459 B |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 447 B |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 636 B |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 470 B |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 486 B |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 476 B |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 449 B |
Before Width: | Height: | Size: 144 B After Width: | Height: | Size: 114 B |
Before Width: | Height: | Size: 214 B After Width: | Height: | Size: 168 B |
Before Width: | Height: | Size: 357 B After Width: | Height: | Size: 206 B |
Before Width: | Height: | Size: 636 B After Width: | Height: | Size: 278 B |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 483 B |
Before Width: | Height: | Size: 898 B After Width: | Height: | Size: 381 B |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 456 B |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 477 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 402 B |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 373 B |
Before Width: | Height: | Size: 853 B After Width: | Height: | Size: 324 B |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 348 B |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 507 B |
Before Width: | Height: | Size: 144 B After Width: | Height: | Size: 114 B |
Before Width: | Height: | Size: 969 B After Width: | Height: | Size: 321 B |
Before Width: | Height: | Size: 6.1 KiB After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 144 B After Width: | Height: | Size: 114 B |