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
+20 -3
View File
@@ -8830,7 +8830,7 @@ STR16 szPrisonerTextStr[]=
L"The enemy refuses to take you as prisoners - they prefer you dead!",
L"This behaviour is set OFF in your ini settings.",
L"%s has freed %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!",
L"The enemy leader refuses to even consider surrender!",
L"%d prisoners volunteered to join our forces.",
};
@@ -8840,6 +8840,7 @@ STR16 szMTATextStr[]=
L"nothing",
L"building a fortification",
L"removing a fortification",
L"hacking",
L"%s had to stop %s.",
L"The selected barricade cannot be built in this sector",
};
@@ -8947,10 +8948,11 @@ STR16 szBackgroundText_Value[]=
L" %s%d%% chance to evade snake attacks\n",
L" dislikes some other backgrounds\n",
L"Smoker",
L"Nonsmoker",
L" Smoker",
L" Nonsmoker",
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 ",
};
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 //ENGLISH