From 65063bc955bef88e7df119eec9aae9e2d7c549c7 Mon Sep 17 00:00:00 2001 From: sys4-fr Date: Sun, 24 Sep 2017 14:13:07 +0200 Subject: [PATCH] Fix nether guide Add matthieu8fr skin --- mods/nether/nether/guide.lua | 6 +++--- mods/u_skins/u_skins/meta/mff_character_10.txt | 3 +++ .../u_skins/u_skins/textures/mff_character_10.png | Bin 0 -> 733 bytes .../u_skins/textures/mff_character_10_preview.png | Bin 0 -> 380 bytes 4 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 mods/u_skins/u_skins/meta/mff_character_10.txt create mode 100644 mods/u_skins/u_skins/textures/mff_character_10.png create mode 100644 mods/u_skins/u_skins/textures/mff_character_10_preview.png diff --git a/mods/nether/nether/guide.lua b/mods/nether/nether/guide.lua index 60b2d29c..c26b9ca0 100755 --- a/mods/nether/nether/guide.lua +++ b/mods/nether/nether/guide.lua @@ -315,13 +315,13 @@ for n,data in ipairs(guide_infos) do elseif typ == "x" then x = math.max(x, content) 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 - --[[for _,str in ipairs(tab) do + for _,str in ipairs(tab) do form = form.."label["..guide_size.cx ..","..guide_size.cy+y..";"..str.."]" y = y+guide_size.fy l = math.max(l, #str) - end]] + end x = math.max(x, l/font_size) elseif typ == "image" then local w, h, texture_name, px, py = unpack(content) diff --git a/mods/u_skins/u_skins/meta/mff_character_10.txt b/mods/u_skins/u_skins/meta/mff_character_10.txt new file mode 100644 index 00000000..da47b04f --- /dev/null +++ b/mods/u_skins/u_skins/meta/mff_character_10.txt @@ -0,0 +1,3 @@ +Matthieu8fr +Matthieu8fr +WTFPL diff --git a/mods/u_skins/u_skins/textures/mff_character_10.png b/mods/u_skins/u_skins/textures/mff_character_10.png new file mode 100644 index 0000000000000000000000000000000000000000..ad8398be3c8bb4d1253c3831f6c0bd471673f490 GIT binary patch literal 733 zcmV<30wVp1P)O7!Lr=AP@{C7zigB3n&{6D;x+Z91koW3oaiGG9wZ;Bmg}q07WPQJt-4RDF6pR z0535vXEg*mYyewbTDoH~371TZjf(V&VEc+=_l#owi)8#)Es{6rqB0mpTjP?>zSsg#rZ%lH zrac}_)ncOspHc%FeWMr+fCzYn61KWcerl+M1`P=Zz^ zxuc^H9W01Ni3)V~#ikzAPELSl3uB74^kDME^B!p9$oc48`28j3V2rq!eeo0!0z%k2 zsDT_?2q+IjJN89%o4jy>3MlWH#=@n`<#N5A_zz5W4~X(CCN03>;Yqy(c*!8#0bH`V z-vHo|Qn=3`aKqPtlRaH!?Wu#1D0{;5dgOkRAJcs*-7Ea^up!9W8vvprg;AEnz;oqy z^3sA3gtJWFP7J)x01W&fk`D$XAtCwqz@dm6ziqRLcSO7R0#Y{6^1I{)T zaJCa*D2ibQ2qY5j^}!{BP<#mB7R(up#TtOf2tqn8%TeaQYZD)5;E+J{QU~3ZAT{Pe z$Y#zU?W6~oKr&KX|8DS?ecumjr2#GhdEcesb~B)7b%#D{6}1LT)bzdr9KODx1HS3| zVlVE!{QU68zQ~l|Lr6b47$%l8VBh!q?vN7OLm7aF0J7v9@CbMu?mC5kc#>9alIDu*FDHfmS0A?I|T?%u91 zT?xOtlE3#P{q0Wq-<$UK{p)}K|GX(R^#++-666=m;PC858jy3@)5S4F<9up=_ohP% zJT9I5H6b}$xe~wr-+$S6&6e+FGZQBrR#Q<7Xs@`DUtTC**JUWDKV7xq^^Jyo<_Dhj zvKehjyCTW3)F9qs)4sS9-0ayC)ET-(uPy$d&O2@CMA;Ib0M`wSZ6-fL7g#PxIc6kg z$iQ@VX1`M2d#hL?$yTcN0K8_Eb{gMC0?|ba?9bZ)iGv9sbQ@XP8it6;E Y@_)`sXsy52wjC6Vp00i_>zopr00vi+F8}}l literal 0 HcmV?d00001