digicontrol/README.md
2021-08-20 19:01:30 +10:00

3.1 KiB

Digilines Control [digicontrol]

luacheck License Minetest ContentDB

Table of Contents

Overview

This mod adds nodes to control the flow of digiline messages in various ways, and is designed to be a more streamlined replacement for digiline_routing.

Overview Screenshot

Nodes

  • Filter - only lets messages with the correct channel pass through.
  • Limiter - limits the rate at which messages can pass through.
  • Diode - only lets messages pass through in one direction.
  • Splitter - splits messages into two branches, and stops messages going between the branches.
  • Tri-Splitter - same as Splitter, but splits into three branches.

Usage

Digicontrol nodes are designed to be as simple to use as possible. The Diode, Splitter, and Tri-Splitter are similar to mesecons logic gates; they work without any setup.

The Filter can be right-clicked to set the channel it will filter. If left blank it will allow all messages to pass through, if a channel is specified, it will only let messages on that channel through, blocking all others.

Filter Formspec

The Limiter can also be right-clicked to set the rate at which messages can pass through. A value of 1 or higher will allow that number of messages to pass through per second, blocking further messages. A value of 0 blocks all messages, and a value of -1 allows an infinite number of messages.

Limiter Formspec

Dependencies

Required

Optional

Installation

Download the master branch or the latest release, or clone the repository using Git or the GitHub Desktop app, and follow the usual installation steps.

License

Except for any exceptions stated in LICENSE.md, all code is licensed under the MIT License, with all textures, models, sounds, and other media licensed under the CC BY-SA 4.0 License.