Video
Readme

Slot Machine

Real life slot machine plugin for Unturned! With UI and custom barricade.

Features

  • Three reels slot machine UI
  • Real life slot machine algorithm
  • Full control over symbols and rewards
  • Complete translations for UI and chat messages
  • Works with Uconomy

Credits

  • lilboot for idea and barricade model

Workshop

3244592239 - Slot Machine

Configuration

<?xml version="1.0" encoding="utf-8"?>
<SlotMachineConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <MessageColor>yellow</MessageColor>
  <EffectId>24631</EffectId>
  <SpiningTimeSeconds>6.5</SpiningTimeSeconds>
  <GameCost>20</GameCost>
  <BigWinMinimum>500</BigWinMinimum>
  <BarricadeIDs>
    <BarricadeID>24630</BarricadeID>
  </BarricadeIDs>
  <GameCosts>
    <GameCost>
      <GroupId>vip</GroupId>
      <Cost>10</Cost>
    </GameCost>
  </GameCosts>
  <Symbols>
    <Symbol Name="Seven" IconUrl="https://i.imgur.com/vgnVjNT.png" IsLemon="false">
      <ThreeSymbolWin>2000</ThreeSymbolWin>
      <TwoSymbolWin>0</TwoSymbolWin>
      <OneSymbolWin>0</OneSymbolWin>
    </Symbol>
    <Symbol Name="Bar" IconUrl="https://i.imgur.com/WsLdpgh.png" IsLemon="false">
      <ThreeSymbolWin>1000</ThreeSymbolWin>
      <TwoSymbolWin>0</TwoSymbolWin>
      <OneSymbolWin>0</OneSymbolWin>
    </Symbol>
    <Symbol Name="Watermelon" IconUrl="https://i.imgur.com/YD9k38E.png" IsLemon="false">
      <ThreeSymbolWin>1000</ThreeSymbolWin>
      <TwoSymbolWin>0</TwoSymbolWin>
      <OneSymbolWin>0</OneSymbolWin>
    </Symbol>
    <Symbol Name="Diamond" IconUrl="https://i.imgur.com/Lyfallz.png" IsLemon="false">
      <ThreeSymbolWin>500</ThreeSymbolWin>
      <TwoSymbolWin>0</TwoSymbolWin>
      <OneSymbolWin>0</OneSymbolWin>
    </Symbol>
    <Symbol Name="Banana" IconUrl="https://i.imgur.com/Irkboqa.png" IsLemon="false">
      <ThreeSymbolWin>250</ThreeSymbolWin>
      <TwoSymbolWin>0</TwoSymbolWin>
      <OneSymbolWin>0</OneSymbolWin>
    </Symbol>
    <Symbol Name="Plum" IconUrl="https://i.imgur.com/nlySVBL.png" IsLemon="false">
      <ThreeSymbolWin>100</ThreeSymbolWin>
      <TwoSymbolWin>0</TwoSymbolWin>
      <OneSymbolWin>0</OneSymbolWin>
    </Symbol>
    <Symbol Name="Cherry" IconUrl="https://i.imgur.com/i9WIpzM.png" IsLemon="false">
      <ThreeSymbolWin>40</ThreeSymbolWin>
      <TwoSymbolWin>40</TwoSymbolWin>
      <OneSymbolWin>15</OneSymbolWin>
    </Symbol>
    <Symbol Name="Lemon" IconUrl="https://i.imgur.com/Og14GYS.png" IsLemon="true">
      <ThreeSymbolWin>0</ThreeSymbolWin>
      <TwoSymbolWin>0</TwoSymbolWin>
      <OneSymbolWin>0</OneSymbolWin>
    </Symbol>
  </Symbols>
  <Reels>
    <Reel Id="1">
      <SymbolProbabilities>
        <SymbolProbability SymbolName="Seven" Probability="45" />
        <SymbolProbability SymbolName="Bar" Probability="135" />
        <SymbolProbability SymbolName="Watermelon" Probability="90" />
        <SymbolProbability SymbolName="Diamond" Probability="45" />
        <SymbolProbability SymbolName="Banana" Probability="315" />
        <SymbolProbability SymbolName="Plum" Probability="225" />
        <SymbolProbability SymbolName="Cherry" Probability="145" />
        <SymbolProbability SymbolName="Lemon" Probability="0" />
      </SymbolProbabilities>
    </Reel>
    <Reel Id="2">
      <SymbolProbabilities>
        <SymbolProbability SymbolName="Seven" Probability="45" />
        <SymbolProbability SymbolName="Bar" Probability="90" />
        <SymbolProbability SymbolName="Watermelon" Probability="90" />
        <SymbolProbability SymbolName="Diamond" Probability="225" />
        <SymbolProbability SymbolName="Banana" Probability="135" />
        <SymbolProbability SymbolName="Plum" Probability="225" />
        <SymbolProbability SymbolName="Cherry" Probability="190" />
        <SymbolProbability SymbolName="Lemon" Probability="0" />
      </SymbolProbabilities>
    </Reel>
    <Reel Id="3">
      <SymbolProbabilities>
        <SymbolProbability SymbolName="Seven" Probability="45" />
        <SymbolProbability SymbolName="Bar" Probability="45" />
        <SymbolProbability SymbolName="Watermelon" Probability="90" />
        <SymbolProbability SymbolName="Diamond" Probability="325" />
        <SymbolProbability SymbolName="Banana" Probability="135" />
        <SymbolProbability SymbolName="Plum" Probability="180" />
        <SymbolProbability SymbolName="Cherry" Probability="0" />
        <SymbolProbability SymbolName="Lemon" Probability="180" />
      </SymbolProbabilities>
    </Reel>
  </Reels>
</SlotMachineConfiguration>

Translations

<?xml version="1.0" encoding="utf-8"?>
<Translations xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Translation Id="SlotMachineBusy" Value="This slot machine is already being used by {0}" />
  <Translation Id="ScreenTextDefault" Value="-" />
  <Translation Id="ScreenTextSpinning" Value="SPINNING..." />
  <Translation Id="ScreenText" Value="${0}" />
  <Translation Id="ScreenTitle" Value="YOUR WIN" />
  <Translation Id="SpinButtonText" Value="SPIN FOR ${0}" />
  <Translation Id="SymbolText" Value="${0}" />
  <Translation Id="NotEnoughMoney" Value="You don't have enough money!" />
  <Translation Id="Title" Value="Slot Machine" />
  <Translation Id="BigWinBroadcast" Value="{0} won ${1} in the slot machine!" />
</Translations>