using { /Fortnite.com/Characters }
using { /Fortnite.com/FortPlayerUtilities }
using { /Fortnite.com/Devices }
using { /Verse.org/Simulation }
using { /UnrealEngine.com/Temporary/Diagnostics }
# We define our crafting recipe here
# This is like writing down the recipe on a card
crafting_recipe := struct:
Ingredient1 : int # item slot index tracked by your item_granter setup
Ingredient2 : int
RewardGranter : item_granter # the Item Granter device that holds the Primal Pistol
# This is our main crafting table device
# Wire IngredientGranter1 and IngredientGranter2 to item_granter devices
# configured for Grub and Acorn respectively in the UEFN editor
crafting_table_device := class(creative_device):
# Place two Item Granter devices on the island and set one to Grub,
# one to Acorn. Assign them here in the editor.
@editable
IngredientGranter1 : item_granter = item_granter{}
@editable
IngredientGranter2 : item_granter = item_granter{}
# Place a third Item Granter set to Primal Pistol for the reward.
@editable
RewardGranter : item_granter = item_granter{}
Verse Library
verse
01 Device
Manages complex crafting recipes by tracking multiple ingredient granters against a conditional button.
verse-library/using-primal-crafting-items-in-fortnite-creative/01-device.verse
Sign in free to read the full source 🌴
This Verse Library file is members-only. Create a free account to view the complete source and download the .verse file.