Determines the number of items to generate
Party is required for generating proper modifier pools
Optional
modifierTiers: ModifierTier[](Optional) If specified, rolls items in the specified tiers. Commonly used for tier-locking with Lock Capsule.
Optional
customModifierSettings: CustomModifierSettings(Optional) If specified, can customize the item shop rewards further.
guaranteedModifierTypeOptions?: ModifierTypeOption[]
If specified, will override the first X items to be specific modifier options (these should be pre-genned).guaranteedModifierTypeFuncs?: ModifierTypeFunc[]
If specified, will override the next X items to be auto-generated from specific modifier functions (these don't have to be pre-genned).guaranteedModifierTiers?: ModifierTier[]
If specified, will override the next X items to be the specified tier. These can upgrade with luck.fillRemaining?: boolean
Default 'false'. If set to true, will fill the remainder of shop items that were not overridden by the 3 options above, up to the 'count' param value.
count = 4
, customModifierSettings = { guaranteedModifierTiers: [ModifierTier.GREAT], fillRemaining: true }
,GREAT
tier, and the remaining 3 items will be generated normally.fillRemaining = false
in the same scenario, only 1 GREAT
tier item will appear in the shop (regardless of count
value).rerollMultiplier?: number
If specified, can adjust the amount of money required for a shop reroll. If set to a negative value, the shop will not allow rerolls at all.allowLuckUpgrades?: boolean
Default true
, if false
will prevent set item tiers from upgrading via luck
Generates modifier options for a SelectModifierPhase