1
0
의 미러 git://repo.or.cz/minetest_mana.git synced 2025-12-31 19:05:21 +01:00

3 커밋

7개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제

파일 보기

@@ -271,7 +271,7 @@ end)
]===] ]===]
if minetest.get_modpath("hudbars") ~= nil then 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) function mana.hud_update(playername)
local player = minetest.get_player_by_name(playername) local player = minetest.get_player_by_name(playername)
@@ -321,3 +321,5 @@ end
mana.round = function(x) mana.round = function(x)
return math.ceil(math.floor(x+0.5)) return math.ceil(math.floor(x+0.5))
end end
minetest.log("action", "[mana] loaded.")

Binary file not shown.

Before

Width:  |  Height:  |  크기: 80 B

BIN
textures/mana_bar_purple.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  크기: 82 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  크기: 2.9 KiB

BIN
textures/mana_icon_bg_empty.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  크기: 635 B

BIN
textures/mana_icon_purple.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  크기: 600 B