mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-16 17:43:35 +01:00
Exciting new d20 sprites by TedJustice.
Dice will now face the side they rolled! git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2986 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -1449,15 +1449,17 @@
|
||||
name = "d6"
|
||||
desc = "A dice with six sides."
|
||||
var/sides = 6
|
||||
icon_state = "dice"
|
||||
item_state = "dice"
|
||||
icon = 'dice.dmi'
|
||||
icon_state = "d66"
|
||||
|
||||
/obj/item/weapon/dice/New()
|
||||
icon_state = "[name][rand(sides)]"
|
||||
|
||||
/obj/item/weapon/dice/d20 // -- TLE
|
||||
name = "d20"
|
||||
desc = "A dice with...hell that is many sides."
|
||||
desc = "A dice with twenty sides."
|
||||
sides = 20
|
||||
icon_state = "d20"
|
||||
item_state = "dice"
|
||||
icon_state = "d2020"
|
||||
|
||||
/obj/item/weapon/pai_cable
|
||||
desc = "A flexible coated cable with a universal jack on one end."
|
||||
|
||||
@@ -402,6 +402,7 @@
|
||||
else if(temp_sides == 20 && result == 1)
|
||||
comment = "Ouch, bad luck."
|
||||
user << text("\red You throw a [src]. It lands on a [result]. [comment]")
|
||||
icon_state = "[name][result]"
|
||||
for(var/mob/O in viewers(user, null))
|
||||
if(O == (user))
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user