mirror of
https://github.com/joe7575/techpack.git
synced 2024-12-25 07:02:31 +01:00
default:desert_cobble added to Quarry
Sequencer overload time set to 1 sec Link to Wiki added
This commit is contained in:
parent
41f5849a16
commit
598e36482f
@ -140,6 +140,7 @@ local ResultNodes = {
|
||||
["default:stone"] = "default:cobble",
|
||||
["default:mossycobble"] = "default:mossycobble",
|
||||
["default:desert_stone"] = "default:desert_cobble",
|
||||
["default:desert_cobble"] = "default:desert_cobble",
|
||||
["default:clay"] = "default:clay_lump",
|
||||
["default:stone_with_coal"] = "default:coal_lump",
|
||||
["default:stone_with_iron"] = "default:iron_lump",
|
||||
|
@ -1,50 +1,10 @@
|
||||
# Tubelib Extension with Control Blocks \[tubelib_addons2\]
|
||||
|
||||
This extension provides Timer, Sequencer, Repeater, Gate, Door, Access Lock, Mesecons Converter and Color Lamp nodes, all with tubelib communication support.
|
||||
This extension provides Timer, Sequencer, Repeater, Gate, Door, Access Lock,
|
||||
Mesecons Converter and Color Lamp nodes, all with tubelib communication support.
|
||||
|
||||
|
||||
## Timer
|
||||
The Timer node allows to send on/off commands to other nodes, e.g. to switch on/off lights at night.
|
||||
Up to 6 independent rules with daytime, destination node numbers, and on/off command can be programmed.
|
||||
|
||||
|
||||
## Sequencer
|
||||
The Sequencer node allows to define sequences of on/off commands with time gaps in between.
|
||||
For this purpose, a sequence of up to 8 steps can be programmed, each with
|
||||
destination node numbers, on/off command, and time gap to the next step in seconds.
|
||||
The Sequencer can run endless or only once and can be switches on/off by other nodes.
|
||||
|
||||
|
||||
## Repeater
|
||||
The Repeater is a concentrator node to distribute received commands to all connected nodes.
|
||||
The list of destination node numbers can be programmed by means of the Programmer.
|
||||
|
||||
|
||||
## Gate/Door
|
||||
Doors, gates and locks can be build by means of Tubelib Gate and Door nodes.
|
||||
With the command 'on' the node disappears, with 'off' it appears again.
|
||||
The texture of the node can be configured after placement with the right mouse button.
|
||||
|
||||
|
||||
## Access Lock
|
||||
The Access Lock node is a combination lock to open/close gates and doors (active for 4 seconds).
|
||||
The list of destination node numbers can be programmed by means of the Programmer.
|
||||
|
||||
|
||||
## Color Lamp
|
||||
A set of colored lamps with Tubelib support.
|
||||
The color of the lamp can be configured after placement with the right mouse button.
|
||||
|
||||
|
||||
## Mesecons Converter
|
||||
The Mesecons Converter node allows the connection of Tubelib nodes with Mesecon wires and vice versa.
|
||||
The list of destination node numbers can be programmed by means of the Programmer.
|
||||
|
||||
|
||||
## Programmer
|
||||
The Programmer is a tool to collect node numbers (right mouse button) from receiving nodes to program
|
||||
sending nodes (left mouse button).
|
||||
|
||||
A Tutorial to this Mod is available at [[https://github.com/joe7575/techpack/wiki|GitHub]]
|
||||
|
||||
## Dependencies
|
||||
tubelib, default
|
||||
|
@ -103,9 +103,9 @@ local function check_rules(pos, elapsed)
|
||||
tubelib.send_message(rule.num, placer_name, nil, tAction[rule.act], number)
|
||||
index = get_next_slot(index, rules, endless)
|
||||
if index ~= nil and offs ~= nil and running == 1 then
|
||||
-- after the last rule a pause with 2 or more sec is required
|
||||
if index == 1 and offs < 2 then
|
||||
offs = 2
|
||||
-- after the last rule a pause with 1 or more sec is required
|
||||
if index == 1 and offs < 1 then
|
||||
offs = 1
|
||||
end
|
||||
meta:set_string("infotext", "Tubelib Sequencer "..number..": running ("..index.."/"..NUM_SLOTS..")")
|
||||
meta:set_int("index", index)
|
||||
|
Loading…
Reference in New Issue
Block a user