mirror of
https://github.com/minetest-mods/3d_armor.git
synced 2024-11-26 14:23:45 +01:00
Reverts 9ce0ed9f55
/ #152
The preview method is skin preview only, without armor. That is wrong for showing on formspec Sorry for inconveniences. I need to fix the preview handling in player_api_modpack-version in an other way
This commit is contained in:
parent
c96ba7ef34
commit
70325158e6
@ -35,7 +35,7 @@ unified_inventory.register_page("armor", {
|
|||||||
local formspec = "background[0.06,"..fy..";7.92,7.52;3d_armor_ui_form.png]"..
|
local formspec = "background[0.06,"..fy..";7.92,7.52;3d_armor_ui_form.png]"..
|
||||||
"label[0,0;"..F(S("Armor")).."]"..
|
"label[0,0;"..F(S("Armor")).."]"..
|
||||||
"list[detached:"..name.."_armor;armor;0,"..fy..";2,3;]"..
|
"list[detached:"..name.."_armor;armor;0,"..fy..";2,3;]"..
|
||||||
"image[2.5,"..(fy - 0.25)..";2,4;"..armor:get_preview(name).."]"..
|
"image[2.5,"..(fy - 0.25)..";2,4;"..armor.textures[name].preview.."]"..
|
||||||
"label[5.0,"..(fy + 0.0)..";"..F(S("Level"))..": "..armor.def[name].level.."]"..
|
"label[5.0,"..(fy + 0.0)..";"..F(S("Level"))..": "..armor.def[name].level.."]"..
|
||||||
"label[5.0,"..(fy + 0.5)..";"..F(S("Heal"))..": "..armor.def[name].heal.."]"..
|
"label[5.0,"..(fy + 0.5)..";"..F(S("Heal"))..": "..armor.def[name].heal.."]"..
|
||||||
"listring[current_player;main]"..
|
"listring[current_player;main]"..
|
||||||
|
Loading…
Reference in New Issue
Block a user