Set quantities and first-found behavior
GENERAL
A unique key and a handful of coins should behave differently when the player finds a second one. Decide what one inventory slot represents before you build the pickup.
Brass token has Stackable turned on. Its maximum is three. Turning Stackable off hides the maximum field.
| A unique item | Leave Stackable off for something like a particular key. The current runtime caps a nonstackable item at one. |
|---|---|
| Multiple copies | Enable Stackable and enter Maximum Quantity. With a cap of three, adding four tokens to an empty bag produced three. A full stack does not start a second stack of that item. |
| Script When First Found | Choose a script if acquiring the first copy should reveal a clue or play a line. In the active-player test, going from zero to two ran it once. Going from two to three added quantity without running it again. |
After all tokens were removed, acquiring one again ran the first-found script a second time. For a once-per-story clue, guard it with a saved game flag such as token_clue_seen. A stack limit also means a pickup can add fewer items than requested.
