diff --git a/code/modules/mining/ores_coins.dm b/code/modules/mining/ores_coins.dm index b01be5edf93..8b1ecfc80eb 100644 --- a/code/modules/mining/ores_coins.dm +++ b/code/modules/mining/ores_coins.dm @@ -150,3 +150,14 @@ string_attached = null user << "\blue You detach the string from the coin." else ..() + +/obj/item/weapon/coin/attack_self(mob/user as mob) + var/result = rand(1, sides) + var/comment = "" + if(result == 1) + comment = "tails" + else if(result == 2) + comment = "heads" + user.visible_message("[user] has thrown [src]. It lands on [comment]! ", \ + "You throw [src]. It lands on [comment]! ", \ + "You hear [src] landing on [comment]! ")