mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 23:27:34 +01:00
Merge pull request #13070 from octareenroon91/patch-30
Introduce the four-color pen
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user