Adds comments and loadout

This commit is contained in:
Gwydion Brain
2018-09-27 14:17:32 -07:00
parent 3e4c7b476b
commit d426ed1879
2 changed files with 15 additions and 7 deletions
+3 -3
View File
@@ -48,9 +48,9 @@
name = "lipstick"
/obj/item/lipstick/random/New()
var/lscolor = pick(lipstick_colors)
colour = lipstick_colors[lscolor]
name = "[lscolor] lipstick"
var/lscolor = pick(lipstick_colors)//A random color is picked from the var defined initially in a new var.
colour = lipstick_colors[lscolor]//The color of the lipstick is pulled from the new variable (right hand side, HTML & Hex RGB)
name = "[lscolor] lipstick"//The new variable is also used to match the name to the color of the lipstick. Kudos to Desolate & Lemon
/obj/item/lipstick/attack_self(mob/user as mob)