GTX0 AnnouncementsFeedbackHelp | SandboxNewest Posts | Replies | Hottest
NIFE UpdatesRoadmapRequests | HelpDiscuss Game Worlds


NIFE: Lootboxes Plugin
Posted: Posted March 15th by Xhin

This plugin introduces Lootboxes, which are fixtures that will give looters some kind of random item (depending on what you set).



First thing to do is to choose a room.



Here you can add lootboxes. Straightforward enough.

Lootboxes can be hidden and can have events that trigger whenever they're looted.

They can also have a global stock.. every time a character loots an item from them this stock goes down. If it reaches 0, the lootbox can't be looted anymore. If the global stock is -1, however, the character can continue looting from the box as much as they want.

There's a global max, which only really affects lootbox events.

Clicking "Edit Lootbox" goes here:



Here you assign various item properties to the lootbox. Each of these has a weight and a chance.

The way this works, in the above example, items with a "Damage" stat have a 3/6 chance of being looted, items with a "Potion id" stat have a 1/6 chance of being looted, and items with a "Bomb Damage" stat have a 2/6 chance of being looted. Overall you're likely to pull out a weapon or maybe a bomb, and rarely a potion.

The chance then determines whether an item will actually be pulled out once it's selected... If it doesn't, the stock doesn't go down but the player might still get annoyed because they'll have to loot the box again.

You can also remove loot (wasn't shown in the preview because I added it in after I made it)



Here's the actual auto-action. Pretty straightforward, I put it after Take since it's similar.

Events

I introduced some new events concerning lootboxes:

  • Hide, Show, Move (should be straightforward)

  • Refill -- refills a lootbox's stock to its max

  • Clear -- sets a lootbox's stock to 0.

  • Increase max, increase stock, set max, set stock -- should be straightforward

  • Make infinite -- makes the stock infinite (shorthand for set stock to -1).

  • Add loot (box, property, weight, chance) -- adds a new loot type to the lootbox.

  • Remove loot (box, property) -- removes a loot type from the lootbox.

    You'll find these events in the new Lootbox object. The #boxid hashtag can refer to the lootbox which is being looted, while #user is the character doing the looting.

    I have some additions to this plugin, but it's like 3pm and I don't want to only do this plugin today, so I'll leave them off for later.

  • settingsOptions
    There are 7 Replies

    @Moonray:

    Posted March 15th by Xhin
    Xhin
    Fractal icious

    Even GTX0 has lootboxes now! The world truly is ending!



    Posted March 16th by Moonray
    Moonray
     

    of all the things you could name it

    Posted March 16th by Pirate_Ninja

    Where the stigma with the word lootbox? It's a box with loot in it.

    Posted March 16th by Xhin
    Xhin
    Fractal icious

    "Lootbox" is another euphemism for a microtransaction/gambling mechanic in modern video games.

    Posted March 16th by nullfather

    I guess it's an ok name since only hosts will ever see it but I couldn't resist making a joke about it.

    Posted March 16th by Moonray
    Moonray
     

    Where the stigma with the word lootbox?
    google the word and look at what comes up. There are a lot of negative articles about them as a modern trend to weasel cash out of players. In some cases, they're tied to "pay to win" mechanics what screw over people who don't want to (or can't) throw extra money at a game they've already paid full price for. There's legislation in places about regulating it as gambling (especially in cases of spending real money for a random chance at getting whatever virtual content you want, when your odds of success may not even be disclosed to you). From what I've heard, Japan adopted some strict rules for mobile games a while back after controversy over players spending cash to try and get in-game items that had bad odds of coming up in random draws.

    y'know, that kinda "fun" stuff

    Posted March 16th by Pirate_Ninja
    Reply to: NIFE: Lootboxes Plugin
    Enter your message here

    Site Rules | Complaints Process | Register Complaint Facebook Page
    GTX0 © 2009-2017 Xhin GameTalk © 1999-2008 lives on