public override void OnDoubleClick(Mobile from) { if (!Movable) { return; } var flour = new SackFlourOpen(); flour.Location = Location; if (Parent is Container) { ((Container)Parent).DropItem(flour); } else { flour.MoveToWorld(GetWorldLocation(), Map); } if (Amount > 1) { Amount--; } else { Delete(); } }
public InternalTarget(SackFlourOpen item) : base(1, false, TargetFlags.None) { m_Item = item; }
public InternalTarget( SackFlourOpen item ) : base(1, false, TargetFlags.None) { m_Item = item; }