- Exhumed: exported a handful of missed messages to the string table

This commit is contained in:
Christoph Oelckers 2022-08-15 16:07:45 +02:00
parent 4aee3bef47
commit 97b7f4b46a
3 changed files with 9 additions and 7 deletions

View file

@ -1689,11 +1689,13 @@ void ExplodeEnergyBlock(DExhumedActor* pActor)
if (nEnergyTowers == 1)
{
runlist_ChangeChannel(nEnergyChan, nEnergyTowers);
StatusMessage(1000, "TAKE OUT THE CONTROL CENTER!");
StatusMessage(1000, GStrings("TXT_EX_TAKEOUT"));
}
else if (nEnergyTowers != 0)
{
StatusMessage(500, "%d TOWERS REMAINING", nEnergyTowers);
FString msg = GStrings("TXT_EX_TOWERSREMAIN");
msg.Substitute("%d", std::to_string(nEnergyTowers).c_str());
StatusMessage(500, msg.GetChars());
}
else
{

View file

@ -794,7 +794,7 @@ void AIPlayer::Tick(RunListEvent* ev)
{
PlayerList[nPlayer].nDouble--;
if (PlayerList[nPlayer].nDouble == 150 && nPlayer == nLocalPlayer) {
PlayAlert("WEAPON POWER IS ABOUT TO EXPIRE");
PlayAlert(GStrings("TXT_EX_WEAPONEX"));
}
}
@ -812,7 +812,7 @@ void AIPlayer::Tick(RunListEvent* ev)
}
else if (PlayerList[nPlayer].nInvisible == 150 && nPlayer == nLocalPlayer)
{
PlayAlert("INVISIBILITY IS ABOUT TO EXPIRE");
PlayAlert(GStrings("TXT_EX_INVISEX"));
}
}
@ -820,7 +820,7 @@ void AIPlayer::Tick(RunListEvent* ev)
{
PlayerList[nPlayer].invincibility--;
if (PlayerList[nPlayer].invincibility == 150 && nPlayer == nLocalPlayer) {
PlayAlert("INVINCIBILITY IS ABOUT TO EXPIRE");
PlayAlert(GStrings("TXT_EX_INVINCEX"));
}
}
@ -1174,7 +1174,7 @@ sectdone:
{
PlayerList[nPlayer].nMaskAmount--;
if (PlayerList[nPlayer].nMaskAmount == 150 && nPlayer == nLocalPlayer) {
PlayAlert("MASK IS ABOUT TO EXPIRE");
PlayAlert(GStrings("TXT_EX_MASKEX"));
}
}

View file

@ -445,7 +445,7 @@ void AISWPressSector::Use(RunListEvent* ev)
auto& pos = PlayerList[nPlayer].pActor->spr.pos;
PlayFXAtXYZ(StaticSound[nSwitchSound], pos.X, pos.Y, 0, CHANF_LISTENERZ);
StatusMessage(300, "YOU NEED THE KEY FOR THIS DOOR");
StatusMessage(300, GStrings("TXT_EX_NEEDKEY"));
}
}