Snufkin
New member
Available for now only in creative menu. 20 different designs to spice up a lobby or market. I used pictures from "Zombie Tramp". The win rates are calculated as follow (if someone comes up with a better/more fair formula please let me know)
DOWNLOAD: https://www.dropbox.com/sh/d8uo515hh...wJ6coFaTa?dl=0
The machines are simple to use, pick your bet and press spin. PLEASE don't SHIFT+CLICK the bet buttons, it will take ages to give you the prize. This is by design. Don't forget to collect your prize.
I tested in several resolutions, but I have little idea how the UI system works, so apologies in advance if the machines break something.
Code:
<triggered_effect trigger="onSelfBuffUpdate" action="ModifyCVar" cvar="$casinoyield" operation="setvalue" value="randomint(-5,200)"/>
<triggered_effect trigger="onSelfBuffUpdate" action="ModifyCVar" cvar="$casinoyield" operation="multiply" value="0.01"/>
<triggered_effect trigger="onSelfBuffUpdate" action="ModifyCVar" cvar="$casinoyield" operation="setvalue" value="0">
<requirement name="CVarCompare" cvar="$casinoyield" operation="LT" value="0"/>
</triggered_effect>
<passive_effect name="CraftingOutputCount" operation="perc_set" value="@$casinoyield" tags="casinoslot"/>
<passive_effect name="CraftingOutputCount" operation="base_add" value="1" tags="casino10"/>
<passive_effect name="CraftingOutputCount" operation="base_add" value="10" tags="casino100"/>
<passive_effect name="CraftingOutputCount" operation="base_add" value="100" tags="casino1000"/>
<passive_effect name="CraftingOutputCount" operation="base_add" value="1000" tags="casino10000"/>

The machines are simple to use, pick your bet and press spin. PLEASE don't SHIFT+CLICK the bet buttons, it will take ages to give you the prize. This is by design. Don't forget to collect your prize.
I tested in several resolutions, but I have little idea how the UI system works, so apologies in advance if the machines break something.
Last edited by a moderator: