diff --git a/mods/nc_player_hud/hotbar.lua b/mods/nc_player_hud/hotbar.lua index 2269860c..890bc47f 100644 --- a/mods/nc_player_hud/hotbar.lua +++ b/mods/nc_player_hud/hotbar.lua @@ -18,12 +18,10 @@ nodecore.register_playerstep({ for i = 1, hotbar_slots do local stack = inv:get_stack("main", i) local def = stack and (not stack:is_empty()) and stack:get_definition() - local suff = "_sel" - if def and def.hotbar_type then - suff = suff .. "_" .. def.hotbar_type - end + local hbtype = def and def.hotbar_type + and ("_" .. def.hotbar_type) or "" bar = bar .. ":" .. (i * bar_scale - bar_scale + bar_margin) - .. "," .. bar_margin .. "=" .. modname .. suff + .. "," .. bar_margin .. "=" .. modname .. "_slot" .. hbtype .. ".png\\^[resize\\:" .. bar_scale .. "x" .. bar_scale .. "\\^[opacity\\:192" end diff --git a/mods/nc_player_hud/textures/nc_player_hud_sel.png b/mods/nc_player_hud/textures/nc_player_hud_sel.png deleted file mode 100644 index d793c99f..00000000 Binary files a/mods/nc_player_hud/textures/nc_player_hud_sel.png and /dev/null differ diff --git a/mods/nc_player_hud/textures/nc_player_hud_sel_burn.png b/mods/nc_player_hud/textures/nc_player_hud_sel_burn.png deleted file mode 100644 index 9607253e..00000000 Binary files a/mods/nc_player_hud/textures/nc_player_hud_sel_burn.png and /dev/null differ diff --git a/mods/nc_player_hud/textures/nc_player_hud_sel_injury.png b/mods/nc_player_hud/textures/nc_player_hud_sel_injury.png deleted file mode 100644 index f4ba3a42..00000000 Binary files a/mods/nc_player_hud/textures/nc_player_hud_sel_injury.png and /dev/null differ diff --git a/mods/nc_player_hud/textures/nc_player_hud_slot.png b/mods/nc_player_hud/textures/nc_player_hud_slot.png index 32476226..d793c99f 100644 Binary files a/mods/nc_player_hud/textures/nc_player_hud_slot.png and b/mods/nc_player_hud/textures/nc_player_hud_slot.png differ diff --git a/mods/nc_player_hud/textures/nc_player_hud_slot_burn.png b/mods/nc_player_hud/textures/nc_player_hud_slot_burn.png index 1dc9663b..9607253e 100644 Binary files a/mods/nc_player_hud/textures/nc_player_hud_slot_burn.png and b/mods/nc_player_hud/textures/nc_player_hud_slot_burn.png differ diff --git a/mods/nc_player_hud/textures/nc_player_hud_slot_injury.png b/mods/nc_player_hud/textures/nc_player_hud_slot_injury.png index 00eab225..f4ba3a42 100644 Binary files a/mods/nc_player_hud/textures/nc_player_hud_slot_injury.png and b/mods/nc_player_hud/textures/nc_player_hud_slot_injury.png differ diff --git a/mods/nc_player_hud/textures/src/huds.svg b/mods/nc_player_hud/textures/src/huds.svg index abe1a3d7..c7e49536 100644 --- a/mods/nc_player_hud/textures/src/huds.svg +++ b/mods/nc_player_hud/textures/src/huds.svg @@ -31,18 +31,6 @@ offset="1" id="stop4552" /> - - - - - - - - - - - - - - - - - - - @@ -315,66 +170,6 @@ y1="257.21585" x2="-178.47861" y2="269.08185" /> - - - - - - - @@ -444,19 +229,6 @@ id="path3702" inkscape:connector-curvature="0" /> - - - image/svg+xml - + @@ -752,122 +524,6 @@ d="m 445.08203,71.742188 -9.85547,-9.855469 -13.46484,3.607422" style="opacity:1;vector-effect:none;fill:none;fill-opacity:1;stroke:#000000;stroke-width:7.55905522;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -