diff --git a/modules/game_attachedeffects/attachedeffects.lua b/modules/game_attachedeffects/attachedeffects.lua index eb81a0e4ef..a341910d34 100644 --- a/modules/game_attachedeffects/attachedeffects.lua +++ b/modules/game_attachedeffects/attachedeffects.lua @@ -5,6 +5,7 @@ controller = Controller:new() g_game.getLocalPlayer():attachEffect(g_attachedEffects.getById(1)) g_game.getLocalPlayer():attachEffect(g_attachedEffects.getById(2)) g_game.getLocalPlayer():attachEffect(g_attachedEffects.getById(3)) + g_game.getLocalPlayer():getTile():attachEffect(g_attachedEffects.getById(1)) end function controller:onGameEnd() diff --git a/modules/game_attachedeffects/effects.lua b/modules/game_attachedeffects/effects.lua index 64671016f5..ea6553e58e 100644 --- a/modules/game_attachedeffects/effects.lua +++ b/modules/game_attachedeffects/effects.lua @@ -4,6 +4,7 @@ speed, disableWalkAnimation, shader, drawOnUI, opacity duration, loop, transform, hideOwner, size{width, height} offset{x, y, onTop}, dirOffset[dir]{x, y, onTop}, + light { color, intensity}, drawOrder(only for tiles), onAttach, onDetach } ]] --