Raised to 3 messages (each) most weapons.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5436 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
|
||||
const wchar_t* getCakeString()
|
||||
{
|
||||
const int CAKE_STRINGS_AMOUNT = 2;
|
||||
const int CAKE_STRINGS_AMOUNT = 3;
|
||||
|
||||
RandomGenerator r;
|
||||
const int id = r.get(CAKE_STRINGS_AMOUNT);
|
||||
@@ -49,6 +49,8 @@ const wchar_t* getCakeString()
|
||||
case 0: return _("%0 eats too much of %1's cake");
|
||||
//I18N: shown when hit by cake. %1 is the attacker, %0 is the victim.
|
||||
case 1: return _("%0 is dubious of %1's cooking skills");
|
||||
//I18N: shown when hit by cake. %1 is the attacker, %0 is the victim.
|
||||
case 2: return _("%0 should not play with %1's lunch");
|
||||
default: assert(false);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
|
||||
const wchar_t* getAnchorString()
|
||||
{
|
||||
const int ANCHOR_STRINGS_COUNT = 2;
|
||||
const int ANCHOR_STRINGS_COUNT = 3;
|
||||
|
||||
RandomGenerator r;
|
||||
const int id = r.get(ANCHOR_STRINGS_COUNT);
|
||||
@@ -44,7 +44,8 @@ const wchar_t* getAnchorString()
|
||||
{
|
||||
//I18N: shown when anchor applied. %s is the victim.
|
||||
case 0: return _("Arrr, the %s dropped anchor, Captain!");
|
||||
case 1: return _("Another round of grog, %s arrived in harbour!");
|
||||
case 1: return _("%s pays the next round of grog!");
|
||||
case 2: return _("%s is a mighty pirate!");
|
||||
default: assert(false);
|
||||
}
|
||||
}
|
||||
@@ -52,7 +53,7 @@ const wchar_t* getAnchorString()
|
||||
|
||||
const wchar_t* getParachuteString()
|
||||
{
|
||||
const int PARACHUTE_STRINGS_COUNT = 2;
|
||||
const int PARACHUTE_STRINGS_COUNT = 3;
|
||||
|
||||
RandomGenerator r;
|
||||
const int id = r.get(PARACHUTE_STRINGS_COUNT);
|
||||
@@ -61,6 +62,7 @@ const wchar_t* getParachuteString()
|
||||
{
|
||||
case 0: return _("Geronimo!!!"); // Parachutist shout
|
||||
case 1: return _("The Space Shuttle has landed!");
|
||||
case 2: return _("Do you want to fly kites?");
|
||||
default: assert(false);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
|
||||
const wchar_t* getPlungerString()
|
||||
{
|
||||
const int PLUNGER_STRINGS_AMOUNT = 2;
|
||||
const int PLUNGER_STRINGS_AMOUNT = 3;
|
||||
|
||||
RandomGenerator r;
|
||||
const int id = r.get(PLUNGER_STRINGS_AMOUNT);
|
||||
@@ -40,10 +40,11 @@ const wchar_t* getPlungerString()
|
||||
switch (id)
|
||||
{
|
||||
//I18N: shown when hit by plunger. %0 is the victim, %1 is the attacker
|
||||
case 0 : return _("%0 bites %1's bait");
|
||||
case 0: return _("%0 bites %1's bait");
|
||||
//I18N: shown when hit by plunger. %0 is the victim, %1 is the attacker
|
||||
case 1 : return _("%1 latches onto %0 for a free ride");
|
||||
|
||||
case 1: return _("%1 latches onto %0 for a free ride");
|
||||
//I18N: shown when hit by plunger. %0 is the victim, %1 is the attacker
|
||||
case 2: return _("%1 tests a tractor beam on %0");
|
||||
default: assert(false);
|
||||
}
|
||||
}
|
||||
@@ -58,7 +59,7 @@ const wchar_t* getPlungerString()
|
||||
* \param kart Reference to the kart.
|
||||
*/
|
||||
RubberBand::RubberBand(Plunger *plunger, const Kart &kart) :
|
||||
m_plunger(plunger), m_owner(kart)
|
||||
m_plunger(plunger), m_owner(kart)
|
||||
{
|
||||
video::SColor color(77, 179, 0, 0);
|
||||
video::SMaterial m;
|
||||
|
||||
Reference in New Issue
Block a user