Skip to content

Commit

Permalink
Merge branch 'master' into boom
Browse files Browse the repository at this point in the history
  • Loading branch information
Niklp09 authored Oct 2, 2023
2 parents a3f02ac + e25588c commit 71ef649
Show file tree
Hide file tree
Showing 32 changed files with 69 additions and 1,445 deletions.
3 changes: 0 additions & 3 deletions .gitignore

This file was deleted.

20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ Requires Minetest 5.0+

This modpack provides mods with dynamic display. Mods are:

- **[display_api](https://github.com/pyrollo/display_modpack/tree/master/display_api)**: A library for adding display entities to nodes;
- **[font_api](https://github.com/pyrollo/display_modpack/tree/master/font_api)**: A library for displaying fonts on entities;
- **[signs_api](https://github.com/pyrollo/display_modpack/tree/master/signs_api)**: A library for the easy creation of signs;
- **[font_metro](https://github.com/pyrollo/display_modpack/tree/master/font_metro)**: A font mod used as default font (includes uppercase, lowercase and accentuated latin letters, usual signs, cyrillic and greek letters)

- **[boards](https://github.com/pyrollo/display_modpack/tree/master/boards)**: A mod providing school boards (includes *tiny cursive font*, a handwriting style font);
- **[ontime_clocks](https://github.com/pyrollo/display_modpack/tree/master/ontime_clocks)**: A mod providing clocks which display the ingame time;
- **[signs](https://github.com/pyrollo/display_modpack/tree/master/signs)**: A mod providing signs and direction signs displaying text;
- **[signs_road](https://github.com/pyrollo/display_modpack/tree/master/signs_road)**: A mod providing road signs displaying text;
- **[steles](https://github.com/pyrollo/display_modpack/tree/master/steles)**: A mod providing stone steles with text;
- **[display_api](https://github.com/mt-mods/display_modpack/tree/master/display_api)**: A library for adding display entities to nodes;
- **[font_api](https://github.com/mt-mods/display_modpack/tree/master/font_api)**: A library for displaying fonts on entities;
- **[signs_api](https://github.com/mt-mods/display_modpack/tree/master/signs_api)**: A library for the easy creation of signs;
- **[font_metro](https://github.com/mt-mods/display_modpack/tree/master/font_metro)**: A font mod used as default font (includes uppercase, lowercase and accentuated latin letters, usual signs, cyrillic and greek letters)

- **[boards](https://github.com/mt-mods/display_modpack/tree/master/boards)**: A mod providing school boards (includes *tiny cursive font*, a handwriting style font);
- **[ontime_clocks](https://github.com/mt-mods/display_modpack/tree/master/ontime_clocks)**: A mod providing clocks which display the ingame time;
- **[signs](https://github.com/mt-mods/display_modpack/tree/master/signs)**: A mod providing signs and direction signs displaying text;
- **[signs_road](https://github.com/mt-mods/display_modpack/tree/master/signs_road)**: A mod providing road signs displaying text;
- **[steles](https://github.com/mt-mods/display_modpack/tree/master/steles)**: A mod providing stone steles with text;

For more information, see the [forum topic](https://forum.minetest.net/viewtopic.php?t=19365) at the Minetest forums.

Expand Down
1 change: 0 additions & 1 deletion _config.yml

This file was deleted.

166 changes: 0 additions & 166 deletions boards/LICENSE.txt

This file was deleted.

2 changes: 0 additions & 2 deletions boards/copyright.txt

This file was deleted.

13 changes: 7 additions & 6 deletions boards/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ local function set_formspec(pos)
local meta = minetest.get_meta(pos)
local display_text = minetest.formspec_escape(meta:get_string("display_text"))
meta:set_string("formspec",
"size[6,4]"..default.gui_bg..default.gui_bg_img..default.gui_slots..
"textarea[0.5,0.7;5.5,3;display_text;"..FS("Text")..";" .. display_text .. "]"..
"button_exit[3,3.5;2,1;ok;"..FS("Write").."]"..
"button_exit[1,3.5;2,1;wipe;"..FS("Wipe").."]")
"size[6,3.5]"..default.gui_bg..default.gui_bg_img..default.gui_slots..
"textarea[0.55,0.25;5.5,3;display_text;"..FS("Text")..";" .. display_text .. "]"..
"button_exit[1,2.75;2,1;ok;"..FS("Write").."]"..
"button[3,2.75;2,1;font;"..FS("Font").."]")
end

-- On boards, everyone is allowed to write and wipe
Expand All @@ -45,8 +45,9 @@ local function on_receive_fields(pos, formname, fields, player)
if fields.ok or fields.key_enter then
signs_api.set_display_text(pos, fields.display_text, fields.font)
end
if fields.wipe then
signs_api.set_display_text(pos, "", fields.font)
if fields.font then
signs_api.set_display_text(pos, fields.display_text)
font_api.show_font_list(player, pos)
end
end
end
Expand Down
6 changes: 3 additions & 3 deletions boards/locale/boards.de.tr
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# textdomain: boards
Black board=Schwarze Tafel
Green board=Grüne Tafel
Text=Text
Write=Schreiben
Wipe=Abwischen
Font=Schriftart
Black board=Schwarze Tafel
Green board=Grüne Tafel
6 changes: 3 additions & 3 deletions boards/locale/boards.fr.tr
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# textdomain: boards
Black board=Tableau noir
Green board=Tableau vert
Text=Texte
Write=Écrire
Wipe=Effacer
Font=Police
Black board=Tableau noir
Green board=Tableau vert
6 changes: 3 additions & 3 deletions boards/locale/boards.ms.tr
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# textdomain: boards
Black board=Papan hitam
Green board=
Text=
Write=
Wipe=
Font=
Black board=Papan hitam
Green board=
6 changes: 3 additions & 3 deletions boards/locale/template.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# textdomain: boards
Black board=
Green board=
Text=
Write=
Wipe=
Font=
Black board=
Green board=
9 changes: 9 additions & 0 deletions copyright.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
display_modpack (all mods):
- Original author: Pierre-Yves Rollo (pyrollo) License: LGPL v3, font_metro LGPL v2.1
- Many other contributors, see `git log`

boards:
- Font author: cyfry77 License: CC-BY-SA 3.0

font_metro:
- Font author: Christian Munk (CMunk) License: CC-BY-SA 3.0
Loading

0 comments on commit 71ef649

Please sign in to comment.