-
Notifications
You must be signed in to change notification settings - Fork 37
Description
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.