mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-23 08:29:34 +01:00
Add slight MCl2 craftguide styling
This commit is contained in:
parent
ccd63ec5b7
commit
0bde9d73ab
2 changed files with 5 additions and 2 deletions
1
mods/craftguide/depends.txt
Normal file
1
mods/craftguide/depends.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
mcl_core
|
|
@ -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]
|
||||||
|
|
Loading…
Reference in a new issue