Color tweaks
This commit is contained in:
parent
e152e346ea
commit
3161668d26
|
@ -180,7 +180,7 @@ minetest.register_on_joinplayer(function(player)
|
|||
{
|
||||
hud_elem_type = "text", position = {x=0.5, y=1},
|
||||
name = "xp_level", text = tostring(temp_pool.level),
|
||||
number = 0xFFFFFF,
|
||||
number = 0x80FF20,
|
||||
offset = {x = 0, y = -(48 + 24 + 24)},
|
||||
z_index = 12,
|
||||
})
|
||||
|
@ -401,6 +401,8 @@ local function xp_step(self, dtime)
|
|||
end
|
||||
if xp > 0 then
|
||||
mcl_experience.add_experience(collector, xp)
|
||||
else
|
||||
minetest.sound_play("experience",{gain=0.1,to_player = name,pitch=math.random(75,99)/100})
|
||||
end
|
||||
self.object:remove()
|
||||
end
|
||||
|
|
|
@ -8,7 +8,8 @@ mcl_enchanting = {
|
|||
book_animation_speed = 40,
|
||||
roman_numerals = dofile(modpath .. "/roman_numerals.lua"), -- https://exercism.io/tracks/lua/exercises/roman-numerals/solutions/73c2fb7521e347209312d115f872fa49
|
||||
enchantments = {},
|
||||
overlay = "^[colorize:white:50^[colorize:purple:50",
|
||||
overlay = "^[colorize:purple:50",
|
||||
--overlay = "^[invert:rgb^[multiply:#4df44d:50^[invert:rgb",
|
||||
enchanting_lists = {"enchanting", "enchanting_item", "enchanting_lapis"},
|
||||
bookshelf_positions = {
|
||||
{x = -2, y = 0, z = -2}, {x = -2, y = 1, z = -2},
|
||||
|
|
Loading…
Reference in New Issue