mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-14 17:36:52 +01:00
Updates Neith's Holocoat (#13182)
This commit is contained in:
@@ -1354,11 +1354,14 @@ All custom items with worn sprites must follow the contained sprite system: http
|
||||
|
||||
/obj/item/clothing/suit/storage/toggle/labcoat/fluff/mekesatis_labcoat //Biochemist Holocoat - Neith Mekesatis - vrow
|
||||
name = "biochemist holocoat"
|
||||
desc = "An Eridani Corporate Federation holocoat modelled after a standard biochemist labcoat. It is extremely well cared for."
|
||||
desc = "An extremely cared for and high quality labcoat that protects against minor chemical spills. The material feels like it could shimmer. There is a pharmaceutical logo displayed on the front."
|
||||
icon = 'icons/obj/custom_items/mekesatis_holocoat.dmi'
|
||||
icon_override = 'icons/obj/custom_items/mekesatis_holocoat.dmi'
|
||||
icon_state = "mekesatis_labcoat"
|
||||
item_state = "mekesatis_labcoat"
|
||||
var/holo_name = "eridanian holocoat"
|
||||
var/holo_desc = "An impeccably designed and cared for dark Eridani Corporate Federation holocoat modelled after a high quality labcoat. It has a prominent animated logo of the ECF on the back, \
|
||||
as well as a minor one across the front."
|
||||
var/changed = FALSE
|
||||
var/changing = FALSE
|
||||
|
||||
@@ -1369,14 +1372,17 @@ All custom items with worn sprites must follow the contained sprite system: http
|
||||
return
|
||||
|
||||
if(!(all_languages[LANGUAGE_TRADEBAND] in user.languages))
|
||||
to_chat(user, SPAN_NOTICE("On the inside of the coat there are various sentences in Tradeband printed in an elegant blue font."))
|
||||
to_chat(user, SPAN_NOTICE("On the inside of the coat there is a sentence in Tradeband printed in [changed ? "an elegant blue" : "a stylish red"] font."))
|
||||
return
|
||||
|
||||
else if(!changed)
|
||||
to_chat(user, SPAN_NOTICE("On the inside of the coat, the following words are printed in a stylish red font:<br><span style='font-family: Fixedsys; color: red'>Exclusive Time Limited Holocoat Deal from July 30, 2459. \
|
||||
Now with graced with an animated Eridani Corporate Federation logo. For the Prosperity of all Eridanians - <i>Delta HoloTextiles. Sector Alpha's best wears.</i></span>"))
|
||||
return
|
||||
|
||||
else
|
||||
to_chat(user, SPAN_NOTICE("On the inside of the coat, the following words are printed in an elegant blue font:<br>Exclusive Time Limited Holocoat Deal from July 30, 2459. \
|
||||
Now with graced with an animated Eridani Corporate Federation logo. For the Prosperity of all Eridanians - <i>Delta HoloTextiles. Sector Alpha's best \
|
||||
wears.</i><br><small><i><font face='Courier New'>Every cloud has a silver lining, and you should be happy for yours. Congratulations on your \
|
||||
graduation.</font> - <font face='Times New Roman'>Teremun A. M.</font></i></small>"))
|
||||
to_chat(user, SPAN_NOTICE("On the inside of the coat, the following words are printed in an elegant blue font:<br><i><font face='Courier New'>Every cloud has a silver lining, \
|
||||
and you should be grateful for yours. Congratulations on your graduation.</font> - <font face='Times New Roman'>Taiwo O. M.</font></i>"))
|
||||
return
|
||||
|
||||
/obj/item/clothing/suit/storage/toggle/labcoat/fluff/mekesatis_labcoat/toggle_open()
|
||||
@@ -1399,15 +1405,17 @@ All custom items with worn sprites must follow the contained sprite system: http
|
||||
if(changing)
|
||||
return
|
||||
|
||||
usr.visible_message("<span class='notice'>With a subtle gesture, [changed ? "the holocoat fades to a normal labcoat." : "the labcoat flickers in activity!"]</span>")
|
||||
usr.visible_message("<span class='notice'>With a subtle gesture, [changed ? "the holocoat fades to a normal labcoat." : "the labcoat shimmers in activity!"]</span>")
|
||||
icon_state = "mekesatis_[changed ? "labcoat_r" : "holocoat_t"][opened ? "_open" : ""]"
|
||||
item_state = icon_state
|
||||
name = "[changed ? initial(name) : holo_name]"
|
||||
desc = "[changed ? initial(desc) : holo_desc]"
|
||||
flick("mekesatis_[changed ? "labcoat_r" : "holocoat_t"][opened ? "_open" : ""]", src)
|
||||
|
||||
update_icon()
|
||||
usr.update_inv_wear_suit()
|
||||
changing = TRUE
|
||||
addtimer(CALLBACK(src, .proc/finish_toggle, usr), 10 SECONDS)
|
||||
addtimer(CALLBACK(src, .proc/finish_toggle, usr), 6 SECONDS)
|
||||
|
||||
/obj/item/clothing/suit/storage/toggle/labcoat/fluff/mekesatis_labcoat/proc/finish_toggle(mob/user)
|
||||
changed = !changed
|
||||
|
||||
Reference in New Issue
Block a user