1
0
mirror of https://github.com/pyrollo/display_modpack.git synced 2025-07-04 00:51:21 +02:00

Use default formspec style

This commit is contained in:
Thomas--S
2018-01-31 21:13:03 +01:00
parent 2977ad5113
commit 3483f34fa9
3 changed files with 4 additions and 0 deletions

View File

@ -63,6 +63,7 @@ for i, material in ipairs(steles.materials) do
on_construct = function(pos)
local meta = minetest.get_meta(pos)
meta:set_string("formspec", "size[6,4]"
..default.gui_bg .. default.gui_bg_img .. default.gui_slots
.."textarea[0.5,0.7;5.5,2;display_text;"
..F("Displayed text (3 lines max)")
..";${display_text}]"