GetShopScreen
The screen a vendor’s shop opens on.
Syntax
Section titled “Syntax”GetShopScreen(shop)| Parameter | Type | |
|---|---|---|
shop |
number | the shop |
Returns
Section titled “Returns”number - SHOP_SCREEN_TRADE or SHOP_SCREEN_PANEL; nil for no such shop
Example
Section titled “Example”if GetShopScreen(store) == SHOP_SCREEN_TRADE then Log("the stall shows the trade screen") endSee also
Section titled “See also”SetShopScreen · the Shops and vendors group of the index
