mirror of
https://github.com/minetest-mods/unified_inventory.git
synced 2024-11-14 06:10:19 +01:00
replace excessive spaces with tabs
This commit is contained in:
parent
0ebc9402ed
commit
40d862298b
26
init.lua
26
init.lua
|
@ -111,22 +111,22 @@ dofile(modpath.."/api.lua")
|
|||
|
||||
for _, style in ipairs({ui.style_full, ui.style_lite}) do
|
||||
style.items_per_page = style.pagecols * style.pagerows
|
||||
style.standard_inv = string.format("list[current_player;main;%f,%f;8,4;]",
|
||||
style.std_inv_x+0.13, style.std_inv_y+0.13)
|
||||
style.standard_inv = string.format("list[current_player;main;%f,%f;8,4;]",
|
||||
style.std_inv_x+0.13, style.std_inv_y+0.13)
|
||||
|
||||
style.standard_inv_bg = ui.make_inv_img_grid(style.std_inv_x, style.std_inv_y, 8, 1, true)..
|
||||
ui.make_inv_img_grid(style.std_inv_x, style.std_inv_y + ui.imgscale, 8, 3)
|
||||
ui.make_inv_img_grid(style.std_inv_x, style.std_inv_y + ui.imgscale, 8, 3)
|
||||
|
||||
style.craft_grid = table.concat({
|
||||
ui.make_inv_img_grid(style.craft_x, style.craft_y, 3, 3),
|
||||
ui.single_slot(style.craft_x + ui.imgscale*4, style.craft_y), -- the craft result slot
|
||||
string.format("image[%f,%f;%f,%f;ui_crafting_arrow.png]",
|
||||
style.craft_arrow_x, style.craft_y, ui.imgscale, ui.imgscale),
|
||||
string.format("list[current_player;craft;%f,%f;3,3;]",
|
||||
style.craft_x + ui.list_img_offset, style.craft_y + ui.list_img_offset),
|
||||
string.format("list[current_player;craftpreview;%f,%f;1,1;]",
|
||||
style.craftresult_x + ui.list_img_offset, style.craft_y + ui.list_img_offset)
|
||||
})
|
||||
style.craft_grid = table.concat({
|
||||
ui.make_inv_img_grid(style.craft_x, style.craft_y, 3, 3),
|
||||
ui.single_slot(style.craft_x + ui.imgscale*4, style.craft_y), -- the craft result slot
|
||||
string.format("image[%f,%f;%f,%f;ui_crafting_arrow.png]",
|
||||
style.craft_arrow_x, style.craft_y, ui.imgscale, ui.imgscale),
|
||||
string.format("list[current_player;craft;%f,%f;3,3;]",
|
||||
style.craft_x + ui.list_img_offset, style.craft_y + ui.list_img_offset),
|
||||
string.format("list[current_player;craftpreview;%f,%f;1,1;]",
|
||||
style.craftresult_x + ui.list_img_offset, style.craft_y + ui.list_img_offset)
|
||||
})
|
||||
end
|
||||
|
||||
-- Disable default creative inventory
|
||||
|
|
Loading…
Reference in New Issue
Block a user