Browse Source

Change la manabar par la version MFF

master
sys4-fr 1 year ago
parent
commit
45eb047016
7 changed files with 1 additions and 1 deletions
  1. +1
    -1
      init.lua
  2. BIN
      textures/mana_bar.png
  3. BIN
      textures/mana_bar_purple.png
  4. BIN
      textures/mana_bgicon.png
  5. BIN
      textures/mana_icon.png
  6. BIN
      textures/mana_icon_bg_empty.png
  7. BIN
      textures/mana_icon_purple.png

+ 1
- 1
init.lua View File

@@ -276,7 +276,7 @@ end)
]===]

if minetest.get_modpath("hudbars") ~= nil then
hb.register_hudbar("mana", 0xFFFFFF, S("Mana"), { bar = "mana_bar.png", icon = "mana_icon.png", bgicon = "mana_bgicon.png" }, 0, mana.settings.default_max, false)
hb.register_hudbar("mana", 0xFFFFFF, S("Mana"), { bar = "mana_bar_purple.png", icon = "mana_icon_purple.png", bgicon = "mana_icon_bg_empty.png" }, 0, mana.settings.default_max, false)

function mana.hud_update(playername)
local player = minetest.get_player_by_name(playername)


BIN
textures/mana_bar.png View File

Before After
Width: 2  |  Height: 16  |  Size: 80B

BIN
textures/mana_bar_purple.png View File

Before After
Width: 2  |  Height: 16  |  Size: 82B

BIN
textures/mana_bgicon.png View File

Before After
Width: 16  |  Height: 16  |  Size: 2.9KB

BIN
textures/mana_icon.png View File

Before After
Width: 16  |  Height: 16  |  Size: 2.9KB

BIN
textures/mana_icon_bg_empty.png View File

Before After
Width: 16  |  Height: 16  |  Size: 635B

BIN
textures/mana_icon_purple.png View File

Before After
Width: 16  |  Height: 16  |  Size: 600B

Loading…
Cancel
Save