From c339893502e2d6fcd18d4f248dfe86f354b0a6a2 Mon Sep 17 00:00:00 2001 From: Isaac Erwin Date: Sun, 1 May 2016 00:35:29 -0400 Subject: [PATCH] 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!". --- code/game/machinery/slotmachine.dm | 3 --- 1 file changed, 3 deletions(-) diff --git a/code/game/machinery/slotmachine.dm b/code/game/machinery/slotmachine.dm index 046217960e8..7aa6bff7c4e 100644 --- a/code/game/machinery/slotmachine.dm +++ b/code/game/machinery/slotmachine.dm @@ -83,17 +83,14 @@ resultlvl = "good" win_money(100, 'sound/goonstation/misc/bell.ogg') else if (roll > 100 && roll <= 200) - visible_message("[src] 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("[src] says, 'Winner! [usr.name] has won ten credits!'") result = "You win ten credits!" resultlvl = "good" win_money(10) else - visible_message("[src] says, 'No Luck!'") result = "No luck!" resultlvl = "average" working = 0