Kamras

Member
I wish to remove tamed under hirling. It's look weird. I found the toggle I could change in basecreature but that would affect ALL creatures, i only want it to affect the hired help. I checked basehire however I'm at a loss on what I could do to affect only the hirlings. Anyone have any suggestions on this ?
 
In BaseCreature, in the AddNameProperties method, around line 4662, change this:

Code:
                else
                {
                    list.Add(502006); // (tame)
                }

to this:

Code:
                else
                {
                    if (!(this is BaseHire))
                        list.Add(502006); // (tame)
                }
 
On OSI, at least in the old days, hired NPCs actually had a (hired) tag instead of tame. Not sure if this is still the case.
 
Well if that is something you want then you would use this code to add the hired tag if it were basehire.

Code:
else
                {
                    if (this is BaseHire)
                    {
                        list.Add("(Hired)");
                    }
                    else
               
                    list.Add(502006); // (tame)
                }
 
By the way speaking of old OSI, during the early development of RunUO, wasn't there an onclick for hirelings that provided the context menu similar to the one for tamed controlled creatures? Dismiss, Attack, etc? my hirelings do not have such an option.
 
The cliloc for "[hired]" is 1062030

And I had to put it in the follow section "OnSingleClick" for it to work.

Code:
 if ( Summoned )
 	number = 1049646; // (summoned)
 else if ( IsBonded )
 	number = 1049608; // (bonded)
// David: Stop hirelings displaying as "tame". Display as "Hired".
 else if ( this is BaseHire )
 	number = 1062030; // (hired)
 else
 	number = 502006; // (tame)
 

Active Shards

Donations

Total amount
$0.00
Goal
$1,000.00
Back