Skip to content

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.

SetShopScreen(shop, screen)
Parameter Type
shop number the shop
screen number SHOP_SCREEN_TRADE or SHOP_SCREEN_PANEL

boolean - false for no such shop or an unknown screen

SetShopScreen(store, SHOP_SCREEN_PANEL) -- the keys-only list, even at the stall

GetShopScreen · CreateVendor · OpenShop · the Shops and vendors group of the index