mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2026-08-21 11:46:44 +01:00
107 lines
2.5 KiB
Plaintext
107 lines
2.5 KiB
Plaintext
// Hyper stuff
|
|
|
|
//Lipstick
|
|
/obj/item/lipstick/yellow
|
|
name = "yellow lipstick"
|
|
colour = "yellow"
|
|
|
|
/obj/item/lipstick/blue
|
|
name = "blue lipstick"
|
|
colour = "blue"
|
|
|
|
/obj/item/lipstick/teal
|
|
name = "teal lipstick"
|
|
colour = "teal"
|
|
|
|
/obj/item/lipstick/fuchsia
|
|
name = "fuchsia lipstick"
|
|
colour = "fuchsia"
|
|
|
|
/obj/item/lipstick/navy
|
|
name = "navy blue lipstick"
|
|
colour = "navy"
|
|
|
|
/obj/item/lipstick/aqua
|
|
name = "cyan lipstick"
|
|
colour = "aqua"
|
|
|
|
/obj/item/lipstick/white
|
|
name = "white lipstick"
|
|
colour = "white"
|
|
|
|
//Nail polish
|
|
/obj/item/nailpolish
|
|
name = "nail polish"
|
|
desc = "Paint with a fine brush to do your nails, or someone elses."
|
|
icon = 'modular_splurt/icons/obj/cosmetic.dmi'
|
|
icon_state = "nailcap"
|
|
item_state = "nailpolish"
|
|
w_class = WEIGHT_CLASS_SMALL
|
|
var/paint = "black"
|
|
var/mutable_appearance/bottle //show the colour on the bottle.
|
|
|
|
/obj/item/nailpolish/red
|
|
name = "red nail polish"
|
|
paint = "red"
|
|
|
|
/obj/item/nailpolish/blue
|
|
name = "blue nail polish"
|
|
paint = "blue"
|
|
|
|
/obj/item/nailpolish/aqua
|
|
name = "cyan nail polish"
|
|
paint = "aqua"
|
|
|
|
/obj/item/nailpolish/black
|
|
name = "black nail polish"
|
|
paint = "black"
|
|
|
|
/obj/item/nailpolish/white
|
|
name = "white nail polish"
|
|
paint = "white"
|
|
|
|
/obj/item/nailpolish/navy
|
|
name = "navy nail polish"
|
|
paint = "navy"
|
|
|
|
/obj/item/nailpolish/yellow
|
|
name = "yellow nail polish"
|
|
paint = "yellow"
|
|
|
|
/obj/item/nailpolish/purple
|
|
name = "purple nail polish"
|
|
paint = "purple"
|
|
|
|
/obj/item/nailpolish/Initialize()
|
|
. = ..()
|
|
bottle = mutable_appearance('modular_splurt/icons/obj/cosmetic.dmi', "nailpolish")
|
|
bottle.color = paint
|
|
add_overlay(bottle)
|
|
|
|
|
|
/obj/item/nailpolish/attack(mob/M, mob/user)
|
|
if(!ismob(M))
|
|
return
|
|
if(ishuman(M))
|
|
var/mob/living/carbon/human/H = M
|
|
if(H.nail_style) //to stop stacking bugs
|
|
to_chat(user, span_warning("Remove the old nail polish first!"))
|
|
|
|
if(H == user)
|
|
user.visible_message(span_notice("[user] does [user.p_their()] nails with \the [src]."), \
|
|
span_notice("You take a moment to apply \the [src]. Perfect!"))
|
|
H.nail_style = "nails"
|
|
H.nail_color = paint
|
|
H.update_body()
|
|
else
|
|
user.visible_message(span_warning("[user] begins to do [H]'s nails with \the [src]."), \
|
|
span_notice("You begin to apply \the [src] on [H]'s nails..."))
|
|
if(do_after(user, 20, target = H))
|
|
user.visible_message("[user] does [H]'s nails with \the [src].", \
|
|
span_notice("You apply \the [src] on [H]'s nails."))
|
|
H.nail_style = "nails"
|
|
H.nail_color = paint
|
|
H.update_body()
|
|
else
|
|
to_chat(user, span_warning("Where are the nail on that?"))
|