mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-25 20:11:06 +01:00
Increase z_index values to match new convention
This commit is contained in:
parent
3803dba233
commit
6a77a54034
4 changed files with 7 additions and 7 deletions
|
@ -578,7 +578,7 @@ if c("totem") then
|
||||||
position = { x=0.5, y=1 },
|
position = { x=0.5, y=1 },
|
||||||
scale = { x=17, y=17 },
|
scale = { x=17, y=17 },
|
||||||
offset = { x=0, y=-178 },
|
offset = { x=0, y=-178 },
|
||||||
z_index = 10,
|
z_index = 100,
|
||||||
})
|
})
|
||||||
minetest.after(3, function(name)
|
minetest.after(3, function(name)
|
||||||
local player = minetest.get_player_by_name(name)
|
local player = minetest.get_player_by_name(name)
|
||||||
|
|
|
@ -298,7 +298,7 @@ function awards.unlock(name, award)
|
||||||
position = {x = 0.5, y = 0},
|
position = {x = 0.5, y = 0},
|
||||||
offset = {x = 0, y = 138},
|
offset = {x = 0, y = 138},
|
||||||
alignment = {x = 0, y = -1},
|
alignment = {x = 0, y = -1},
|
||||||
z_index = 11,
|
z_index = 101,
|
||||||
})
|
})
|
||||||
local hud_announce
|
local hud_announce
|
||||||
if awdef.secret == true then
|
if awdef.secret == true then
|
||||||
|
@ -315,7 +315,7 @@ function awards.unlock(name, award)
|
||||||
position = {x = 0.5, y = 0},
|
position = {x = 0.5, y = 0},
|
||||||
offset = {x = 0, y = 40},
|
offset = {x = 0, y = 40},
|
||||||
alignment = {x = 0, y = -1},
|
alignment = {x = 0, y = -1},
|
||||||
z_index = 12,
|
z_index = 102,
|
||||||
})
|
})
|
||||||
local three = player:hud_add({
|
local three = player:hud_add({
|
||||||
hud_elem_type = "text",
|
hud_elem_type = "text",
|
||||||
|
@ -326,7 +326,7 @@ function awards.unlock(name, award)
|
||||||
position = {x = 0.5, y = 0},
|
position = {x = 0.5, y = 0},
|
||||||
offset = {x = 30, y = 100},
|
offset = {x = 30, y = 100},
|
||||||
alignment = {x = 0, y = -1},
|
alignment = {x = 0, y = -1},
|
||||||
z_index = 12,
|
z_index = 102,
|
||||||
})
|
})
|
||||||
--[[ We use a statbar instead of image here because statbar allows us to scale the image
|
--[[ We use a statbar instead of image here because statbar allows us to scale the image
|
||||||
properly. Note that number is 2, thus leading to a single full image.
|
properly. Note that number is 2, thus leading to a single full image.
|
||||||
|
@ -342,7 +342,7 @@ function awards.unlock(name, award)
|
||||||
offset = {x = -110, y = 62},
|
offset = {x = -110, y = 62},
|
||||||
alignment = {x = 0, y = 0},
|
alignment = {x = 0, y = 0},
|
||||||
direction = 0,
|
direction = 0,
|
||||||
z_index = 12,
|
z_index = 102,
|
||||||
})
|
})
|
||||||
minetest.after(3, function(name)
|
minetest.after(3, function(name)
|
||||||
local player = minetest.get_player_by_name(name)
|
local player = minetest.get_player_by_name(name)
|
||||||
|
|
|
@ -42,7 +42,7 @@ local function set_hud(player)
|
||||||
alignment = {x=0, y=0},
|
alignment = {x=0, y=0},
|
||||||
number = 0xFFFFFF ,
|
number = 0xFFFFFF ,
|
||||||
text = "",
|
text = "",
|
||||||
z_index = 10,
|
z_index = 100,
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -70,7 +70,7 @@ local function now_playing(player, track_id)
|
||||||
size = { x=100, y=100},
|
size = { x=100, y=100},
|
||||||
number = 0x55FFFF,
|
number = 0x55FFFF,
|
||||||
text = text,
|
text = text,
|
||||||
z_index = 10,
|
z_index = 100,
|
||||||
})
|
})
|
||||||
active_huds[playername] = id
|
active_huds[playername] = id
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue