Merge pull request #13070 from octareenroon91/patch-30

Introduce the four-color pen
This commit is contained in:
Remie Richards
2015-11-19 18:42:26 +00:00
2 changed files with 19 additions and 0 deletions
+17
View File
@@ -44,6 +44,23 @@
icon_state = "pen"
colour = "white"
/obj/item/weapon/pen/fourcolor
desc = "It's a fancy four-color ink pen, set to black."
name = "four-color pen"
colour = "black"
/obj/item/weapon/pen/fourcolor/attack_self(mob/living/carbon/user)
switch(colour)
if("black")
colour = "red"
if("red")
colour = "green"
if("green")
colour = "blue"
else
colour = "black"
user << "<span class='notice'>\The [src] will now write in [colour].</span>"
desc = "It's a fancy four-color ink pen, set to [colour]."
/obj/item/weapon/pen/attack(mob/living/M, mob/user,stealth)
if(!istype(M))