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!

Two in One: Vulnerable vendors and Unicorn/Kirin sexism issues

Two in One: Vulnerable vendors and Unicorn/Kirin sexism issues

Since these two topics are very small, I've decided to put them into one post:

How to make vendors vulnerable:
Locate the file BaseVendor.cs in scripts/mobiles/vendors.

Locate the following line:
Code:
public virtual bool IsInvulnerable{ get{ return [COLOR="Red"]true[/COLOR]; } }
and set it to "false"

Sexism issues of Unicorns and Kirins:

By default, Unicorns will only allow female characters to tame and ride them. Kirins, on the other hand will only allow male characters to tame and ride. Here's a way to change it:

Open the Unicorn script in Scripts\Mobiles\Animals\Mounts and locate the following lines:
Code:
public override bool AllowMaleRider{ get{ return [COLOR="Red"]false[/COLOR]; } }
public override bool AllowMaleTamer{ get{ return [COLOR="Red"]false[/COLOR]; } }

and change here false to true.

As for Kirins. Same story:
Code:
public override bool AllowFemaleRider{ get{ return [COLOR="Red"]false[/COLOR]; } }
public override bool AllowFemaleTamer{ get{ return [COLOR="Red"]false[/COLOR]; } }

Enjoy.
 
Top