Перейти к основному содержимому

Open Shop

Open a shop for a player

Action opening a shop for a player.

Поля

ПолеТипПо умолчаниюОписание
shopRef<ShopDefinitionEntry>—Shop definition to open for the player.
Общие поля TypeWriter (criteria, modifiers, triggers)
ПолеТипПо умолчаниюОписание
criteriaList<Criteria>empty—
modifiersList<Modifier>empty—
triggersList<Ref<TriggerableEntry>>empty—

How to use it​

Point shop at a Shop Definition. The shop opens three ticks after the action runs, so it can follow a dialogue or a menu close without clashing with the window that is closing. The shop's own access criteria are checked at that moment, and the player gets criteriaFailMessage if they do not match. No permission is needed to open a shop this way; typewriter.shop.open only protects /tw shop <shop>.