Add texture for inventory icon:

'home_gui_inv.png':
- Based on 'House' by barretr: https://openclipart.org/detail/3318
- License: CC0
master
Jordan Irwin 2017-08-29 17:35:19 -07:00
parent 8cb62ef937
commit 6987c3e88e
3 changed files with 4 additions and 3 deletions

View File

@ -41,3 +41,6 @@ This module is open source, so it's distributed freely. If you find it useful th
## License
[BSD-3-Clause](https://raw.github.com/cornernote/minetest-home_gui/master/LICENSE), Copyright © 2013-2014 [Brett O'Donnell](http://cornernote.github.io/)
Textures:
- home_gui_inv.png: CC0 (based on [House by barretr](https://openclipart.org/detail/3318))

View File

@ -65,8 +65,6 @@ else
local use_sfinv = (core.global_exists("sfinv_buttons") and core.settings:get("inventory") == "sfinv") or false
end
local ui_icon = nil
-- get_formspec
home_gui.get_formspec = function(player)
@ -89,7 +87,7 @@ if use_sfinv then
action = function(player)
player:set_inventory_formspec(home_gui.get_formspec(player, "home_gui"))
end,
image = ui_icon,
image = "home_gui_inv.png",
})
end

Binary file not shown.

After

Width:  |  Height:  |  Size: 462 B