New feature: interactive actions allow various actions (hacking/reading/drinking/...) from user-defined xml acttions. The exact results can be set in a lua function.

For more info, see http://thepit.ja-galaxy-forum.com/index.php?t=msg&th=23144&goto=346447&#msg_346447

This is fully savegame compatible.

GameDir >= r2333 is required.

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8278 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Flugente
2016-08-02 19:03:28 +00:00
parent 41dcb598dd
commit 99f5be0ed7
48 changed files with 1406 additions and 60 deletions
+18 -1
View File
@@ -8830,7 +8830,7 @@ STR16 szPrisonerTextStr[]=
L"Противник отказывается взять вас в плен - они предпочли бы видеть вас мертвыми!",
L"Этот режим отключен в настройках.",
L"%s освободил %s!",
L"Заключенный указал расположение высокопоставленного офицера в %s!",
L"A high-ranking army officer in %s has been revealed!", // TODO.Translate
L"Вражеский командир отказывается даже подумать о сдаче!",
L"%d заключенных добровольно присоединились к нашим силам.",
};
@@ -8840,6 +8840,7 @@ STR16 szMTATextStr[]=
L"ничего",
L"укрепление строится",
L"укрепление убирается",
L"hacking", // TODO.Translate
L"%s был вынужден прекратить %s.",
L"Выбранное укрепление не может быть построено в этом секторе",
};
@@ -8951,6 +8952,7 @@ STR16 szBackgroundText_Value[]=
L"Не курит",
L" %s%d%% enemy CTH if crouched against thick cover in their direction\n",
L" %s%d%% building speed\n",
L" hacking skill: %s%d ", // TODO.Translate
};
STR16 szBackgroundTitleText[] =
@@ -11160,4 +11162,19 @@ STR16 szSMilitiaResourceText[] =
L"Not enough resources to train militia!",
};
STR16 szInteractiveActionText[] =
{
L"%s starts hacking.",
L"%s accesses the computer, but finds nothing of interest.",
L"%s is not skilled enough to hack the computer.",
L"%s reads the file, but learns nothing new.",
L"%s can't make sense out of this.",
L"%s couldn't use the watertap.",
L"%s has bought a %s.",
L"%s doesn't have enough money. That's just embarassing.",
L"%s drank from water tap",
};
#endif //RUSSIAN