diff --git a/eid_holdmapdesc.lua b/eid_holdmapdesc.lua index 072e7114..a4df8a1c 100644 --- a/eid_holdmapdesc.lua +++ b/eid_holdmapdesc.lua @@ -1,6 +1,4 @@ local game = Game() -local level -local currentRoom local blacklist local holdMapDesc local currentPlayer @@ -47,8 +45,6 @@ function EID:getHoldMapDescription(player, checkingTwin) blacklist = { ["5.100.714"] = true, ["5.100.715"] = true, } holdMapDesc = "" - level = game:GetLevel() - currentRoom = level:GetCurrentRoom() currentPlayer = player -- TODO: @@ -94,6 +90,16 @@ function EID:getHoldMapDescription(player, checkingTwin) end end + -- Modeling Clay + if REPENTANCE and (player:HasTrinket(166) or player:GetEffects():HasTrinketEffect(166)) then + local modelingClayItem = player:GetModelingClayEffect() + if modelingClayItem > 0 then + append("{{Trinket166}}", EID:getObjectName(5, 350, 166), + "{{Collectible" .. modelingClayItem .. "}} " .. EID:getObjectName(5, 100, modelingClayItem)) + blacklist["5.350.166"] = true + end + end + -- Recently Acquired Item Descriptions if EID.Config["ItemReminderShowRecentItem"] > 0 then local printedItems = 0