Skip to reading
The Inventory Designer

Use a carried item on a world target

Edition 0.86.3.4

Define carried items, quantities, icon states, pickup rules, combinations and ownership, then connect them to a custom inventory interface.

Download PDFView illustrations

INVENTORY ACTIONS

Powering the relay requires both ends of an interaction: the carried power cell and the blue relay already placed in the room.

The item-side rule lists the allowed target and its result action. In this example, If Variable chooses the response based on powered.

01  Open Inventory Actions on the item. Choose Add Inventory Interaction.
    Under Allowed Targets, select the placed relay. One rule can accept several
    targets that genuinely share the same result.
02  Choose the Result Action. For a reusable puzzle, check a shared flag first. On
    the first success, set powered to true, remove one cell and show the relay’s
    response. A later attempt can explain that the relay is already powered.
03  Alternatively, author the rule on the placed target under Inventory Actions →
    Allowed Inventory Items. Pick the cell there. In this build a matching item-side
    rule runs before the target-side rule. Keep the main effect in one place.

Observed result: using the carried cell on the relay set powered to true, removed the cell, and left the three unrelated tokens in the bag.

Page 9 of 17Permalink
Go to page