From dc13324e030cb603e11895f0bc36938e04bbb54c Mon Sep 17 00:00:00 2001 From: Wofsauge Date: Mon, 19 Sep 2022 23:36:17 +0200 Subject: [PATCH] Added modeling Clay Item Reminder --- eid_holdmapdesc.lua | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) 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