Curation round 11: effects, room clears, items, Continue, bombs, active items, the boss and Basement II
This commit is contained in:
1 parent
d8385e6c64
commit
698eeb74e9
74 files changed
+13965
-2078
No files matched your search
@@ -8,6 +8,7 @@
|
||||
#include "manager.h"
|
||||
#include "platform.h"
|
||||
#include "room.h"
|
||||
#include "room_grid.h"
|
||||
#include <algorithm>
|
||||
#include <filesystem>
|
||||
|
||||
@@ -118,11 +119,6 @@ static int card_roll(uint32_t seed, int runeChance, bool isPlaying)
|
||||
}
|
||||
|
||||
// Room methods the room's takeover has not declared yet.
|
||||
static Vector room_free_pickup_position(Vector, float)
|
||||
{
|
||||
reconstruction_missing("Room::FindFreePickupSpawnPosition 00813520");
|
||||
}
|
||||
|
||||
static Vector room_random_pickup_position()
|
||||
{
|
||||
reconstruction_missing("Room::get_random_pickup_position 00813460");
|
||||
@@ -403,6 +399,7 @@ void Entity_Player::stats_reset()
|
||||
isBrokenRemotePending = false;
|
||||
cursedPennyPending = 0;
|
||||
vampireCharmKills = 0;
|
||||
isActiveUsed = false;
|
||||
isPlayingExtraAnimation = false;
|
||||
isHurtPending = false;
|
||||
isPlayingItemAnimation = false;
|
||||
@@ -960,7 +957,7 @@ void Entity_Player::level_items_apply(bool isForced)
|
||||
for (int i = HasTrinket(TRINKET_LUCKY_SACK) ? GetTrinketMultiplier(TRINKET_LUCKY_SACK) : 0; i > 0; i--)
|
||||
{
|
||||
uint32_t seed = GetTrinketRNG(TRINKET_LUCKY_SACK).Next();
|
||||
Vector spot = room_free_pickup_position(pos, PICKUP_SPAWN_RADIUS);
|
||||
Vector spot = room_free_pickup_position_find({pos, PICKUP_SPAWN_RADIUS});
|
||||
game.Spawn(
|
||||
{.position = spot, .spawner = this, .type = ENTITY_PICKUP, .variant = PICKUP_GRAB_BAG, .seed = seed});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user