mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 12:07:27 +01:00
Revert
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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}}
|
||||
|
||||
Reference in New Issue
Block a user