-
Notifications
You must be signed in to change notification settings - Fork 302
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Graffiti centers on where you click. #9255
Conversation
You're doing half of this in two different places. /obj/effect/decal/cleanable/crayon (Crayon doodles), where you've applied the "appears where you click" feature is a distinct thing from /obj/effect/decal/writing (Engraved graffiti). Crayon doodles are handled by the Filth persistence system, so you'll need to include the pixel x/y save/load there. |
The graffiti icons are also arranged as they are so that a full turf doesn't have overlapping graffiti. |
Overlapping engravings aren't too much of an issue in my opinion, as if they get to the point of being obstructive somehow, Engineering should already have been notified of their presence. |
. = "<td colspan = 3>[thing]</td><td>Loc:([CRAY.x],[CRAY.y],[CRAY.z]) P_X: [CRAY.pixel_x] P_Y: [CRAY.pixel_y] Color: [CRAY.art_color] Shading: [CRAY.art_shade] Type: [CRAY.art_type]</td><td><a href='byond://?src=\ref[src];caller=\ref[user];remove_entry=\ref[thing]'>Destroy</a></td>" | ||
else | ||
. = "<td colspan = 4>[thing]</td>" | ||
else | ||
return null |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
. = "<td colspan = 3>[thing]</td><td>Loc:([CRAY.x],[CRAY.y],[CRAY.z]) P_X: [CRAY.pixel_x] P_Y: [CRAY.pixel_y] Color: [CRAY.art_color] Shading: [CRAY.art_shade] Type: [CRAY.art_type]</td><td><a href='byond://?src=\ref[src];caller=\ref[user];remove_entry=\ref[thing]'>Destroy</a></td>" | |
else | |
. = "<td colspan = 4>[thing]</td>" | |
else | |
return null | |
return "<td colspan = 3>[thing]</td><td>Loc:([CRAY.x],[CRAY.y],[CRAY.z]) P_X: [CRAY.pixel_x] P_Y: [CRAY.pixel_y] Color: [CRAY.art_color] Shading: [CRAY.art_shade] Type: [CRAY.art_type]</td><td><a href='byond://?src=\ref[src];caller=\ref[user];remove_entry=\ref[thing]'>Destroy</a></td>" | |
return "<td colspan = 4>[thing]</td>" | |
return null |
Tin.
Persisting graffiti will also save its pixel shift.