Player Add Prop
Give the player a prop when a button is clicked.
Introduction
Player Add Prop gives the player a prop. It adds an item to the player's inventory, so the player can use it. This is how a button gives the player a prop. caption Give the player a prop when a button is clicked: When button is clicked by Player -> Execute (Player, Inventory.Add Item Item, Quantity 1)
Steps
Add the event When button is clicked by Player. Add an Execute command under it. Set the target to Player and pick Inventory.Add Item. Pick the item and set the Quantity to 1.
When to use it
A button that gives the player a prop. Picking up a prop, for example a key or a tool. Rewards that give the player an item.
Notes
The item is added to the player's inventory, it is not placed in the world. Quantity 1 gives one item, change it to give more.