mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-30 07:27:57 +01:00
Converts /modules/ to using WEIGHT_CLASS_x
This commit is contained in:
@@ -424,7 +424,7 @@ var/list/slot_equipment_priority = list( \
|
||||
return 0
|
||||
if(slot_flags & SLOT_DENYPOCKET)
|
||||
return
|
||||
if( w_class <= 2 || (slot_flags & SLOT_POCKET) )
|
||||
if( w_class <= WEIGHT_CLASS_SMALL || (slot_flags & SLOT_POCKET) )
|
||||
return 1
|
||||
if(slot_r_store)
|
||||
if(H.r_store)
|
||||
@@ -435,7 +435,7 @@ var/list/slot_equipment_priority = list( \
|
||||
return 0
|
||||
if(slot_flags & SLOT_DENYPOCKET)
|
||||
return 0
|
||||
if( w_class <= 2 || (slot_flags & SLOT_POCKET) )
|
||||
if( w_class <= WEIGHT_CLASS_SMALL || (slot_flags & SLOT_POCKET) )
|
||||
return 1
|
||||
return 0
|
||||
if(slot_s_store)
|
||||
@@ -447,7 +447,7 @@ var/list/slot_equipment_priority = list( \
|
||||
if(!disable_warning)
|
||||
to_chat(usr, "You somehow have a suit with no defined allowed items for suit storage, stop that.")
|
||||
return 0
|
||||
if(src.w_class > 4)
|
||||
if(src.w_class > WEIGHT_CLASS_BULKY)
|
||||
if(!disable_warning)
|
||||
to_chat(usr, "The [name] is too big to attach.")
|
||||
return 0
|
||||
|
||||
Reference in New Issue
Block a user