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
@@ -8832,7 +8832,7 @@ STR16 szPrisonerTextStr[]=
L"敌人不肯拿你当囚犯 - 他们宁愿你死!", //L"The enemy refuses to take you as prisoners - they prefer you dead!",
L"这些可以在 INI 设置关闭。", // L"This behaviour is set OFF in your ini settings.",
L"%s释放了%s", //L"%s has freed %s!",
L"囚犯会暴露高级军官的位置 %s", //L"A prisoner revealed the location of a high-ranking army officer in %s!",
L"A high-ranking army officer in %s has been revealed!", // TODO.Translate
L"敌方首领会拒绝即使被认为投降!", //L"The enemy leader refuses to even consider surrender!",
L"%d 囚犯自愿加入我军。", //L"%d prisoners volunteered to join our forces.",
};
@@ -8842,6 +8842,7 @@ STR16 szMTATextStr[]=
L"空无一物",
L"建造掩体", //L"building a fortification",
L"拆除掩体", //L"removing a fortification",
L"hacking", // TODO.Translate
L"%s必须停止%s", //L"%s had to stop %s.",
L"所选的路障无法再该分区建造",
};
@@ -8953,6 +8954,7 @@ STR16 szBackgroundText_Value[]=
L"非吸烟者", //L"Nonsmoker",
L" %s%d%% 如果敌人 CTH 蹲在厚覆盖他们的方向\n", //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,6 +11162,21 @@ 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",
};
// WANNE: Some Chinese specific strings that needs to be in unicode!
STR16 ChineseSpecString1 = L"%"; //defined in _ChineseText.cpp as this file is already unicode
STR16 ChineseSpecString2 = L"*%3d%%%"; //defined in _ChineseText.cpp as this file is already unicode