8 override bool CanDetachAttachment(
EntityAI parent )
13 if ( fireplace.GetCookingEquipment() != null )
21 override bool CanSwapEntities(
EntityAI otherItem, InventoryLocation otherDestination, InventoryLocation destination)
23 if (GetHierarchyParent() && GetHierarchyParent().
IsFireplace() && otherItem)
25 if (otherItem.IsInherited(Pot) || otherItem.IsInherited(Cauldron))
37 ShowSelection(
"Deployed" );
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" );
AttachActionData ActionData ActionAttach()
void AddAction(typename actionName)
override bool HasProxyParts()
override void SetActions()
override void OnDebugSpawn()
override bool IsFireplace()