forked from mtcontrib/homedecor_modpack
Add background image to signs_lib formspec
This commit is contained in:
parent
aa6dbf37f5
commit
316f03b95a
@ -389,7 +389,11 @@ end
|
|||||||
|
|
||||||
signs_lib.construct_sign = function(pos)
|
signs_lib.construct_sign = function(pos)
|
||||||
local meta = minetest.get_meta(pos)
|
local meta = minetest.get_meta(pos)
|
||||||
meta:set_string("formspec", "field[text;;${text}]")
|
meta:set_string(
|
||||||
|
"formspec",
|
||||||
|
"field[text;;${text}]"..
|
||||||
|
"size[4,2]"..
|
||||||
|
"background[-1.25,-0.5;6.5,3;bg_signs_lib.jpg]")
|
||||||
meta:set_string("infotext", "")
|
meta:set_string("infotext", "")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
BIN
signs_lib/textures/bg_signs_lib.jpg
Normal file
BIN
signs_lib/textures/bg_signs_lib.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 70 KiB |
Loading…
Reference in New Issue
Block a user