mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-25 05:51:56 +01:00
Ghost Roles (#6706)
This commit is contained in:
@@ -385,6 +385,14 @@ var/list/global/slot_flags_enumeration = list(
|
||||
allow = 1
|
||||
if(!allow)
|
||||
return 0
|
||||
if(slot_in_belt)
|
||||
var/allow = 0
|
||||
if(istype(H.belt, /obj/item/weapon/storage/belt))
|
||||
var/obj/item/weapon/storage/belt/B = H.belt
|
||||
if(B.can_be_inserted(src,1))
|
||||
allow = 1
|
||||
if(!allow)
|
||||
return 0
|
||||
if(slot_tie)
|
||||
if(!H.w_uniform && (slot_w_uniform in mob_equip))
|
||||
if(!disable_warning)
|
||||
|
||||
Reference in New Issue
Block a user