mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-03 14:03:25 +00:00
Pulling & Size Fixes
Fixes inability for mobs to pull certain structures like mining crates. Fixes w_class numbers I missed.
This commit is contained in:
@@ -877,7 +877,7 @@ Note that amputating the affected organ does in fact remove the infection from t
|
||||
if(DROPLIMB_BURN)
|
||||
new /obj/effect/decal/cleanable/ash(get_turf(victim))
|
||||
for(var/obj/item/I in src)
|
||||
if(I.w_class > 2 && !istype(I,/obj/item/organ))
|
||||
if(I.w_class > ITEMSIZE_SMALL && !istype(I,/obj/item/organ))
|
||||
I.loc = get_turf(src)
|
||||
qdel(src)
|
||||
if(DROPLIMB_BLUNT)
|
||||
@@ -899,7 +899,7 @@ Note that amputating the affected organ does in fact remove the infection from t
|
||||
I.throw_at(get_edge_target_turf(src,pick(alldirs)),rand(1,3),30)
|
||||
|
||||
for(var/obj/item/I in src)
|
||||
if(I.w_class <= 2)
|
||||
if(I.w_class <= ITEMSIZE_SMALL)
|
||||
qdel(I)
|
||||
continue
|
||||
I.loc = get_turf(src)
|
||||
@@ -1144,7 +1144,7 @@ Note that amputating the affected organ does in fact remove the infection from t
|
||||
for(var/atom/movable/implant in implants)
|
||||
//large items and non-item objs fall to the floor, everything else stays
|
||||
var/obj/item/I = implant
|
||||
if(istype(I) && I.w_class < 3)
|
||||
if(istype(I) && I.w_class < ITEMSIZE_NORMAL)
|
||||
implant.loc = get_turf(victim.loc)
|
||||
else
|
||||
implant.loc = src
|
||||
|
||||
Reference in New Issue
Block a user