diff --git a/code/game/objects/items/weapons/dice.dm b/code/game/objects/items/weapons/dice.dm index 074543296f5..a2a8d9f752e 100644 --- a/code/game/objects/items/weapons/dice.dm +++ b/code/game/objects/items/weapons/dice.dm @@ -16,7 +16,8 @@ icon_state = "d2020" sides = 20 -/obj/item/weapon/dice/attack_self(mob/user as mob) +/obj/item/weapon/dice/throw_impact(atom/hit_atom) + ..() var/result = rand(1, sides) var/comment = "" if(sides == 20 && result == 20) @@ -24,6 +25,4 @@ else if(sides == 20 && result == 1) comment = "Ouch, bad luck." icon_state = "[name][result]" - user.visible_message("[user] has thrown [src]. It lands on [result]. [comment]", \ - "You throw [src]. It lands on a [result]. [comment]", \ - "You hear [src] landing on a [result]. [comment]") + src.visible_message("\The [name] lands on [result]. [comment]") diff --git a/html/changelogs/Bedshaped-PR-882.yml b/html/changelogs/Bedshaped-PR-882.yml new file mode 100644 index 00000000000..58b9d8e76d1 --- /dev/null +++ b/html/changelogs/Bedshaped-PR-882.yml @@ -0,0 +1,6 @@ +author: Bedshaped + +delete-after: True + +changes: + - tweak: "Dice now have to be physically thrown to work."