4 {
5 if(!super.CanPutAsAttachment(parent)) {return false;}
6 bool headgear_present = false;
7
8 if ( parent.FindAttachmentBySlotName( "Headgear" ) )
9 {
10 headgear_present = parent.FindAttachmentBySlotName( "Headgear" ).ConfigGetBool( "noMask" );
11 }
12
14 {
15 return true;
16 }
17 return false;
18 }
int GetNumberOfItems()
Returns the number of items in cargo, otherwise returns 0(non-cargo objects). Recursive.