メインコンテンツまでスキップ

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>.