3 override bool HasProxyParts()
8 override bool CanDetachAttachment(
EntityAI parent )
13 if ( fireplace.GetCookingEquipment() !=
null )
23 if (GetHierarchyParent() && GetHierarchyParent().
IsFireplace() && otherItem)
25 if (otherItem.IsInherited(Pot) || otherItem.IsInherited(Cauldron))
34 override void OnDebugSpawn()
37 ShowSelection(
"Deployed" );
40 override void SetActions()
48 override void OnWasAttached(
EntityAI parent,
int slot_id )
50 super.OnWasAttached(parent, slot_id);
51 if (parent.IsFireplace())
54 ShowSelection(
"Deployed" );
58 override void OnWasDetached(
EntityAI parent,
int slot_id )
60 super.OnWasDetached(parent, slot_id);
61 if (parent.IsFireplace())
64 ShowSelection(
"Collapsed" );