RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

BaseAddonContainer correction

Miracle99

Squire
Not sure if anyone ever noticed but in the BaseAddonContainer the AddonContainerComponents do not open the BaseContainer but they do give you the Security Context Menu.

All that needs to be adjusted to get the base container to open on any of the components is change line 605(approx) in BaseAddon.cs from

You want to be in the BaseAddonContainer method

Code:
public virtual void OnComponentUsed( AddonContainerComponent c, Mobile from )
  {
    
  }

to

Code:
public virtual void OnComponentUsed( AddonContainerComponent c, Mobile from )
  {
   this.Open(from); 
  }
 
Top