mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-25 05:51:56 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user