The function " RandSwear() " puts random, more or less funny swearing into a dialog. That is.. it DID once, before I installed the latest modpack.
Once the function looked like this:
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->string RandSwear()
{
int RandS = Rand(7);
switch (RandS)
{
case 0:
return "Anchor in my stern! ";
break;
case 1:
return "Damn! ";
break;<!--c2--></div><!--ec2-->That yielded plain English phrases. The lates version of that function looks like this:
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->string RandSwear()
{
int RandS = Rand(7);
switch (RandS)
{
case 0:
return XI_ConvertString("Anchor in my stern"+"!");
break;<!--c2--></div><!--ec2-->
and yields NOTHING. At least not for me. Unfortunately I can find no comment explaining this. My questions:
Who changed this?
Is this an attempt to use this function for other languages? An abandoned attempt?
Can it be made to work?
Is there anybody still around who knows something about this? If not I'll (carefully) restore the function.
Speaking of other languages, there are some "Russian" subfolders in the modpack with e.g. translated moddialogs. Is there some translation project going on?
Once the function looked like this:
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->string RandSwear()
{
int RandS = Rand(7);
switch (RandS)
{
case 0:
return "Anchor in my stern! ";
break;
case 1:
return "Damn! ";
break;<!--c2--></div><!--ec2-->That yielded plain English phrases. The lates version of that function looks like this:
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->string RandSwear()
{
int RandS = Rand(7);
switch (RandS)
{
case 0:
return XI_ConvertString("Anchor in my stern"+"!");
break;<!--c2--></div><!--ec2-->
and yields NOTHING. At least not for me. Unfortunately I can find no comment explaining this. My questions:
Who changed this?
Is this an attempt to use this function for other languages? An abandoned attempt?
Can it be made to work?
Is there anybody still around who knows something about this? If not I'll (carefully) restore the function.
Speaking of other languages, there are some "Russian" subfolders in the modpack with e.g. translated moddialogs. Is there some translation project going on?