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:
petethegoat@gmail.com
2012-01-26 16:22:46 +00:00
parent e41c2ac7ba
commit 692d03e91e
3 changed files with 8 additions and 5 deletions
+7 -5
View File
@@ -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."
+1
View File
@@ -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