Example #1
0
 private void OnComponentRemove(EntityUid uid, ItemCabinetComponent cabinet, ComponentRemove args)
 {
     _itemSlotsSystem.RemoveItemSlot(uid, cabinet.CabinetSlot);
 }
Example #2
0
 private void OnComponentRemove(EntityUid uid, SharedIdCardConsoleComponent component, ComponentRemove args)
 {
     _itemSlotsSystem.RemoveItemSlot(uid, component.PrivilegedIdSlot);
     _itemSlotsSystem.RemoveItemSlot(uid, component.TargetIdSlot);
 }
 private void OnRemove(EntityUid uid, NukeComponent component, ComponentRemove args)
 {
     _itemSlots.RemoveItemSlot(uid, component.DiskSlot);
 }
 private void OnComponentRemove(EntityUid uid, SharedChemMasterComponent component, ComponentRemove args)
 {
     _itemSlotsSystem.RemoveItemSlot(uid, component.BeakerSlot);
 }
Example #5
0
 private void OnComponentRemove(EntityUid uid, PDAComponent pda, ComponentRemove args)
 {
     ItemSlotsSystem.RemoveItemSlot(uid, pda.IdSlot);
     ItemSlotsSystem.RemoveItemSlot(uid, pda.PenSlot);
 }
 private void OnComponentRemove(EntityUid uid, PaperLabelComponent component, ComponentRemove args)
 {
     _itemSlotsSystem.RemoveItemSlot(uid, component.LabelSlot);
 }
Example #7
0
 private void OnComponentRemove(EntityUid uid, ChemicalPayloadComponent payload, ComponentRemove args)
 {
     _itemSlotsSystem.RemoveItemSlot(uid, payload.BeakerSlotA);
     _itemSlotsSystem.RemoveItemSlot(uid, payload.BeakerSlotB);
 }
Example #8
0
 private void OnChargerRemove(EntityUid uid, ChargerComponent component, ComponentRemove args)
 {
     _itemSlotsSystem.RemoveItemSlot(uid, component.ChargerSlot);
 }
Example #9
0
 private void OnCellSlotRemove(EntityUid uid, PowerCellSlotComponent component, ComponentRemove args)
 {
     _itemSlotsSystem.RemoveItemSlot(uid, component.CellSlot);
 }