SetShopScreen
Which screen a vendor’s shop opens on - the game’s trade screen or the panel.
SHOP_SCREEN_TRADE (the default) opens a vendor’s shop on the game’s own trade screen; SHOP_SCREEN_PANEL keeps it on
the shop panel. A shop opened without a vendor (OpenShop with no actor) is always on the panel. A screen open now
keeps its kind until it closes.
Syntax
Section titled “Syntax”SetShopScreen(shop, screen)| Parameter | Type | |
|---|---|---|
shop |
number | the shop |
screen |
number | SHOP_SCREEN_TRADE or SHOP_SCREEN_PANEL |
Returns
Section titled “Returns”boolean - false for no such shop or an unknown screen
Example
Section titled “Example”SetShopScreen(store, SHOP_SCREEN_PANEL) -- the keys-only list, even at the stallSee also
Section titled “See also”GetShopScreen · CreateVendor · OpenShop · the Shops and vendors group of the index
