mirror of
https://github.com/CHOMPstation/CHOMPstation.git
synced 2026-08-24 12:36:22 +01:00
Merge branch 'master' into SILENCEDMP5A5_FLUFF
This commit is contained in:
@@ -1,20 +1,3 @@
|
||||
/obj/item/clothing/gloves/weddingring
|
||||
name = "golden wedding ring"
|
||||
desc = "For showing your devotion to another person. It has a golden glimmer to it."
|
||||
icon = 'icons/obj/clothing/gloves_vr.dmi'
|
||||
icon_state = "wedring_g"
|
||||
item_state = "wedring_g"
|
||||
var/partnername = ""
|
||||
|
||||
/obj/item/clothing/gloves/weddingring/attack_self(mob/user)
|
||||
partnername = copytext(sanitize(input(user, "Would you like to change the holoengraving on the ring?", "Name your betrothed", "Bae") as null|text),1,MAX_NAME_LEN)
|
||||
name = "[initial(name)] - [partnername]"
|
||||
|
||||
/obj/item/clothing/gloves/weddingring/silver
|
||||
name = "silver wedding ring"
|
||||
icon_state = "wedring_s"
|
||||
item_state = "wedring_s"
|
||||
|
||||
/obj/item/clothing/gloves/color
|
||||
desc = "A pair of gloves, they don't look special in any way."
|
||||
item_state_slots = list(slot_r_hand_str = "white", slot_l_hand_str = "white")
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
/obj/item/clothing/gloves/ring/wedding
|
||||
name = "golden wedding ring"
|
||||
desc = "For showing your devotion to another person. It has a golden glimmer to it."
|
||||
icon = 'icons/obj/clothing/gloves_vr.dmi'
|
||||
icon_state = "wedring_g"
|
||||
item_state = "wedring_g"
|
||||
var/partnername = ""
|
||||
|
||||
/obj/item/clothing/gloves/ring/wedding/attack_self(mob/user)
|
||||
partnername = copytext(sanitize(input(user, "Would you like to change the holoengraving on the ring?", "Name your spouse", "Bae") as null|text),1,MAX_NAME_LEN)
|
||||
name = "[initial(name)] - [partnername]"
|
||||
|
||||
/obj/item/clothing/gloves/ring/wedding/silver
|
||||
name = "silver wedding ring"
|
||||
desc = "For showing your devotion to another person. It has a silver glimmer to it."
|
||||
icon_state = "wedring_s"
|
||||
item_state = "wedring_s"
|
||||
@@ -26,7 +26,9 @@
|
||||
if(icon_override)
|
||||
if("[tmp_icon_state]_tie" in icon_states(icon_override))
|
||||
tmp_icon_state = "[tmp_icon_state]_tie"
|
||||
inv_overlay = image(icon = INV_ACCESSORIES_DEF_ICON, icon_state = tmp_icon_state, dir = SOUTH)
|
||||
inv_overlay = image(icon = icon_override, icon_state = tmp_icon_state, dir = SOUTH)
|
||||
else
|
||||
inv_overlay = image(icon = INV_ACCESSORIES_DEF_ICON, icon_state = tmp_icon_state, dir = SOUTH)
|
||||
return inv_overlay
|
||||
|
||||
/obj/item/clothing/accessory/proc/get_mob_overlay()
|
||||
@@ -387,4 +389,4 @@
|
||||
/obj/item/clothing/accessory/bracelet/material/glass/New(var/newloc)
|
||||
..(newloc, "glass")
|
||||
|
||||
..()
|
||||
..()
|
||||
|
||||
Reference in New Issue
Block a user