mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-12-25 10:10:39 +01:00
Fix nether guide
Add matthieu8fr skin
This commit is contained in:
parent
0e4047f411
commit
65063bc955
@ -315,13 +315,13 @@ for n,data in ipairs(guide_infos) do
|
|||||||
elseif typ == "x" then
|
elseif typ == "x" then
|
||||||
x = math.max(x, content)
|
x = math.max(x, content)
|
||||||
elseif typ == "text" then
|
elseif typ == "text" then
|
||||||
--local tab = minetest.splittext(content, guide_size.fx)
|
local tab = minetest.splittext(content, guide_size.fx)
|
||||||
local l = guide_size.cx
|
local l = guide_size.cx
|
||||||
--[[for _,str in ipairs(tab) do
|
for _,str in ipairs(tab) do
|
||||||
form = form.."label["..guide_size.cx ..","..guide_size.cy+y..";"..str.."]"
|
form = form.."label["..guide_size.cx ..","..guide_size.cy+y..";"..str.."]"
|
||||||
y = y+guide_size.fy
|
y = y+guide_size.fy
|
||||||
l = math.max(l, #str)
|
l = math.max(l, #str)
|
||||||
end]]
|
end
|
||||||
x = math.max(x, l/font_size)
|
x = math.max(x, l/font_size)
|
||||||
elseif typ == "image" then
|
elseif typ == "image" then
|
||||||
local w, h, texture_name, px, py = unpack(content)
|
local w, h, texture_name, px, py = unpack(content)
|
||||||
|
3
mods/u_skins/u_skins/meta/mff_character_10.txt
Normal file
3
mods/u_skins/u_skins/meta/mff_character_10.txt
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
Matthieu8fr
|
||||||
|
Matthieu8fr
|
||||||
|
WTFPL
|
BIN
mods/u_skins/u_skins/textures/mff_character_10.png
Normal file
BIN
mods/u_skins/u_skins/textures/mff_character_10.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 733 B |
BIN
mods/u_skins/u_skins/textures/mff_character_10_preview.png
Normal file
BIN
mods/u_skins/u_skins/textures/mff_character_10_preview.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 380 B |
Loading…
Reference in New Issue
Block a user