mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +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)
|
switch(drawtype)
|
||||||
if("letter")
|
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")
|
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
|
return
|
||||||
to_chat(user, "You start drawing a letter on the [target.name].")
|
to_chat(user, "You start drawing a letter on the [target.name].")
|
||||||
if("graffiti")
|
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].")
|
to_chat(user, "You start drawing graffiti on the [target.name].")
|
||||||
if("rune")
|
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].")
|
to_chat(user, "You start drawing a rune on the [target.name].")
|
||||||
if("arrow")
|
if("arrow")
|
||||||
drawtype = input("Choose the arrow.", "Crayon scribbles") in list("left", "right", "up", "down")
|
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
|
return
|
||||||
to_chat(user, "You start drawing an arrow on the [target.name].")
|
to_chat(user, "You start drawing an arrow on the [target.name].")
|
||||||
if(instant || do_after(user, 50))
|
if(instant || do_after(user, 50))
|
||||||
|
|||||||
6
html/changelogs/PrismaticGynoid - GraffitiSelection.yml
Normal file
6
html/changelogs/PrismaticGynoid - GraffitiSelection.yml
Normal 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."
|
||||||
Reference in New Issue
Block a user