Esempio n. 1
0
//----- Begin of function TalkMsg::request_surrender ------//
//
void TalkMsg::request_surrender()
{
	//---------------------------------------------//
	//
	// Send:
	//
	// To unite our two Kingdoms under his rule, King
	// <King name> offers <amount> for your throne.
	//
	// You offer <amount> for the throne of <King>'s
	// Kingdom.
	//
	// Reply:
	//
	// King <king name> refuses to dishonor himself by
	// selling his throne!
	//
	// King <king name> agrees to take your money in
	// exchange for his throne.
	//
	// You refuse to dishonor yourself by selling your
	// throne to <King>'s kingdom.
	//
	//---------------------------------------------//
/*
	if( reply_type == REPLY_WAITING || !should_disp_reply )
	{
		if( viewing_nation_recno == from_nation_recno )
		{
			str  = "You offer ";
			str += talk_para1*10;	// *10 to restore its original value.
			str += " for the throne of ";
			str += to_nation_name();
			str += ".";
		}
		else
		{
			str  = "To unite our two Kingdoms under his rule, ";
			str += from_king_name();
			str += " offers ";
			str += talk_para1*10;	// *10 to restore its original value.
			str += " for your throne.";
		}
	}
	else
	{
		if( viewing_nation_recno == from_nation_recno )
		{
			str = to_king_name();

			if( reply_type == REPLY_ACCEPT )
				str += " agrees to take your money in exchange for his throne.";
			else
				str += " refuses to dishonor himself by selling his throne!";
		}
		else
		{
			if( reply_type == REPLY_ACCEPT )
			{
				str = "You agree to take the money in exchange for your throne.";
			}
			else
			{
				str  = "You refuse to dishonor yourself by selling your throne to ";
				str += from_nation_name();
				str += ".";
			}
		}
	}
*/

	if( reply_type == REPLY_WAITING || !should_disp_reply )
	{
		if( viewing_nation_recno == from_nation_recno )
			str = text_talk.process( text_talk.get_format_str( 99, "YPRS" ),
				to_nation_name(), talk_para1*10 );	// talk_para1*10 to restore its original value.
		else
			str = text_talk.process( text_talk.get_format_str( 100, "NPRS" ),
				from_king_name(), talk_para1*10 ); // talk_para1*10 to restore its original value.
	}
	else
	{
		if( viewing_nation_recno == from_nation_recno )
			if( reply_type == REPLY_ACCEPT )
				str = text_talk.process( text_talk.get_format_str( 101, "NARS" ),
					to_king_name() );
			else
				str = text_talk.process( text_talk.get_format_str( 102, "NRRS" ),
					to_king_name() );
		else
			if( reply_type == REPLY_ACCEPT )
				str = text_talk.process( text_talk.get_format_str( 103, "YARS" ),
					from_nation_name() );
			else
				str = text_talk.process( text_talk.get_format_str( 104, "YRRS" ),
					from_nation_name() );
	}
}
Esempio n. 2
0
//----- Begin of function TalkMsg::request_surrender ------//
//
void TalkMsg::request_surrender()
{
	//---------------------------------------------//
	//
	// Send:
	//
	// To unite our two Kingdoms under his rule, King
	// <King name> offers <amount> for your throne.
	//
	// You offer <amount> for the throne of <King>'s
	// Kingdom.
	//
	// Reply:
	//
	// King <king name> refuses to dishonor himself by
	// selling his throne!
	//
	// King <king name> agrees to take your money in
	// exchange for his throne.
	//
	// You refuse to dishonor yourself by selling your
	// throne to <King>'s kingdom.
	//
	//---------------------------------------------//
	//
	// Envoyer:
	//
	// Afin d'unifier vos deux Royaumes sous son règne, le Roi <King name> 
	// vous offre <amount> pour votre trône.
	//
	// Vous offrez <amount> pour régner sur le Royaume de <King>.
	//
	// Répondre:
	//
	// Le Roi <king name> refuse de se déshonorer en bradant son trône !
	//
	// Le Roi <king name> accepte votre or en échange de son trône.
	//
	// Vous refusez de vous déshonorer en bradant votre trône au Royaume de
	// <King>.
	//
	//---------------------------------------------//

	if( reply_type == REPLY_WAITING || !should_disp_reply )
	{
		if( viewing_nation_recno == from_nation_recno )
		{
			str  = "Vous offrez ";
			str += talk_para1*10;	// *10 to restore its original value.
			str += " pour régner sur le ";
			str += to_nation_name();
			str += ".";
		}
		else
		{
			str  = "Afin d'unifier vos deux Royaumes sous son règne, le Roi ";
			str += from_king_name();
			str += " vous offre ";
			str += talk_para1*10;	// *10 to restore its original value.
			str += " pour votre trône.";
		}
	}
	else
	{
		if( viewing_nation_recno == from_nation_recno )
		{
			str  = "Le Roi ";
			str += to_king_name();

			if( reply_type == REPLY_ACCEPT )
				str += " accepte votre or en échange de son trône.";
			else
				str += " refuse de se déshonorer en bradant son trône !";
		}
		else
		{
			if( reply_type == REPLY_ACCEPT )
			{
				str = "You agree to take the money in exchange for your throne.";
			}
			else
			{
				str  = "Vous refusez de vous déshonorer en bradant votre trône au ";
				str += from_nation_name();
				str += ".";
			}
		}
	}
}
Esempio n. 3
0
//----- Begin of function TalkMsg::request_surrender ------//
//
void TalkMsg::request_surrender()
{
	//---------------------------------------------//
	//
	// Send:
	//
	// To unite our two Kingdoms under his rule, King
	// <King name> offers <amount> for your throne.
	//
	// You offer <amount> for the throne of <King>'s
	// Kingdom.
	//
	// Reply:
	//
	// King <king name> refuses to dishonor himself by
	// selling his throne!
	//
	// King <king name> agrees to take your money in
	// exchange for his throne.
	//
	// You refuse to dishonor yourself by selling your
	// throne to <King>'s kingdom.
	//
	//---------------------------------------------//
	//
	// Senden:
	//
	// Um beide Königreiche zu vereinen, bietet Ihnen 
	// <King name> den Betrag von <amount> für Ihren Thron an.
	//
	// Sie bieten <amount> für den Thron von <King>'s
	// Königreich.
	//
	// Antwort:
	//
	// <king name> verweigert, sich selbst zu entehren, 
	// indem er seinen Thron verkauft!
	//
	// <king name> akzeptiert Ihre Zahlung im Tausch
	// für seinen Thron.
	//
	// Sie verweigen es, sich selbst zu entehren, indem Sie Ihren
	// Thron an <King>'s Königreich verkaufen.
	//
	//---------------------------------------------//


	if( reply_type == REPLY_WAITING || !should_disp_reply )
	{
		if( viewing_nation_recno == from_nation_recno )
		{
			str  = "Sie bieten ";
			str += talk_para1*10;	// *10 to restore its original value.
			str += " für den Thron von ";
			str += to_nation_name();
			str += ".";
		}
		else
		{
			str  = "Um beide Königreiche zu vereinen, bietet Ihnen ";
			str += from_king_name();
			str += " den Betrag von ";
			str += talk_para1*10;	// *10 to restore its original value.
			str += " für Ihren Thron an.";
		}
	}
	else
	{
		if( viewing_nation_recno == from_nation_recno )
		{
			str = to_king_name();

			if( reply_type == REPLY_ACCEPT )
				str += " akzeptiert Ihre Zahlung im Tausch für seinen Thron.";
			else
				str += " verweigert, sich selbst zu entehren, indem er seinen Thron verkauft!";
		}
		else
		{
			if( reply_type == REPLY_ACCEPT )
			{
				// BUGHERE : not translated, but this message never appears
				str = "You agree to take the money in exchange for your throne.";
			}
			else
			{
				str  = "Sie verweigen es, sich selbst zu entehren, indem Sie Ihren Thron an ";
				str += from_nation_name();
				str += " verkaufen.";
			}
		}
	}
}