mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 02:09:41 +00:00
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:
committed by
VirgoBot
parent
a948d6535c
commit
b22ec21911
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user