Verse Library verse

03 Gold Studs Management

Tracks player gold studs, handles banking, and manages stud deposits using item removers and stats.

extracted-snippets/documentation/en-us/fortnite/lego-pvp-extraction-template-in-unreal-editor-for-fortnite/03-gold-studs-management.verse

# Source URL: https://dev.epicgames.com/documentation/en-us/fortnite/lego-pvp-extraction-template-in-unreal-editor-for-fortnite
# Local doc:  epic-docs/documentation/en-us/fortnite/lego-pvp-extraction-template-in-unreal-editor-for-fortnite.md
# Section:    Gold Studs Management
using { /Fortnite.com/Devices }
using { /Verse.org/Simulation }
using { /UnrealEngine.com/Temporary/Diagnostics }
using { Lobby }
using { LEGOUtilities }
# Manager class that handles gold studs for players in the game
lego_goldstuds_manager := class(creative_device):
@editable:
ToolTip := ToolTip_StudManager_Stat_GoldStuds
Categories := array{StudManager_StatCategory}
Stat_GoldStuds : stat_creator_device = stat_creator_device{}
@editable:
ToolTip := ToolTip_StudManager_Stat_BankedGoldStuds
Categories := array{StudManager_StatCategory}
Stat_BankedGoldStuds : stat_creator_device = stat_creator_device{}
@editable:
ToolTip := ToolTip_StudManager_Stat_BankedGoldStuds_VisualsOnly
Categories := array{StudManager_StatCategory}
Stat_BankedGoldStuds_VisualsOnly : stat_creator_device = stat_creator_device{}
@editable:
ToolTip := ToolTip_StudManager_ConditionalButton_GoldStuds_CheckCount
Categories := array{StudManager_GeneralDevicesCategory}
ConditionalButton_GoldStuds_CheckCount : conditional_button_device = conditional_button_device{}
@editable:
ToolTip := ToolTip_StudManager_ItemRemover_DepositGoldStuds
Categories := array{StudManager_GeneralDevicesCategory}
ItemRemover_DepositGoldStuds : item_remover_device = item_remover_device{}

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.

Sign in with Discord

Comments

    Sign in to vote, comment, or suggest an edit. Sign in