diff --git a/eid_config.lua b/eid_config.lua index 0988fb3b..ceae3e48 100644 --- a/eid_config.lua +++ b/eid_config.lua @@ -30,8 +30,8 @@ EID.DefaultConfig = { -- Default = 50 ["XPosition"] = 50, -- Set Y Position (Height) of the descriptiontext - -- Default = 33 - ["YPosition"] = 33, + -- Default = 35 + ["YPosition"] = 35, -- Set the distance to an item in which informations will be displayed (in Tiles) -- Default = 5 ["MaxDistance"] = 5, diff --git a/main.lua b/main.lua index 710e4fde..a85321c4 100644 --- a/main.lua +++ b/main.lua @@ -138,10 +138,10 @@ function EID:printDescription(desc) renderID = desc.RealID end if iconType ~= nil then - offsetX = offsetX + 12 + offsetX = offsetX + 14 EID:renderString( "{{" .. iconType .. renderID .. "}}", - renderPos + (Vector(-3, -5) * EID.Config["Scale"]), + renderPos + (Vector(-3, -4) * EID.Config["Scale"]), textScale, EID:getNameColor() ) @@ -245,7 +245,7 @@ end function EID:renderQuestionMark() EID.IconSprite:Play("CurseOfBlind") local pos = EID:getTextPosition() - EID:renderIcon(EID.IconSprite, pos.X + 5 * EID.Config["Scale"], pos.X + 5 * EID.Config["Scale"]) + EID:renderIcon(EID.IconSprite, pos.X + 5 * EID.Config["Scale"], pos.Y + 5 * EID.Config["Scale"]) end function EID:renderIndicator(entity)