mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 03:27:05 +01:00
Makes slot machines only show a message to nearby people when someone wins at least 100 credits
The person playing the slots is still notified, and the sound still plays. Now slot machines won't clog up the chat with "No luck!".
This commit is contained in:
@@ -83,17 +83,14 @@
|
||||
resultlvl = "good"
|
||||
win_money(100, 'sound/goonstation/misc/bell.ogg')
|
||||
else if (roll > 100 && roll <= 200)
|
||||
visible_message("<b>[src]</b> says, 'Winner! [usr.name] has won fifty credits!'")
|
||||
result = "You win fifty credits!"
|
||||
resultlvl = "good"
|
||||
win_money(50)
|
||||
else if (roll > 200 && roll <= 500)
|
||||
visible_message("<b>[src]</b> says, 'Winner! [usr.name] has won ten credits!'")
|
||||
result = "You win ten credits!"
|
||||
resultlvl = "good"
|
||||
win_money(10)
|
||||
else
|
||||
visible_message("<b>[src]</b> says, 'No Luck!'")
|
||||
result = "<span class='warning'>No luck!</span>"
|
||||
resultlvl = "average"
|
||||
working = 0
|
||||
|
||||
Reference in New Issue
Block a user