parent
bdb829e7df
commit
fe48a7df78
|
@ -1,10 +0,0 @@
|
|||
|
||||
removed unused tabs
|
||||
renamed remaining tabs
|
||||
|
||||
added refill slot
|
||||
modified formspec to accomodate refill feild
|
||||
|
||||
added sound FX for trash and refill functions
|
||||
|
||||
|
|
@ -113,7 +113,7 @@ function creative.register_tab(name, title, items)
|
|||
list[current_player;main;0,5.85;8,3;8]
|
||||
list[detached:creative_trash;main;4,3.3;1,1;]
|
||||
listring[]
|
||||
list[detached:creative_refill;main;5,3.3;1,1;]
|
||||
list[detached:creative_refill;main;5,3.3;1,1;]
|
||||
button[6,3.342;1,0.9;creative_prev;<]
|
||||
button[7,3.342;1,0.9;creative_next;>]
|
||||
button[3.3,3.342;0.8,0.9;creative_search;?]
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 2.5 KiB |
|
@ -14,21 +14,21 @@ local trash = minetest.create_detached_inventory("crafting_trash", {
|
|||
trash:set_size("main", 1)
|
||||
|
||||
--[[if minetest.setting_getbool("enable_damage") then
|
||||
sfinv.register_page("sfinv:crafting", {
|
||||
title = "Crafting",
|
||||
get = function(self, player, context)
|
||||
sfinv.register_page("sfinv:crafting", {
|
||||
title = "Crafting",
|
||||
get = function(self, player, context)
|
||||
return sfinv.make_formspec(player, context, [[
|
||||
listcolors[#00000069;#5A5A5A;#141318;#30434C;#FFF]
|
||||
image[5.75,1.5;1,1;gui_furnace_arrow_bg.png^[transformR270]
|
||||
image[0.075,1.6;0.8,0.8;crafting_trash_icon.png]
|
||||
list[current_player;main;0,4.7;8,1;]
|
||||
list[current_player;craft;2.5,0.5;3,3;]
|
||||
listring[]
|
||||
list[detached:crafting_trash;main;0,1.5;1,1;]
|
||||
list[current_player;craftpreview;7,1.5;1,1;]
|
||||
listring[current_player;main]
|
||||
..default.gui_bg ..default.gui_bg_img ..default.gui_slots
|
||||
]], true)
|
||||
listcolors[#00000069;#5A5A5A;#141318;#30434C;#FFF]
|
||||
image[5.75,1.5;1,1;gui_furnace_arrow_bg.png^[transformR270]
|
||||
image[0.075,1.6;0.8,0.8;crafting_trash_icon.png]
|
||||
list[current_player;main;0,4.7;8,1;]
|
||||
list[current_player;craft;2.5,0.5;3,3;]
|
||||
listring[]
|
||||
list[detached:crafting_trash;main;0,1.5;1,1;]
|
||||
list[current_player;craftpreview;7,1.5;1,1;]
|
||||
listring[current_player;main]
|
||||
..default.gui_bg ..default.gui_bg_img ..default.gui_slots
|
||||
]], true)
|
||||
end
|
||||
})
|
||||
|
||||
|
@ -36,22 +36,22 @@ else
|
|||
--]]
|
||||
|
||||
sfinv.register_page("sfinv:crafting", {
|
||||
title = "Crafting",
|
||||
get = function(self, player, context)
|
||||
title = "Crafting",
|
||||
get = function(self, player, context)
|
||||
return sfinv.make_formspec(player, context, [[
|
||||
button[7.25,0;0.8,0.8;page_reload;@]
|
||||
tooltip[page_reload;Reload Inv++]
|
||||
listcolors[#00000069;#5A5A5A;#141318;#30434C;#FFF]
|
||||
image[5.75,1.5;1,1;gui_furnace_arrow_bg.png^[transformR270]
|
||||
image[0.075,1.6;0.8,0.8;crafting_trash_icon.png]
|
||||
list[current_player;main;0,4.7;8,1;]
|
||||
list[current_player;craft;2.5,0.5;3,3;]
|
||||
listring[]
|
||||
list[detached:crafting_trash;main;0,1.5;1,1;]
|
||||
list[current_player;craftpreview;7,1.5;1,1;]
|
||||
listring[current_player;main]
|
||||
..default.gui_bg ..default.gui_bg_img ..default.gui_slots
|
||||
]], true)
|
||||
button[7.25,0;0.8,0.8;page_reload;@]
|
||||
tooltip[page_reload;Reload Inv++]
|
||||
listcolors[#00000069;#5A5A5A;#141318;#30434C;#FFF]
|
||||
image[5.75,1.5;1,1;gui_furnace_arrow_bg.png^[transformR270]
|
||||
image[0.075,1.6;0.8,0.8;crafting_trash_icon.png]
|
||||
list[current_player;main;0,4.7;8,1;]
|
||||
list[current_player;craft;2.5,0.5;3,3;]
|
||||
listring[]
|
||||
list[detached:crafting_trash;main;0,1.5;1,1;]
|
||||
list[current_player;craftpreview;7,1.5;1,1;]
|
||||
listring[current_player;main]
|
||||
..default.gui_bg ..default.gui_bg_img ..default.gui_slots
|
||||
]], true)
|
||||
end
|
||||
})
|
||||
|
||||
|
|
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 200 B |
Loading…
Reference in New Issue