diff options
author | VanessaE <vanessaezekowitz@gmail.com> | 2013-03-07 16:15:20 -0800 |
---|---|---|
committer | VanessaE <vanessaezekowitz@gmail.com> | 2013-03-07 16:15:20 -0800 |
commit | 9e85cc64c6126133176f6cd6b321984b1772b79f (patch) | |
tree | 5a9c7a4f4a334be628780fdbe3f961b41281f6db | |
parent | 8f485a6ee2d89f085360a1f3dc3ffd88c2f4aa08 (diff) | |
parent | 96f326554ea38b9fd4cac54a4cd50dab4460d9ad (diff) |
Merge pull request #12 from VanessaE/master
added highlighting of hotbar and craft result in formspec images
-rw-r--r-- | unified_inventory/api.lua | 14 | ||||
-rw-r--r-- | unified_inventory/textures/ui_bags_lg_form.png | bin | 11442 -> 13920 bytes | |||
-rw-r--r-- | unified_inventory/textures/ui_bags_main_form.png | bin | 8286 -> 10390 bytes | |||
-rw-r--r-- | unified_inventory/textures/ui_bags_med_form.png | bin | 9999 -> 12230 bytes | |||
-rw-r--r-- | unified_inventory/textures/ui_bags_sm_form.png | bin | 8554 -> 10885 bytes | |||
-rw-r--r-- | unified_inventory/textures/ui_craftguide_form.png | bin | 10500 -> 14631 bytes | |||
-rw-r--r-- | unified_inventory/textures/ui_crafting_form.png | bin | 10743 -> 15015 bytes | |||
-rw-r--r-- | unified_inventory/textures/ui_misc_form.png | bin | 7098 -> 9354 bytes |
8 files changed, 7 insertions, 7 deletions
diff --git a/unified_inventory/api.lua b/unified_inventory/api.lua index 4a85dc6..029ae68 100644 --- a/unified_inventory/api.lua +++ b/unified_inventory/api.lua @@ -129,27 +129,27 @@ unified_inventory.get_formspec = function(player,page) -- backgrounds formspec = formspec .. "background[-0.19,-0.2,;14.38,10.55;ui_form_bg.png]" if page=="craft" then - formspec = formspec .. "background[0.12,1.05,;7.8,7.4;ui_crafting_form.png]" + formspec = formspec .. "background[0.06,0.99,;7.92,7.52;ui_crafting_form.png]" end if page=="craftguide" then - formspec = formspec .. "background[0.12,1.05,;7.8,7.4;ui_craftguide_form.png]" + formspec = formspec .. "background[0.06,0.99,;7.92,7.52;ui_craftguide_form.png]" end if page=="misc" then - formspec = formspec .. "background[0.12,1.05,;7.8,7.4;ui_misc_form.png]" + formspec = formspec .. "background[0.06,0.99,;7.92,7.52;ui_misc_form.png]" end if page=="bags" then - formspec = formspec .. "background[0.12,1.05,;7.8,7.4;ui_bags_main_form.png]" + formspec = formspec .. "background[0.06,0.99,;7.92,7.52;ui_bags_main_form.png]" end for i=1,4 do if page=="bag"..i then local slots = player:get_inventory():get_stack(page, 1):get_definition().groups.bagslots if slots == 8 then - formspec = formspec .. "background[0.12,1.05,;7.8,7.4;ui_bags_sm_form.png]" + formspec = formspec .. "background[0.06,0.99,;7.92,7.52;ui_bags_sm_form.png]" elseif slots == 16 then - formspec = formspec .. "background[0.12,1.05,;7.8,7.4;ui_bags_med_form.png]" + formspec = formspec .. "background[0.06,0.99,;7.92,7.52;ui_bags_med_form.png]" elseif slots == 24 then - formspec = formspec .. "background[0.12,1.05,;7.8,7.4;ui_bags_lg_form.png]" + formspec = formspec .. "background[0.06,0.99,;7.92,7.52;ui_bags_lg_form.png]" end end end diff --git a/unified_inventory/textures/ui_bags_lg_form.png b/unified_inventory/textures/ui_bags_lg_form.png Binary files differindex de62e21..15f511d 100644 --- a/unified_inventory/textures/ui_bags_lg_form.png +++ b/unified_inventory/textures/ui_bags_lg_form.png diff --git a/unified_inventory/textures/ui_bags_main_form.png b/unified_inventory/textures/ui_bags_main_form.png Binary files differindex 11cb05d..26e6938 100644 --- a/unified_inventory/textures/ui_bags_main_form.png +++ b/unified_inventory/textures/ui_bags_main_form.png diff --git a/unified_inventory/textures/ui_bags_med_form.png b/unified_inventory/textures/ui_bags_med_form.png Binary files differindex 77b89df..f786806 100644 --- a/unified_inventory/textures/ui_bags_med_form.png +++ b/unified_inventory/textures/ui_bags_med_form.png diff --git a/unified_inventory/textures/ui_bags_sm_form.png b/unified_inventory/textures/ui_bags_sm_form.png Binary files differindex f0af238..c77ff7c 100644 --- a/unified_inventory/textures/ui_bags_sm_form.png +++ b/unified_inventory/textures/ui_bags_sm_form.png diff --git a/unified_inventory/textures/ui_craftguide_form.png b/unified_inventory/textures/ui_craftguide_form.png Binary files differindex 7dbfa61..c0078de 100644 --- a/unified_inventory/textures/ui_craftguide_form.png +++ b/unified_inventory/textures/ui_craftguide_form.png diff --git a/unified_inventory/textures/ui_crafting_form.png b/unified_inventory/textures/ui_crafting_form.png Binary files differindex 1eaea56..bd21046 100644 --- a/unified_inventory/textures/ui_crafting_form.png +++ b/unified_inventory/textures/ui_crafting_form.png diff --git a/unified_inventory/textures/ui_misc_form.png b/unified_inventory/textures/ui_misc_form.png Binary files differindex 103900c..d34d326 100644 --- a/unified_inventory/textures/ui_misc_form.png +++ b/unified_inventory/textures/ui_misc_form.png |