Darklady73
Member
- ServUO Version
- Publish 57
- Ultima Expansion
- Endless Journey
Does anyone know where or what script(s) I need to look in for finding control slots for pets?
Indeed because of you want to change the number of control slots a pet takes up that is edited in each individual pets script separately.What are you wanting to do?
Add more control slots to player?
Remove control slots from pets?
Indeed it is on line 6105 - 6109 of Server/Mobile.cs for me:The followersMax is set in Mobile.cs in the Server, you can edit directly, or you'll need to make a script to update the followersmax after the init of a playermobile!
if (version < 15)
{
m_Followers = 0;
m_FollowersMax = 5;
}
private void ValidateEquipment_Sandbox()
{
try
{
if (Map == null || Map == Map.Internal)
{
return;
}
var items = Items;
if (items == null)
{
return;
}
bool moved = false;
int str = Str;
int dex = Dex;
int intel = Int;
#region Factions
int factionItemCount = 0;
#endregion
Mobile from = this;
Felladrin.Automations.MaxFollowersBasedOnIntelligence.Evaluate(from); //This Line is your addition needed for this script
#region Ethics
Ethic ethic = Ethic.Find(from);
#endregion
We use essential cookies to make this site work, and optional cookies to enhance your experience.