Build a Resource Shop in Fortnite Creative
Build a Resource Shop in Fortnite Creative
Have you ever wanted to create a shop where players trade wood and stone for cool items? In this tutorial, you will build a simple trading station. You will learn how to use World Resources as currency. Players will drop off materials. They will get a reward in return. This is a great way to add depth to your game.
What You'll Learn
- What World Resources are and how they work.
- How to use an Item Granter to give rewards.
- How to use a Conditional Button to check for materials.
- How to connect devices to make a working shop.
How It Works
Imagine you are at a lemonade stand. You need lemons to make the drink. In Fortnite Creative, World Resources are like those lemons. They are special items like Wood, Stone, and Brick. Players can pick them up from the ground or from spawners.
We can use these resources as currency. Currency is money you spend to buy things. Instead of using V-Bucks, players will spend Wood.
Here is the plan for our shop:
- The Check: We use a Conditional Button. This device checks if a player has the right items. It is like a bouncer at a club checking for a ticket.
- The Reward: We use an Item Granter. This device gives the player something when the button is pressed. It is like a vending machine.
- The Cost: When the player buys the item, the resources are taken away. This is called "consuming" the item.
Let's Build It
We will build a small booth. Players will walk up to a button. If they have 5 Wood, they can press it. They will get a Shield Potion. The 5 Wood will disappear.
Step 1: Set Up the Scene
- Place a Button in your island.
- Place an Item Granter next to it.
- In the Item Granter settings, choose a Shield Potion as the reward.
- Place an Item Spawner somewhere else. Set it to spawn Wood. This is so players can get resources to spend.
Step 2: Configure the Conditional Button
This is the smart part of our shop. The button needs to know what to look for.
- Click on your Button.
- Find the Condition section in the settings.
- Set the condition to Has Item.
- Select Wood as the item type.
- Set the amount to 5.
Now the button only works if a player has at least 5 Wood in their inventory.
Step 3: Connect the Devices
We need to tell the devices what to do when the button is pressed.
- Click on the Item Granter.
- Look for the On Pressed event.
- Drag a line from the Item Granter to the Button.
- Actually, it is easier to drag from the Button to the Granter.
- Select Grant Item as the action.
Wait, we also need to remove the Wood. We need a Consume Item device.
- Place a Consume Item device near the button.
- Set it to consume 5 Wood.
- Connect the Button to the Consume Item.
- Select Consume as the action.
Now, when the button is pressed, two things happen. The player gets the potion. The player loses the wood.
Step 4: Test Your Shop
Play your island. Pick up some Wood. Walk to the button. Press it. Did you get the potion? Did the wood disappear? If yes, you did it!
Try It Yourself
You have built a basic shop. Now, make it harder.
Challenge: Change the shop to sell a Rocket Launcher. The cost should be 10 Stone and 5 Brick.
Hint: You can add more conditions to the button. You can also add more Consume Item devices. Try adding a second Consume Item for the Brick.
Recap
World Resources are special items like Wood and Stone. You can use them as money in your game. A Conditional Button checks if a player has enough resources. An Item Granter gives the reward. A Consume Item device takes the resources away. You can build amazing shops with these tools.
References
- https://dev.epicgames.com/documentation/en-us/fortnite-creative/using-world-resource-consumables-in-fortnite-creative
- https://dev.epicgames.com/documentation/en-us/fortnite-creative/using-world-resource-items-in-fortnite-creative
- https://dev.epicgames.com/documentation/en-us/fortnite-creative/using-consumables-in-fortnite-creative
- https://dev.epicgames.com/documentation/en-us/fortnite-creative/using-items-in-fortnite-creative
- https://dev.epicgames.com/documentation/en-us/fortnite/using-items-in-fortnite-creative
Turn this into a guided course
Add using-world-resource-consumables-in-fortnite-creative to your free study plan — we'll suggest related pages and stitch the lot into one compile-checked, self-guided lesson with worked examples and quizzes.
References
Original tutorial generated by Verse Island from the Verse/UEFN knowledge base, with references to the Epic Games sources above. Code is validated against the knowledge base.