TG sync Sunday (#201)
* stage one * datums and shit * game stuff * modules * tgstation.dme * tools * these things for icons * compiling fixes * merge spree on TG * other updates * updated maps with deepfryers * My helpers were not helping
This commit is contained in:
@@ -27,7 +27,15 @@
|
||||
|
||||
/obj/structure/grille/Bumped(atom/user)
|
||||
if(ismob(user))
|
||||
shock(user, 70)
|
||||
var/tile_density = FALSE
|
||||
for(var/atom/movable/AM in get_turf(src))
|
||||
if(AM == src)
|
||||
continue
|
||||
if(AM.density && AM.layer >= layer)
|
||||
tile_density = TRUE
|
||||
break
|
||||
if(!tile_density)
|
||||
shock(user, 70)
|
||||
|
||||
|
||||
/obj/structure/grille/attack_paw(mob/user)
|
||||
|
||||
Reference in New Issue
Block a user