doc: Do not use doc_identifier textures

This commit is contained in:
Alexander Weber 2018-01-08 17:36:02 +01:00
parent 729086f810
commit 0818984697
2 changed files with 3 additions and 2 deletions

View File

@ -579,7 +579,8 @@ local function crafting_callback(state)
inf_state:label(11.5,1.5,"info3", "") inf_state:label(11.5,1.5,"info3", "")
inf_state:item_image(10.2,0.3, 1, 1, "craft_result",nil):setVisible(false) inf_state:item_image(10.2,0.3, 1, 1, "craft_result",nil):setVisible(false)
if smart_inventory.doc_items_mod then if smart_inventory.doc_items_mod then
local doc_btn = inf_state:item_image_button(10.2,2.3, 1, 1, "doc_btn","", "doc_identifier:identifier_solid") local doc_btn = inf_state:image_button(10.4,2.3, 0.7, 0.7, "doc_btn","", "doc_button_icon_lores.png")
doc_btn:setTooltip("Show documentation for revealed item")
doc_btn:setVisible(false) doc_btn:setVisible(false)
doc_btn:onClick(function(self, state, player) doc_btn:onClick(function(self, state, player)
local outitem = state:get("craft_result"):getImage() local outitem = state:get("craft_result"):getImage()

View File

@ -130,7 +130,7 @@ end
smart_inventory.register_page({ smart_inventory.register_page({
name = "doc", name = "doc",
icon = "inventory_plus_doc_inventory_plus.png", icon = "doc_awards_icon_generic.png",
tooltip = "Ingame documentation", tooltip = "Ingame documentation",
smartfs_callback = doc_callback, smartfs_callback = doc_callback,
sequence = 30, sequence = 30,