mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
Any atom changing density now triggers an event (#16799)
* Event for changing density * Just in case * The humans are ded * Remaning changes * Slippery litle devils * How many commits am I holding up, Winston ? And if the collabs says 5, how many ? * Fixes resting problems * Final fixes
This commit is contained in:
@@ -405,7 +405,7 @@
|
||||
|
||||
icon_state = icon_opened
|
||||
src.opened = 1
|
||||
src.density = 0
|
||||
setDensity(FALSE)
|
||||
return 1
|
||||
|
||||
/obj/structure/closet/crate/close()
|
||||
@@ -419,7 +419,7 @@
|
||||
|
||||
icon_state = icon_closed
|
||||
src.opened = 0
|
||||
src.density = 1
|
||||
src.setDensity(TRUE)
|
||||
return 1
|
||||
|
||||
/obj/structure/closet/crate/insert(var/atom/movable/AM, var/include_mobs = 0)
|
||||
|
||||
Reference in New Issue
Block a user