mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-28 14:37:27 +01:00
committed by
VirgoBot
parent
0d338f8c45
commit
8fe2ef9fde
@@ -82,6 +82,8 @@ This saves us from having to call add_fingerprint() any time something is put in
|
||||
if(slot_tie)
|
||||
return 1
|
||||
|
||||
/obj/item/var/suitlink = 1 //makes belt items require a jumpsuit- set individual items to suitlink = 0 to allow wearing on belt slot without suit
|
||||
|
||||
/mob/living/carbon/human/u_equip(obj/W as obj)
|
||||
if(!W) return 0
|
||||
|
||||
@@ -98,7 +100,7 @@ This saves us from having to call add_fingerprint() any time something is put in
|
||||
drop_from_inventory(l_store)
|
||||
if (wear_id)
|
||||
drop_from_inventory(wear_id)
|
||||
if (belt)
|
||||
if (belt && belt.suitlink == 1)
|
||||
worn_clothing -= belt
|
||||
drop_from_inventory(belt)
|
||||
worn_clothing -= w_uniform
|
||||
|
||||
Reference in New Issue
Block a user