ClearShopList
Clears the stored vendor shop list content.
The shop list is populated automatically when the player opens a vendor’s buy menu (by saying “buy” or selecting “Buy” from the context menu). The content of the list can be read via GetShopList.
This method clears only the stored text representation of the shop list. It does not affect buy/sell hooks set by AutoBuy or AutoSell.
Очищает сохранённое содержимое списка товаров вендора.
Список товаров заполняется автоматически, когда игрок открывает меню покупки у вендора (командой “buy” или через контекстное меню). Содержимое списка можно прочитать через GetShopList.
Метод очищает только текстовое представление списка товаров. Он не влияет на хуки покупки/продажи, установленные через AutoBuy или AutoSell.
procedure ClearShopList;
def ClearShopList() -> None: ...
begin
ClearShopList;
AddToSystemJournal('Shop list cleared');
end.
ClearShopList()
AddToSystemJournal('Shop list cleared')