Some more donator stuff (#18688)

* Added a donator item; updated a plushie sprite

* Small touch-ups

* Ah well

* Ah well x2
This commit is contained in:
Useroth
2023-01-13 08:14:27 -08:00
committed by GitHub
parent 2855e620d1
commit 0fe3d33f46
8 changed files with 21 additions and 1 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.0 KiB

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

After

Width:  |  Height:  |  Size: 64 KiB

@@ -1414,4 +1414,16 @@
worn_icon = 'modular_skyrat/master_files/icons/donator/mob/clothing/suit.dmi'
icon_state = "razurath_coat"
// Donation reward for MaSvedish
/obj/item/clothing/mask/holocigarette/masvedishcigar
name = "holocigar"
desc = "A soft buzzing device that, using holodeck technology, replicates a slow burn cigar. Now with less-shock technology."
icon = 'modular_skyrat/master_files/icons/donator/obj/clothing/masks.dmi'
worn_icon = 'modular_skyrat/master_files/icons/donator/mob/clothing/mask.dmi'
lefthand_file = 'modular_skyrat/master_files/icons/donator/mob/inhands/donator_left.dmi'
righthand_file = 'modular_skyrat/master_files/icons/donator/mob/inhands/donator_right.dmi'
inhand_icon_state = "masvedishcigar_off"
worn_icon_state = "masvedishcigar_off"
icon_state = "masvedishcigar_off"
icon_on = "masvedishcigar_on"
icon_off = "masvedishcigar_off"
@@ -617,3 +617,8 @@
name = "Golden Nanotrasen Officer Coat"
item_path = /obj/item/clothing/suit/razurathcoat
ckeywhitelist = list("razurath")
/datum/loadout_item/pocket_items/masvedishcigar
name = "Holocigar"
item_path = /obj/item/clothing/mask/holocigarette/masvedishcigar
ckeywhitelist = list("masvedish")
@@ -31,13 +31,16 @@
var/mob/living/carbon/smoker = owner
if(smoked.lit == FALSE)
smoked.icon_state = smoked.icon_on
smoked.worn_icon_state = smoked.icon_on
smoked.inhand_icon_state = smoked.icon_on
smoked.lit = TRUE
smoked.name = "lit [smoked.name]"
else
smoked.icon_state = smoked.icon_off
smoked.worn_icon_state = smoked.icon_off
smoked.inhand_icon_state = smoked.icon_off
smoked.lit = FALSE
smoked.name = copytext_char(smoked.name, 5) //5 == length_char("lit ") + 1
smoked.update_icon()
smoker.update_worn_mask()
smoker.update_held_items()