Items, quests and dialogue
OPERATION REFERENCE / 2 OF 2
For inventory changes, decide whose bag should change before you choose an operation.
Replace Inventory Item From = old item · To = new item · Scope = optional owner
Transfers the old stack and combines it with any of the new item already held. The current item’s stack limit still applies. Three old tokens plus two new ones become four if the new maximum is four.
Grant Inventory Item To = item · Value = positive whole quantity
Set the quantity control to 1 for a single item. A shared bag can leave Scope empty. In per-character inventory mode, enter the character’s ID in Scope.
Remove Inventory Item From = item · Scope = optional owner
Removes the entire entry for that item from the affected bag or bags. If a player holds five tokens, this operation removes all five.
Map Quest From = old quest ID · To = current quest ID
Keeps the relevant quest progress under its new ID. Put this above any objective rule that depends on the new quest name.
Map Objective Scope = current quest ID · From / To = objective IDs
Moves completed or failed objective entries to the new objective. Check a slot in which the player has actually completed or failed the old one.
Map Dialogue Node Scope = current dialogue ID · From / To = node IDs
Moves the saved history of choices read at that node. Test by returning to the conversation and checking whether its previously read choices are still recognized.
Run Migration Script Choose a language · Enter the body below the fields
Use when a value needs a calculation or condition. Visual can take a JSON list of migration operations in Value. A Visual list can contain ordinary migration operations only. Page 12 walks through a short calculation.
A quick way to catch a bag mistake
Test one player who owns the item and one who has never picked it up. In a two-character adventure, check the second character’s bag as well. Page 15 shows the restart check with two different bags.
STUDIO 0.86.3.8 / 11
