1
0
mirror of https://github.com/pyrollo/display_modpack.git synced 2025-07-14 22:10:26 +02:00

Merge branch 'dev' for version 1.2.3

This commit is contained in:
Pierre-Yves Rollo
2018-12-14 11:13:37 +01:00
15 changed files with 364 additions and 280 deletions

View File

@ -33,9 +33,8 @@ local function display_poster(pos, node, player)
node.name, minetest.pos_to_string(pos))
-- Title texture
local titletexture = font:make_text_texture(
meta:get_string("display_text"), font:get_height()*8.4,
font:get_height(), 1, "center")
local titletexture = font:render(meta:get_string("display_text"),
font:get_height()*8.4, font:get_height(), { lines = 1 })
fs = string.format([=[
size[7,9]bgcolor[#0000]