mirror of
https://github.com/pyrollo/digiterms.git
synced 2025-06-29 06:40:27 +02:00
Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
04d32581d3 | |||
77b60b607d | |||
b61dd3872f | |||
10a45c2ca1 |
10
README.md
10
README.md
@ -1,11 +1,14 @@
|
|||||||
# Digiterms - Digilines Terminals
|
# Digiterms - Digilines Terminals
|
||||||
Version 0.1
|
Version 0.2
|
||||||
|
|
||||||
Digilines monitors mod for Minetest using Display API / Font API.
|
Digilines monitors and keyboards mod for Minetest using Display API / Font API.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
Monitors display text received on their digiline channel and works like digilines lcd monitor.
|
Monitors display text received on their digiline channel and works like digilines lcd monitor.
|
||||||
|
|
||||||
|
Keyboards send text ofer their digiline channel. In protected areas, keyboard can be set to "Public" to be usable by anybody. Else, only players granted rights on the area can use the keyboard.
|
||||||
|
|
||||||
Craft recipes depend on installed mods, please refer to craft guide in game.
|
Craft recipes depend on installed mods, please refer to craft guide in game.
|
||||||
|
|
||||||
If `scifi_nodes` mod is enabled, scifi monitors can be turned into digiterms by crafting scifi monitor with a digiline (some texture are derivated from D00Med mod).
|
If `scifi_nodes` mod is enabled, scifi monitors can be turned into digiterms by crafting scifi monitor with a digiline (some texture are derivated from D00Med mod).
|
||||||
@ -20,6 +23,9 @@ If `scifi_nodes` mod is enabled, scifi monitors can be turned into digiterms by
|
|||||||
|
|
||||||
## Changelog
|
## Changelog
|
||||||
|
|
||||||
|
### 2018-12-13 (Version 0.2)
|
||||||
|
- Keyboards (Beige, white and black).
|
||||||
|
- Third cathodic monitor, the black one.
|
||||||
### 2018-12-09 (Version 0.1)
|
### 2018-12-09 (Version 0.1)
|
||||||
- Cathodic (2) and LCD monitors and corresponding craft recipes.
|
- Cathodic (2) and LCD monitors and corresponding craft recipes.
|
||||||
- Scifi nodes monitors : tallscreen, widescreen, glassscreen and keysmonitor
|
- Scifi nodes monitors : tallscreen, widescreen, glassscreen and keysmonitor
|
||||||
|
@ -77,7 +77,7 @@ local function push_text(lines, text, maxlines, maxcolumns)
|
|||||||
elseif b >= 0xC2 then pos = pos + 2
|
elseif b >= 0xC2 then pos = pos + 2
|
||||||
else pos = pos + 1 end-- Invalid char
|
else pos = pos + 1 end-- Invalid char
|
||||||
end
|
end
|
||||||
if pos - 1 > start then
|
if pos - 1 >= start then
|
||||||
push_line(lines, text:sub(start, pos - 1), maxlines)
|
push_line(lines, text:sub(start, pos - 1), maxlines)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -198,7 +198,7 @@ local keyboard_on_rightclick = function(pos, node, player, itemstack, pointed_th
|
|||||||
if owned then
|
if owned then
|
||||||
local fs = "size[8,5]"..
|
local fs = "size[8,5]"..
|
||||||
default.gui_bg..default.gui_bg_img..default.gui_slots..
|
default.gui_bg..default.gui_bg_img..default.gui_slots..
|
||||||
"field[1,1;3,1;channel;Chanel;"..channel.."]"..
|
"field[1,1;3,1;channel;Channel;"..channel.."]"..
|
||||||
"field[1,3;6.5,1;text;Type text:;]"..
|
"field[1,3;6.5,1;text;Type text:;]"..
|
||||||
"field_close_on_enter[text;true]button_exit[2.5,4;3,1;send;Send]"
|
"field_close_on_enter[text;true]button_exit[2.5,4;3,1;send;Send]"
|
||||||
if protected then
|
if protected then
|
||||||
|
Reference in New Issue
Block a user