mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-25 05:51:56 +01:00
Nymph head flowers. (#3634)
Adds a head flower to 5% of diona nymphs. Also changes get_random_colour() to return a proper RGB string instead of expecting the caller to add the #.
This commit is contained in:
@@ -58,7 +58,7 @@
|
||||
dry()
|
||||
|
||||
/obj/effect/decal/cleanable/blood/update_icon()
|
||||
if(basecolor == "rainbow") basecolor = "#[get_random_colour(1)]"
|
||||
if(basecolor == "rainbow") basecolor = get_random_colour(1)
|
||||
color = basecolor
|
||||
|
||||
/obj/effect/decal/cleanable/blood/Crossed(mob/living/carbon/human/perp)
|
||||
@@ -121,7 +121,7 @@
|
||||
amount -= taken
|
||||
user << "<span class='notice'>You get some of \the [src] on your hands.</span>"
|
||||
LAZYINITLIST(user.blood_DNA)
|
||||
|
||||
|
||||
if (blood_DNA)
|
||||
user.blood_DNA |= blood_DNA.Copy()
|
||||
|
||||
@@ -185,11 +185,11 @@
|
||||
|
||||
var/image/giblets = new(base_icon, "[icon_state]_flesh", dir)
|
||||
if(!fleshcolor || fleshcolor == "rainbow")
|
||||
fleshcolor = "#[get_random_colour(1)]"
|
||||
fleshcolor = get_random_colour(1)
|
||||
giblets.color = fleshcolor
|
||||
|
||||
var/icon/blood = new(base_icon,"[icon_state]",dir)
|
||||
if(basecolor == "rainbow") basecolor = "#[get_random_colour(1)]"
|
||||
if(basecolor == "rainbow") basecolor = get_random_colour(1)
|
||||
blood.Blend(basecolor,ICON_MULTIPLY)
|
||||
|
||||
icon = blood
|
||||
|
||||
Reference in New Issue
Block a user