Skip to content

Commit

Permalink
CleanUp (#4889)
Browse files Browse the repository at this point in the history
- Guild clean up and removal of old unused methods.
- Interior Decorator now correctly works on the older style trophies to raise and lower.
  • Loading branch information
TrueUO committed Oct 23, 2020
1 parent 277cee4 commit 469e1d9
Show file tree
Hide file tree
Showing 17 changed files with 426 additions and 652 deletions.
22 changes: 0 additions & 22 deletions Scripts/Items/Consumables/TaxidermyKit.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using Server.Mobiles;
using Server.Multis;
using Server.Network;
using Server.Targeting;
using System;

Expand Down Expand Up @@ -124,7 +123,6 @@ public TrophyInfo(Type type, int id, int deedNum, int addonNum)
public int AddonNumber => m_AddonNumber;
}


private class CorpseTarget : Target
{
private readonly TaxidermyKit m_Kit;
Expand Down Expand Up @@ -364,26 +362,6 @@ public override void GetProperties(ObjectPropertyList list)
}
}

public override void OnAosSingleClick(Mobile from)
{
ObjectPropertyList opl = PropertyList;

if (AddonNumber == 1041110)
{
from.Send(new UnicodeMessage(Serial, ItemID, MessageType.Label, 0x3B2, 3, "ENU", "", "A large fish trophy"));

if (Hunter != null)
from.Send(new UnicodeMessage(Serial, ItemID, MessageType.Label, 0x3B2, 3, "ENU", "", "Caught by " + Hunter.Name));

from.Send(new UnicodeMessage(Serial, ItemID, MessageType.Label, 0x3B2, 3, "ENU", "", AnimalWeight + " stones"));
}
else
{
if (opl.Header > 0)
from.Send(new MessageLocalized(Serial, ItemID, MessageType.Label, 0x3B2, 3, opl.Header, Name, opl.HeaderArgs));
}
}

public TrophyAddon(Serial serial) : base(serial)
{
}
Expand Down
Loading

0 comments on commit 469e1d9

Please sign in to comment.