mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 03:57:48 +01:00
Merge pull request #14358 from faaaay/loaded-dice
Adds loaded dice + a custom item
This commit is contained in:
@@ -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)]"
|
||||
|
||||
Reference in New Issue
Block a user