This commit is contained in:
Ty-Omaha
2017-11-14 11:16:43 -05:00
parent aa9bbd877f
commit dd90fb32bb
2 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -47,14 +47,14 @@
if(operation == 1) // Play
if(working == 1)
return
if(!account || account.money < 100)
if(!account || account.money < 10)
return
if(!account.charge(100, transaction_purpose = "Bet", dest_name = name))
if(!account.charge(10, transaction_purpose = "Bet", dest_name = name))
return
plays += 1
working = 1
icon_state = "slots-on"
var/roll = rand(1,20000)
var/roll = rand(1,1350)
playsound(src.loc, 'sound/machines/ding.ogg', 50, 1)
spawn(25)
if(roll == 1)
+2 -2
View File
@@ -12,10 +12,10 @@ Used In File(s): /code/game/machinery/slotmachine.dm
</div>
<div class="item">
<div class="statusLabel">
Hundred credits to play!
Ten credits to play!
</div>
<div class="statusValue">
{{:helper.link('SPIN!', 'refresh', {'ops' : 1}, data.money >= 100 && !data.working ? null : 'disabled')}}
{{:helper.link('SPIN!', 'refresh', {'ops' : 1}, data.money >= 10 && !data.working ? null : 'disabled')}}
</div>
</div>
{{if data.result}}