Skip to content

Possible suggestion on handling "thematic boss drops" for custom bosses #217

@Erfly

Description

@Erfly

Been thinking that having StageAPI handle Rep+'s stupid new thematic boss drops as part of AddBossData would work nicely.

My thought is to have it be something like this
ThematicDrops = CollectibleType.COLLECTIBLE_SAD_ONION,
ThematicDrops = {CollectibleType.COLLECTIBLE_SAD_ONION, CollectibleType.COLLECTIBLE_INNER_EYE},
ThematicDrops = {CollectibleType.COLLECTIBLE_SAD_ONION, {TrinketType.TRINKET_SWALLOWED_PENNY, PickupVariant.PICKUP_TRINKET}},

You can pass a number, which it would assume is a single collectible ID.
Alternatively, you can pass a table. Any number within is an assumed collectible, any table will have {subtype, variant, type}, with default values of 0, PickupVariant.PICKUP_COLLECTIBLE, and EntityType.ENTITY_PICKUP, so trinkets or cards or whatever else can be passed

Collectibles, Trinkets and Cards can then have IsAvailable checked in their ItemConfig

I felt letting you pass just a number is nice for those who want it simple, but can otherwise be more complex if someone wants a boss to drop more weird stuff.

Metadata

Metadata

Assignees

Labels

EnhancementAdditional feature, not issue related.Priority: MediumMedium priority issue, important but not urgent.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions