patreon rewards!

Luweth, Jackattack
This commit is contained in:
QuoteFox
2020-09-04 15:08:39 +01:00
parent a0b1d083ad
commit 6134118402
5 changed files with 33 additions and 3 deletions
+10 -2
View File
@@ -45,6 +45,7 @@
var/list/special_faces = list() //entries should match up to sides var if used
var/can_be_rigged = TRUE
var/rigged = FALSE
var/unique = FALSE
/obj/item/dice/Initialize()
. = ..()
@@ -171,10 +172,17 @@
result = rigged
var/fake_result = roll(sides)//Daredevil isn't as good as he used to be
var/comment = ""
if(sides == 20 && result == 20)
if(sides == 20 && result == 20 && !unique)
comment = "NAT 20!"
else if(sides == 20 && result == 1)
else if(sides == 20 && result == 1 && !unique)
comment = "Ouch, bad luck."
//patreon reward code
if(sides == 20 && result == 20 && unique)
comment = "Lady Luck takes pity on you."
else if(sides == 20 && result == 1 && unique)
comment = "Yep. The dice hate you."
update_icon()
if(initial(icon_state) == "d00")
result = (result - 1)*10
+12
View File
@@ -25,3 +25,15 @@
alternate_worn_icon = 'hyperstation/icons/mobs/rewards.dmi'
mutantrace_variation = NO_MUTANTRACE_VARIATION
/obj/item/clothing/gloves/ring/luweth
name = "Luweths Wedding Band"
icon = 'hyperstation/icons/obj/clothing/rewards.dmi'
icon_state = "luweth"
desc = "A seemingly natural yet rather rough brass ring, which shows off a unique range of lustrous brass cracks through the deep blacks of its hammered finish. 'Till death does us part.'"
/obj/item/dice/d20/blue
name = "blue d20"
desc = "Clearly the dice hate you."
icon_state = "d20_blue"
sides = 20
unique = TRUE
Binary file not shown.

Before

Width:  |  Height:  |  Size: 475 B

After

Width:  |  Height:  |  Size: 625 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 4.4 KiB

@@ -57,10 +57,20 @@
path = /obj/item/toy/plush/mammal/grug
ckeywhitelist = list("herrdoktah")
/datum/gear/hshack
name = "Plastitanium Shackles"
category = SLOT_W_UNIFORM
path = /obj/item/clothing/suit/shackles
ckeywhitelist = list("heliocintrini")
/datum/gear/luwethring
name = "Wedding Band"
category = SLOT_IN_BACKPACK
path = /obj/item/clothing/gloves/ring/luweth
ckeywhitelist = list("luweth")
/datum/gear/bluedice
name = "Blue D20"
category = SLOT_IN_BACKPACK
path = /obj/item/dice/d20/blue
ckeywhitelist = list("jackattack41498")