Revert "Prevent achievement helper trinket from spawning"
This reverts commit e85bb42510.
This commit is contained in:
1 parent
6807934430
commit
b4d9b483ce
1 file changed
-8
@@ -921,14 +921,6 @@ if Encyclopedia then
|
|||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
-- if the helper trinket somehow does spawn, replace it with a random trinket from the pool
|
|
||||||
function EID:PreventHelperTrinketSpawn(entity)
|
|
||||||
if entity.SubType == achievementTrinket then
|
|
||||||
entity:Morph(entity.Type, entity.Variant, game:GetItemPool():GetTrinket())
|
|
||||||
end
|
|
||||||
end
|
|
||||||
EID:AddCallback(ModCallbacks.MC_POST_PICKUP_INIT, EID.PreventHelperTrinketSpawn, PickupVariant.PICKUP_TRINKET)
|
|
||||||
|
|
||||||
local hasShownAchievementWarning = false
|
local hasShownAchievementWarning = false
|
||||||
local function renderAchievementInfo()
|
local function renderAchievementInfo()
|
||||||
if REPENTANCE and not EID.Config.DisableAchievementCheck and game:GetFrameCount() < 10*30 then
|
if REPENTANCE and not EID.Config.DisableAchievementCheck and game:GetFrameCount() < 10*30 then
|
||||||
|
|||||||
Reference in new issue
Block a user