[Mod] Tubelib SmartLine [smartline]

User avatar
joe7575
Member
 
Posts: 253
Joined: Mon Apr 24, 2017 20:38
Location: Germany, in the deep south
GitHub: joe7575
In-game: JoSto

[Mod] Tubelib SmartLine [smartline]

by joe7575 » Tue Feb 06, 2018 21:15

This mod is now part of the Modpack TechPack



This third tubelib extension provides small and smart sensors, actors and controllers.

Image

The most important and "smart" node of SmartLine is the SmartLine Controller, a 'computer' to control and monitor Tubelib based machines.
You don't need any programming skills, it is more like a configuration according to the "IF this THEN that" concept:

IF <cond1> OR <cond2> THEN <action>
IF <cond1> AND <cond2> THEN <action>

Examples for conditions are:
- the Player Detector detects a player
- a button is pressed
- a node state is fault, blocked, standby,...
- a timer is expired

Examples for actions are:
- switch on/off tubelib nodes, like lamps, door blocks, machines
- send mail/chat messages to the owner
- output a text message to the display
- set timer variables
- set/reset flag variables


The 'main' formspec of the Controller, here with the maximum number of 10 rules:
Image

The mod comes with several new nodes, all in a smart and small housing:
- a Player Detector, sending on/off commands to connected nodes
- a Smart Button, sending on/off commands to connected nodes
- a Display for text outputs of the controller
- a Signal Tower, with green, amber, red lights to signal error/fault states
- a Timer (derived from Tubelib Addons2), for daytime based actions
- a Sequencer (derived from Tubelib Addons2), for time triggered actions (time in seconds)

Code: LGPLv2.1+, textures: CC BY-SA 3.0
Dependencies: tubelib, default, doors. Optional: display_lib, font_lib, mail
Last edited by joe7575 on Sun Mar 11, 2018 17:27, edited 5 times in total.
Sent from my Commodore 64. My Mods: TechPack, Hyperloop, Tower Crane, Lumberjack, Iron Age, Entrance.
 

User avatar
joe7575
Member
 
Posts: 253
Joined: Mon Apr 24, 2017 20:38
Location: Germany, in the deep south
GitHub: joe7575
In-game: JoSto

Re: [Mod] Tubelib SmartLine [smartline]

by joe7575 » Sun Feb 11, 2018 20:35

Update:

The SmartLine Controller now has got a state view, showing all rules and the states of conditions and actions.

Image
Sent from my Commodore 64. My Mods: TechPack, Hyperloop, Tower Crane, Lumberjack, Iron Age, Entrance.
 

User avatar
SonosFuer
Member
 
Posts: 104
Joined: Sun Jul 09, 2017 00:32
GitHub: apachano
IRC: SonosFuer
In-game: SonosFuer

Re: [Mod] Tubelib SmartLine [smartline]

by SonosFuer » Sat Mar 10, 2018 00:28

Could you please do me a huge favor? On all of your posts (probably under dependencies list) could you please put a link to the forums post for tube lib itself as well as any other dependencies. I am interested in your mod but it has proven to be the biggest scavenger hunt I have encountered so far on the forums. Ditto with GitHub as well if possible.

Thank you!
Working on a content database for minetest mods, servers, and etc Check it out and give me feedback at https://forum.minetest.net/viewtopic.php?f=14&t=18137
 

User avatar
joe7575
Member
 
Posts: 253
Joined: Mon Apr 24, 2017 20:38
Location: Germany, in the deep south
GitHub: joe7575
In-game: JoSto

Re: [Mod] Tubelib SmartLine [smartline]

by joe7575 » Sat Mar 10, 2018 22:45

SonosFuer wrote:Could you please do me a huge favor? On all of your posts (probably under dependencies list) could you please put a link to the forums post for tube lib itself as well as any other dependencies. I am interested in your mod but it has proven to be the biggest scavenger hunt I have encountered so far on the forums. Ditto with GitHub as well if possible.

Thank you!


This mod is now part of the Modpack TechPack
available on GitHub
Sent from my Commodore 64. My Mods: TechPack, Hyperloop, Tower Crane, Lumberjack, Iron Age, Entrance.
 

User avatar
SonosFuer
Member
 
Posts: 104
Joined: Sun Jul 09, 2017 00:32
GitHub: apachano
IRC: SonosFuer
In-game: SonosFuer

Re: [Mod] Tubelib SmartLine [smartline]

by SonosFuer » Sun Mar 11, 2018 00:05

What I mean is from your posts here you should add a link to the parent mod that it depends on.
Working on a content database for minetest mods, servers, and etc Check it out and give me feedback at https://forum.minetest.net/viewtopic.php?f=14&t=18137
 


Return to WIP Mods



Who is online

Users browsing this forum: No registered users and 4 guests