Shop2
Index
Variables
Elements
Namespace with the individual screen function components of the shop screen
Functions
ApplyItemFilters
Parameters
clearDatalist: boolean = true
Returns void
DrawPriceRibbon
Parameters
label: string
x: number
y: number
w: number
optionalcolor: string
Returns void
Init
Helper function for initializing the
Shop2
screen.Parameters
background: string = null
The shops background image
screen: [module: ModuleType, screen: string] = null
A 2-tuple containing the module and name of the previous screen
assets: readonly Asset[] = null
A list of all assets that should appear in the shop
Returns void
ParseAssets
_ClickDropdown
Parameters
id: string
Returns void
_GenerateAssetElements
Returns Record<string, ShopScreenFunctions>
_SetCheckboxFilters
Returns void
_UpdatePoseButtons
Returns void
Namespace with shop-related functions.