public bool Carve(Mobile from, Item item) { if (Parent is ShippingCrate && !((ShippingCrate)Parent).CheckCarve(this)) { return(false); } Item newItem = GetCarved; if (newItem == null) { newItem = new RawFishSteak(); } if (newItem != null && HasSocket <Caddellite>()) { newItem.AttachSocket(new Caddellite()); } if (newItem != null) { base.ScissorHelper(from, newItem, GetCarvedAmount); } return(true); }
public bool Carve(Mobile from, Item item) { var fish = new RawFishSteak(); if (HasSocket <Caddellite>()) { fish.AttachSocket(new Caddellite()); } base.ScissorHelper(from, fish, 4); return(true); }