1
0
Fork 0

Add slight MCl2 craftguide styling

This commit is contained in:
Wuzzy 2017-02-05 22:45:25 +01:00
parent ccd63ec5b7
commit 0bde9d73ab
2 changed files with 5 additions and 2 deletions

View File

@ -0,0 +1 @@
mcl_core

View File

@ -156,8 +156,10 @@ function craftguide:get_formspec(player_name, is_fuel)
end end
data.pagemax = max(1, ceil(#data.items / ipp)) data.pagemax = max(1, ceil(#data.items / ipp))
local formspec = "size["..data.iX..","..(iY+3)..".6;]"..[[ local formspec = "size["..data.iX..","..(iY+3)..".6;]"..
background[1,1;1,1;craftguide_bg.png;true] mcl_core.gui_slots ..
mcl_core.gui_bg ..
[[background[1,1;1,1;craftguide_bg.png;true]
button[2.4,0.21;0.8,0.5;search;?] button[2.4,0.21;0.8,0.5;search;?]
button[3.05,0.21;0.8,0.5;clear;X] button[3.05,0.21;0.8,0.5;clear;X]
tooltip[search;Search] tooltip[search;Search]