13 if ( fireplace.GetCookingEquipment() != null )
23 if (GetHierarchyParent() && GetHierarchyParent().
IsFireplace() && otherItem)
25 if (otherItem.IsInherited(
Pot) || otherItem.IsInherited(
Cauldron))
37 ShowSelection(
"Deployed" );
50 super.OnWasAttached(parent, slot_id);
51 if (parent.IsFireplace())
54 ShowSelection(
"Deployed" );
60 super.OnWasDetached(parent, slot_id);
61 if (parent.IsFireplace())
64 ShowSelection(
"Collapsed" );
AttachActionData ActionData ActionAttach()
void AddAction(typename actionName)
override bool IsFireplace()
override bool CanDetachAttachment(EntityAI parent)
override bool HasProxyParts()
override void OnWasDetached(EntityAI parent, int slot_id)
override bool CanSwapEntities(EntityAI otherItem, InventoryLocation otherDestination, InventoryLocation destination)
override void OnDebugSpawn()
override void OnWasAttached(EntityAI parent, int slot_id)
override void SetActions()