diff --git a/mods/HUD/mcl_experience/init.lua b/mods/HUD/mcl_experience/init.lua index 1186ad45ea..0043c05cae 100644 --- a/mods/HUD/mcl_experience/init.lua +++ b/mods/HUD/mcl_experience/init.lua @@ -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 diff --git a/mods/ITEMS/mcl_enchanting/init.lua b/mods/ITEMS/mcl_enchanting/init.lua index f5b5b86449..2d4d33dae1 100644 --- a/mods/ITEMS/mcl_enchanting/init.lua +++ b/mods/ITEMS/mcl_enchanting/init.lua @@ -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},