The Binding of Isaac: Rebirth

The Binding of Isaac: Rebirth

Pickups Alive
Fix Penny bug
To fix the penny bug, paste this in "utilities":

local Utilities = {}
Utilities.mod = RegisterMod( 'Pickups Alive', 1 )
Utilities.game = Game()

Utilities.EntityState = {
IDLE = 0,
DASH = 1,
FLY = 2,
WALK = 3
}

function Utilities.getRNG()
if Utilities.game:GetNumPlayers() < 1 then
return RNG()
end
local player = Utilities.game:GetPlayer( 0 )
return player:GetTrinketRNG( Isaac.GetTrinketIdByName( 'Tiny Sack' ) )
end

function Utilities.spawnReward( options, entity, rng )
local subvariant = options.PickupSubvariant or 1
if type( subvariant ) == 'function' then
subvariant = subvariant( rng ) or 1
end

Isaac.Spawn(
EntityType.ENTITY_PICKUP,
options.PickupVariant,
subvariant,
entity.Position,
Vector.Zero,
entity
)
end

return Utilities
Last edited by pasajero; 23 Feb @ 2:37pm
< >
Showing 1-1 of 1 comments
UndoZan 28 Apr @ 2:55pm 
in what folder?
< >
Showing 1-1 of 1 comments
Per page: 1530 50