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:
Isaac Erwin
2016-05-01 00:35:29 -04:00
parent ad43910cbf
commit c339893502
-3
View File
@@ -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