Aller au contenu principal

Open Shop

Open a shop for a player

Action opening a shop for a player.

Champs

ChampTypePar défautDescription
shopRef<ShopDefinitionEntry>—Shop definition to open for the player.
Champs TypeWriter communs (criteria, modifiers, triggers)
ChampTypePar défautDescription
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>.