Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Mod = RegisterMod("Mod", 1)
- local game = Game()
- HasTick = false
- function Mod:onExplosion()
- if HasTick == false and sprite:IsPlaying(“Explode”) then
- local player = Isaac.GetPlayer(0)
- player:AddTrinket(TrinketType.TRINKET_TICK)
- HasTick = true
- end
- end
- Mod:AddCallback(ModCallbacks.MC_POST_UPDATE,Mod.onExplosion)
Add Comment
Please, Sign In to add comment