Verse Library verse

02 Fragment

Rewards players with items when they possess specific inventory pieces.

verse-library/fortnite-basic-count-up-timer-using-nested-if-statements/02-fragment.verse

if (player.HasItem("GoldBar")):
    if (player.HasItem("ShieldPotion")):
        AmmoBox.GrantItem(player, "AssaultRifleAmmo")

Comments

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