Lord Northern
Sorceror
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:
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:
and change here false to true.
As for Kirins. Same story:
Enjoy.
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]; } }
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.