custom item

This commit is contained in:
faaaay
2023-01-20 11:41:11 +00:00
parent f27f7ea770
commit 4f2c9e371f
3 changed files with 20 additions and 0 deletions
@@ -1556,3 +1556,17 @@
playsound(src, 'sound/items/drop/plushie.ogg', 25, 0)
visible_message("[src] says, \"[pokephrase]\"")
last_message = world.time
//Yeehawguvnah - Cephyra
/obj/item/weapon/dice/loaded/ceph
name = "engraved d6"
desc = "A die with six sides. It's fairly well-made, made of an unclear black material with silver pips. If you were to touch it, your hands tingle slightly as though from static. On closer inspection, it's finely engraved with curving, fractal patterns."
icon_state = "ceph_d66"
/obj/item/weapon/dice/loaded/ceph/rollDice(mob/user, silent)
..()
icon_state = "ceph_d6[result]"
/obj/item/weapon/dice/loaded/ceph/New()
icon_state = "ceph_d6[rand(1,sides)]"