Beispiel #1
0
        public override void FishingFinalResult(Mobile from)
        {
            if (Utility.RandomDouble() < .33)
            {
                AquariumItem item = AquariumItem.GetRandomFish(m_Rarity);

                if (item == null)
                {
                    return;
                }

                from.PlaySound(0x026);

                if (from.AddToBackpack(item))
                {
                    from.SendMessage("You reel in a creature place it in your backpack.");
                }

                else
                {
                    from.SendMessage("You reel in a creature place and place it at your feet.");
                    item.MoveToWorld(from.Location, from.Map);
                }
            }

            base.FishingFinalResult(from);
        }
Beispiel #2
0
        public override void FishingFinalResult(Mobile from)
        {
            if (Utility.RandomDouble() < .33)
            {
                AquariumItem item = AquariumItem.GetRandomDecoration(m_Rarity);

                if (item == null)
                {
                    return;
                }

                from.PlaySound(0x026);

                if (from.AddToBackpack(item))
                {
                    from.SendMessage("You retrieve some sunken cargo from the shipwreck and place it in your backpack.");
                }

                else
                {
                    from.SendMessage("You retrieve some sunken cargo from the shipwreck, and place it at your feet.");
                    item.MoveToWorld(from.Location, from.Map);
                }
            }

            else
            {
                from.SendMessage("Alas, you find the shipwreck to be devoid of any further items of value.");
            }

            base.FishingFinalResult(from);
        }