table formspec fixes
- Always use cartographer paper/pigment textures - Disable formspec prepends
This commit is contained in:
parent
6dc08f7d0b
commit
0c2cf72dd8
@ -15,7 +15,7 @@ local gui = {
|
||||
-- Returns a table. Calling table.concat on the result will produce
|
||||
-- a usable formspec string.
|
||||
function gui.formspec(args)
|
||||
local data = string.format("formspec_version[%d] size[%f,%f]", args.version or 3, args.w, args.h);
|
||||
local data = string.format("formspec_version[%d] size[%f,%f] no_prepend[]", args.version or 3, args.w, args.h);
|
||||
|
||||
if args.bg then
|
||||
data = data .. gui.bg9 {
|
||||
|
@ -113,8 +113,8 @@ return {
|
||||
pressed_texture = "cartographer_standard_table_tab_hovered",
|
||||
radius = 10,
|
||||
},
|
||||
paper_texture = "default_paper";
|
||||
pigment_texture = "dye_black";
|
||||
paper_texture = "cartographer_paper";
|
||||
pigment_texture = "cartographer_pigment";
|
||||
},
|
||||
advanced_table = {
|
||||
node_mesh = "cartographer_advanced_table.obj",
|
||||
@ -157,8 +157,8 @@ return {
|
||||
pressed_texture = "cartographer_advanced_table_tab_hovered",
|
||||
radius = 10,
|
||||
},
|
||||
paper_texture = "default_paper";
|
||||
pigment_texture = "dye_black";
|
||||
paper_texture = "cartographer_paper";
|
||||
pigment_texture = "cartographer_pigment";
|
||||
},
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user