mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 12:37:26 +01:00
addresses minor issues:
isobj changed to explicit istype /obj added extra frames to blast door animation so it doesn't restart removed ZAS vars from /door/, added missing vars to door subtypes adjusted layers of doors, removed layer varedits on maps
This commit is contained in:
@@ -44,7 +44,7 @@
|
||||
var/tforce = 0
|
||||
if(ismob(AM))
|
||||
tforce = 10
|
||||
else if(isobj(AM))
|
||||
else if(istype(AM, /obj))
|
||||
var/obj/O = AM
|
||||
tforce = O.throwforce
|
||||
take_damage(tforce, BRUTE, "melee", 1, get_dir(src, AM))
|
||||
|
||||
@@ -277,7 +277,7 @@
|
||||
..()
|
||||
|
||||
/obj/structure/grille/hitby(atom/movable/AM)
|
||||
if(isobj(AM))
|
||||
if(istype(AM, /obj))
|
||||
if(prob(50) && anchored && !broken)
|
||||
var/turf/T = get_turf(src)
|
||||
var/obj/structure/cable/C = T.get_cable_node()
|
||||
|
||||
Reference in New Issue
Block a user