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:
ShiftyRail
2018-01-04 17:00:04 +01:00
committed by DamianX
parent ad3efc4c2f
commit 797e78300f
95 changed files with 256 additions and 222 deletions

View File

@@ -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)