Commit Graph

27 Commits

Author SHA1 Message Date
cheapie
68c370327c
Fix crash when a tube emits a digilines signal (#5)
Co-authored-by: cheapie <no-email-for-you@example.com>
2024-10-01 18:37:15 -04:00
Luke aka SwissalpS
60cc5a176c
tubes aren't ground content (#4) 2024-03-01 11:06:40 -05:00
Niklp
f1486be136
luacheck + translation support (#2) 2023-07-05 09:25:33 -04:00
Niklp
ac3d41f557
general maintenance (#1) 2022-07-12 19:09:01 -04:00
Vanessa Dannenberg
d5cd8c776f Don't allow engine to add the implicit "Proceed" button
(this change makes it possible to theme the formspec)
2021-02-25 02:25:55 -05:00
Vanessa Dannenberg
50a0cf8bc8 fix undeclared global var
( fixes #2 )
2019-03-31 00:47:00 -04:00
Vanessa Dannenberg
975741cfe8 move "cursor" to char(31), move "all on" to char(144)
(to match what's used in led_marquee)
2018-08-15 17:46:27 -04:00
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
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
Vanessa Ezekowitz
a0764085f2 localize a variable 2015-06-20 20:44:49 -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
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
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