Added modeling Clay Item Reminder

This commit is contained in:
Wofsauge committed 2022-09-19 23:36:17 +02:00
1 parent 1b01a4ceb5
commit dc13324e03
1 file changed
+10 -4
+10 -4
View File
@@ -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