示例#1
0
 private void OnComponentRemove(EntityUid uid, SharedReagentDispenserComponent component, ComponentRemove args)
 {
     _itemSlotsSystem.RemoveItemSlot(uid, component.BeakerSlot);
 }
示例#2
0
 private void OnComponentInit(EntityUid uid, SharedReagentDispenserComponent component, ComponentInit args)
 {
     _itemSlotsSystem.AddItemSlot(uid, SharedReagentDispenserComponent.BeakerSlotId, component.BeakerSlot);
 }