mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2025-02-17 21:23:44 +01:00
Add slight MCl2 craftguide styling
This commit is contained in:
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]
|
||||||
|
Reference in New Issue
Block a user