mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-24 04:28:12 +01: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:
@@ -321,7 +321,7 @@ var/list/global/slot_flags_enumeration = list(
|
||||
switch(slot)
|
||||
if(slot_l_ear, slot_r_ear)
|
||||
var/slot_other_ear = (slot == slot_l_ear)? slot_r_ear : slot_l_ear
|
||||
if( (w_class > 1) && !(slot_flags & SLOT_EARS) )
|
||||
if( (w_class > ITEMSIZE_TINY) && !(slot_flags & SLOT_EARS) )
|
||||
return 0
|
||||
if( (slot_flags & SLOT_TWOEARS) && H.get_equipped_item(slot_other_ear) )
|
||||
return 0
|
||||
@@ -337,7 +337,7 @@ var/list/global/slot_flags_enumeration = list(
|
||||
return 0
|
||||
if(slot_flags & SLOT_DENYPOCKET)
|
||||
return 0
|
||||
if( w_class > 2 && !(slot_flags & SLOT_POCKET) )
|
||||
if( w_class > ITEMSIZE_SMALL && !(slot_flags & SLOT_POCKET) )
|
||||
return 0
|
||||
if(slot_s_store)
|
||||
if(!H.wear_suit && (slot_wear_suit in mob_equip))
|
||||
|
||||
Reference in New Issue
Block a user