Stickynotes bugfix (#21887)

A handful of bugfixes covering stuff I missed in the original
stickynotes PR.
- Stickynotes can now interact with machinery, such as disposals or the
papershredder.
- - Turns out that after attack still has priority over interacting with
machines. You learn something every PR.
- Crumpled stickynotes can no longer be attached like a normal
stickynote. They can also no longer be written on.
- - As part of this, paper now uses a variable to track if it's
crumpled. Before, it would just check the icon_state.
- Crumpled stickynotes now use the crumpled sprite when being shredded.
Before it was just a normal paper sprite.
This commit is contained in:
CatsinHD
2026-02-19 03:37:04 +00:00
committed by GitHub
parent 09955a8c5e
commit 9be4bde7db
4 changed files with 100 additions and 11 deletions
+2
View File
@@ -36,6 +36,8 @@
/obj/item/paper_bundle/attackby(obj/item/attacking_item, mob/user)
..()
if (istype(attacking_item, /obj/item/paper/stickynotes/pad))
return
if (istype(attacking_item, /obj/item/paper/carbon))
var/obj/item/paper/carbon/C = attacking_item