Graffiti selection (#6562)

* Lets you choose what type of graffiti or rune to draw when vandalizing the floor with crayons or markers. No more drawing and erasing a dozen times to get the exact graffiti you want.

* Puts in Mechoid's suggestion
This commit is contained in:
PrismaticGynoid
2019-12-13 14:00:59 -08:00
committed by VirgoBot
parent a948d6535c
commit b22ec21911
2 changed files with 14 additions and 2 deletions

View File

@@ -74,16 +74,22 @@
switch(drawtype)
if("letter")
drawtype = input("Choose the letter.", "Crayon scribbles") in list("a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z")
if(get_dist(target, user) > 1 || !(user.z == target.z))
if(get_dist(target, user) > 1 || !(user.z == target.z) || !drawtype)
return
to_chat(user, "You start drawing a letter on the [target.name].")
if("graffiti")
drawtype = input("Choose the graffiti.", "Crayon scribbles") in list("amyjon","face","matt","revolution","engie","guy","end","dwarf","uboa")
if(get_dist(target, user) > 1 || !(user.z == target.z) || !drawtype)
return
to_chat(user, "You start drawing graffiti on the [target.name].")
if("rune")
drawtype = input("Choose the rune.", "Crayon scribbles") in list("rune1", "rune2", "rune3", "rune4", "rune5", "rune6")
if(get_dist(target, user) > 1 || !(user.z == target.z) || !drawtype)
return
to_chat(user, "You start drawing a rune on the [target.name].")
if("arrow")
drawtype = input("Choose the arrow.", "Crayon scribbles") in list("left", "right", "up", "down")
if(get_dist(target, user) > 1 || !(user.z == target.z))
if(get_dist(target, user) > 1 || !(user.z == target.z) || !drawtype)
return
to_chat(user, "You start drawing an arrow on the [target.name].")
if(instant || do_after(user, 50))

View File

@@ -0,0 +1,6 @@
author: PrismaticGynoid
delete-after: True
changes:
- tweak: "You can now choose what type of graffiti or rune to draw when using crayons/markers."