Minetest mod that adds nodes to control the flow of digiline messages
Go to file
2022-08-14 09:51:48 +02:00
.github/workflows readme, workflow, license 2021-01-23 21:52:22 +11:00
images new screenshots, add more info to readme 2021-08-20 17:48:43 +10:00
textures remove unused textures 2021-01-25 17:06:48 +11:00
.gitattributes remove gitignore, update luacheck, export setting 2021-01-26 19:10:49 +11:00
.luacheckrc remove gitignore, update luacheck, export setting 2021-01-26 19:10:49 +11:00
compatibility.lua fix compatibility lbm 2021-02-21 17:22:26 +11:00
diode.lua add compatibility, fix rotation 2021-01-24 22:55:27 +11:00
filter.lua filter with a capital f 2021-02-21 17:32:53 +11:00
init.lua remove depends 2022-07-12 13:44:29 +02:00
LICENSE.md readme, workflow, license 2021-01-23 21:52:22 +11:00
limiter.lua make limiter actually limit messages/second, not delay between messages 2021-02-21 16:47:00 +11:00
mod.conf remove optional depends 2022-08-14 09:51:48 +02:00
override.lua first working version 2021-01-23 21:27:31 +11:00
README.md update readme 2021-12-11 14:16:07 +11:00
screenshot.png new screenshots, add more info to readme 2021-08-20 17:48:43 +10:00
splitter.lua add compatibility, fix rotation 2021-01-24 22:55:27 +11:00
trisplitter.lua add compatibility, fix rotation 2021-01-24 22:55:27 +11:00

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, and follow the usual installation steps.

Alternatively, you can download and install the mod from ContentDB or the online content tab in Minetest.

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.