mirror of
https://github.com/CHOMPstation/CHOMPstation.git
synced 2026-08-23 03:56:27 +01:00
Several hardsuit fixes.
This commit is contained in:
@@ -262,7 +262,8 @@
|
||||
if(H.wear_mask)
|
||||
return 0
|
||||
if(H.head && !(H.head.canremove) && (H.head.flags & HEADCOVERSMOUTH))
|
||||
H << "\red \The [H.head] is in the way."
|
||||
if(!disable_warning)
|
||||
H << "\red \The [H.head] is in the way."
|
||||
return 0
|
||||
if( !(slot_flags & SLOT_MASK) )
|
||||
return 0
|
||||
@@ -305,7 +306,8 @@
|
||||
if(H.glasses)
|
||||
return 0
|
||||
if(H.head && !(H.head.canremove) && (H.head.flags & HEADCOVERSEYES))
|
||||
H << "\red \The [H.head] is in the way."
|
||||
if(!disable_warning)
|
||||
H << "\red \The [H.head] is in the way."
|
||||
return 0
|
||||
if( !(slot_flags & SLOT_EYES) )
|
||||
return 0
|
||||
@@ -339,6 +341,10 @@
|
||||
if(slot_w_uniform)
|
||||
if(H.w_uniform)
|
||||
return 0
|
||||
if(H.wear_suit)
|
||||
if(!disable_warning)
|
||||
H << "\red \The [H.wear_suit] is in the way."
|
||||
return 0
|
||||
if( !(slot_flags & SLOT_ICLOTHING) )
|
||||
return 0
|
||||
return 1
|
||||
|
||||
Reference in New Issue
Block a user