VerseIsland
FeedLearnLeaderboardGuidesReferenceExploreSearchDocsVerse Library
Sign in
Feed Learn 📖 Codex Leaderboard Guides Reference Explore Search Docs Verse Library
Browse Community Snippets›Devices·Up to Community Snippets · Devices·69 of 70 in Devices

Item Shop Device

83,550 Views

Report

  • using { /Fortnite.com/Devices }
    using { /Verse.org/Simulation }
    using { /UnrealEngine.com/Temporary/Diagnostics }
    
    # Device Configuration:
    # 1.  Set the 'Cashier' Conditional Button Device's Key Item to use the currency type you want (Gold, etc).
    # 2.  Set the HUD Message Device to 'Message Recipient:  Triggering Player'.
    # 3.  Set the Button Device to the desired Interact Time.
    # 4.  Add the Item being purchased to the Item List of the Item Granter.
    
    shop_device := class(creative_device):
    
        @editable
        Cashier: conditional_button_device = conditional_button_device{}
    
        @editable
        HUDMessage: hud_message_device = hud_message_device{}
    
        @editable
        ShopItems: []shop_item = array{}
        
        MakeMessage<localizes>(Text: string): message = "{Text}"
    
        OnBegin<override>()<suspends>:void=
            ShopSetup()
    
        ShopSetup(): void =
            for (Item : ShopItems):
                Item.Init(Self)

You're reading a preview

The full reference is free for BrainDeadGuild Discord members — sign in to read it all, or open the original at the source.

Sign in with Discord — free for members Read the original at Epic Games documentation

Sign in with your BrainDead.TV / BrainDeadGuild Discord account for full access.

Guided course

Add this to your free study plan — we’ll suggest related material and stitch it into one compile-checked lesson.

Keep exploring
More in Devices · 69 of 70
Prev
fortnite one player remaining detector device collection
Next
fortnite ui button with verse that hides player and hud

Source

Epic Games documentation

View original

Last updated 2026-07-12T13:26:45.990106+00:00

VerseIsland· an archipelago of Verse & UEFN knowledge
🗺️ Island atlasLearnGuidesHistoryAbout & PressSources & LicensingPrivacy PolicyTermsStatus

Not affiliated with Epic Games. Fortnite, UEFN, Unreal Engine, and Verse are trademarks of Epic Games, Inc. Content is attributed to its source — see Sources & Licensing.

🦜

Scout · your island guide

The Isle of Verse