slime people color changes (#24706)

This commit is contained in:
ancientpower
2019-11-11 10:30:08 -06:00
committed by Kurfursten
parent 6f745d17fc
commit 342dd71fee
6 changed files with 40 additions and 6 deletions

View File

@@ -61,11 +61,11 @@ var/global/list/all_graffitis = list(
shadeColour = "#0082A8"
colourName = "blue"
/obj/item/toy/crayon/purple
/obj/item/toy/crayon/violet
icon_state = "crayonpurple"
colour = "#DA00FF"
shadeColour = "#810CFF"
colourName = "purple"
colourName = "violet"
/obj/item/toy/crayon/black
icon_state = "crayonblack"
@@ -224,6 +224,8 @@ var/global/list/all_graffitis = list(
"<span class='notice'>You bite a chunk out of \the [src].</span>")
user.nutrition += 5
score["foodeaten"]++
if(ispath(text2path("/datum/reagent/paint/[colourName]")) && M.reagents)
M.reagents.add_reagent("paint_[colourName]", 10)
if(uses)
uses -= 5
if(uses <= 0)