Commit Graph

30 Commits

Author SHA1 Message Date
Vanessa Dannenberg
83dced745d rudimentary multi-tube string support
digiline_send(channel, "some string") will now echo "some string"
to all alphanumeric tubes in a lineup, so long as they all face
the same way, starting from the nixie the LuaC is connected to,
going left to right.  The other tubes in the line do not need to
be connected to anything - think of them as being connected
toghether internally.

The string will spread until either a tube is found that faces the
wrong way, or it has a channel that's not empty/nil and is set to
something other than what the first is set to, or if a node is
encountered that is not an alpha-numeric tube at all.

Tubes to the left of the connected one are ignored; you can put
multiple lines of tubes side by side, so long as each tube that
starts each line has a unique channel.

The string is padded with spaces and trimmed to 64 chars.

Special messages:

"off_multi" turns all tubes in the lineup off
"allon_multi" turns on all anode segments of all tubes in the lineup.

Note that the existing messages "get" and "getstr" will only read
the one character from the first, connected tube, not the others
in the lineup.
2018-08-14 19:38:18 -04:00
Vanessa Ezekowitz
a345d6412c Merge pull request #7 from cheapie/master
Add numitron tubes
2017-02-05 07:01:41 -05:00
Carter Kolwey
b8d7238cdd Add numitron tubes 2017-02-05 02:24:05 -06:00
Izaya Orihara
41142b7331 Added pure numerical support to nixie tubes
Alphanumeric nixie tubes now support getting input as a number for an ASCII value and reading
it back out.
2016-10-01 10:07:29 -04:00
Auke Kok
9702474c15 Adding standard mod files 2016-03-27 21:27:06 -07:00
Brett O'Donnell
74996d221c lines starting with # causing issues on bower site
I reformatted this a bit so that it will display better on minetest-bower site:

https://minetest-bower.herokuapp.com/mods/nixie_tubes
2015-08-12 10:30:08 +09:30
ExcaliburZero
8cd8e809ee Add screenshot and description files
Add a screenshot image and a description file for the mod, which are displayed in the Mods tab of the main menu of Minetest.
2015-06-28 12:29:12 -04:00
Vanessa Ezekowitz
a0764085f2 localize a variable 2015-06-20 20:44:49 -04:00
Vanessa Ezekowitz
43cdcd2de2 even better cathode textures. 2015-06-20 20:44:14 -04:00
Vanessa Ezekowitz
b676712b7c better textures for the cathodes 2015-06-20 20:08:36 -04:00
Vanessa Ezekowitz
3156f03add update README 2015-06-20 03:59:02 -04:00
Vanessa Ezekowitz
995a17789f remove some debug statements 2015-06-20 03:35:51 -04:00
Vanessa Ezekowitz
4c751a3aea add Decatron tube 2015-06-20 03:22:07 -04:00
cheapie
a3945cc1e1 Improve legibility of 8 2015-06-13 23:06:22 -05:00
cheapie
ce06593e40 Improve appearance of * 2015-06-11 02:50:14 -05:00
Vanessa Ezekowitz
8d6cf2c6a2 added craft recipes 2015-06-11 02:48:34 -04:00
Vanessa Ezekowitz
809b4f4ed1 don't crash on empty string 2015-06-11 02:27:12 -04:00
Vanessa Ezekowitz
cbcc268c72 change shapes of lowercase 'e', 's' and 'z' 2015-06-11 01:28:55 -04:00
Vanessa Ezekowitz
1382efc4e1 fix check for char #32 tube (for creative inv, groups, etc) 2015-06-11 00:44:42 -04:00
Vanessa Ezekowitz
8813b6d50e add missing char, fix char->ascii->table pos calculation 2015-06-11 00:41:52 -04:00
Vanessa Ezekowitz
4d32583fef add alpha-numeric support (full ASCII charset, 32-127)
via 15-segment display tube (similar to Burroughs B-7971).
2015-06-11 00:06:13 -04:00
Vanessa Ezekowitz
94cd41d4b4 adjust selection box 2015-06-10 14:48:30 -04:00
Vanessa Ezekowitz
2ca7e3825b fix my fix :P 2015-06-10 13:54:13 -04:00
Vanessa Ezekowitz
c3199a3d2b fix crash on invalid msg 2015-06-10 12:18:50 -04:00
Vanessa Ezekowitz
ee4a3a39ce minor tweak to "off" texture - colon should have a non-glowing line
between the two dots.
2015-06-09 17:44:07 -04:00
Vanessa Ezekowitz
c3bd35fa59 use thinner font
Use ^ to combine the standard "off cathodes" image with the various
individual "on" digits.

recolor images to give them a reddish glow around a bright orange element
2015-06-09 17:27:43 -04:00
Vanessa Ezekowitz
9e85e9b6e5 model was too small 2015-06-09 16:40:08 -04:00
Vanessa Ezekowitz
d932fa39ad soft-dep on digilines 2015-06-09 16:11:28 -04:00
Vanessa Ezekowitz
7f9596f6c9 fix drops, better descriptions 2015-06-09 16:01:34 -04:00
Vanessa Ezekowitz
0cd73a0bd0 first commit 2015-06-09 15:52:49 -04:00