Primo
Hey guys, i've run into a trouble.
I'm translating the NPCs titles for my national language (Portuguese Brazilian), and i've run into some gender problem here.
For exemple, the alchemist in english works both for female and male.
In pt-br, the alchemist is "o alquimista" for man and "a alquimista" for woman.
So i've been fussing around, and found on the HireFighter.cs this gender if:
And i tried to do this:
Obviously it doenst work, and i really dont know what to do here. I tried to change the "this.Title =" for the similar that appears on the alchemist ": base(the alchemist)" but it didnt worked too.
One thing that i tried to do was to move around the ": base(the alchemist)", and i tried to create a utility random aswell but it all went crashes on the servuo console.
I'll update this if i get it right, but some enlightment would be nice !
Thanks in advance
I'm translating the NPCs titles for my national language (Portuguese Brazilian), and i've run into some gender problem here.
For exemple, the alchemist in english works both for female and male.
In pt-br, the alchemist is "o alquimista" for man and "a alquimista" for woman.
So i've been fussing around, and found on the HireFighter.cs this gender if:
if (this.Female = Utility.RandomBool())
{
this.Body = 0x191;
this.Name = NameList.RandomName("female");
}
else
{
this.Body = 0x190;
this.Name = NameList.RandomName("male");
this.AddItem(new ShortPants(Utility.RandomNeutralHue()));
}
{
this.Body = 0x191;
this.Name = NameList.RandomName("female");
}
else
{
this.Body = 0x190;
this.Name = NameList.RandomName("male");
this.AddItem(new ShortPants(Utility.RandomNeutralHue()));
}
And i tried to do this:
if (this.Female = Utility.RandomBool())
{
this.Name = NameList.RandomName("female");
this.Title = "a alquimista";
}
else
{
this.Name = NameList.RandomName("male");
this.AddItem(new ShortPants(Utility.RandomNeutralHue()));
this.Title = "o alquimista";
}
{
this.Name = NameList.RandomName("female");
this.Title = "a alquimista";
}
else
{
this.Name = NameList.RandomName("male");
this.AddItem(new ShortPants(Utility.RandomNeutralHue()));
this.Title = "o alquimista";
}
Obviously it doenst work, and i really dont know what to do here. I tried to change the "this.Title =" for the similar that appears on the alchemist ": base(the alchemist)" but it didnt worked too.
One thing that i tried to do was to move around the ": base(the alchemist)", and i tried to create a utility random aswell but it all went crashes on the servuo console.
I'll update this if i get it right, but some enlightment would be nice !
Thanks in advance