public void Carve(Mobile from, Item item) { Item ribcage = new BaseItem( 6935 ); Item heart = new BaseItem( 7405 ); Item liver = new BaseItem( 7406 ); Item entrails = new BaseItem( 7407 ); if ( m_Owner != null ) { ribcage.Name = "ribcage of " + m_Owner.Name; liver.Name = "liver of " + m_Owner.Name; heart.Name = "heart of " + m_Owner.Name; entrails.Name = "entrails of " + m_Owner.Name; } if ( !(Parent is Container) ) { ribcage.MoveToWorld( GetWorldLocation(), Map ); liver.MoveToWorld( GetWorldLocation(), Map ); heart.MoveToWorld( GetWorldLocation(), Map ); entrails.MoveToWorld( GetWorldLocation(), Map ); } else { Container cont = (Container)Parent; cont.DropItem( ribcage ); cont.DropItem( liver ); cont.DropItem( heart ); cont.DropItem( entrails ); } Delete(); }
public void Carve(Mobile from, Item item) { Item brain = new BaseItem( 7408 ); Item skull = new BaseItem( 6882 ); if ( m_Owner != null ) { brain.Name = "brain of " + m_Owner.Name; skull.Name = "skull of " + m_Owner.Name; } if ( !(Parent is Container) ) { brain.MoveToWorld( GetWorldLocation(), Map ); skull.MoveToWorld( GetWorldLocation(), Map ); } else { Container cont = (Container)Parent; cont.DropItem( brain ); cont.DropItem( skull ); } Delete(); }