- When ordering a merc to interrogate, one can now select what type of prisoners should be interrogated primarily. Thus one no longer has to empty the prison just to get to the one remaining officer.

- Generals are now a separate prisoner type. They cannot join militia, but yield an impressive ransom.
- various prisoner fixes

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@7327 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Flugente
2014-07-10 21:19:26 +00:00
parent 7fb31cc9c8
commit 0efc3b7241
31 changed files with 1000 additions and 310 deletions
+14 -5
View File
@@ -213,6 +213,17 @@ enum
ITEM_PROGRESS_VERY_FAST,
};
// Flugente: prisoner interrogation results
enum
{
PRISONER_INTERROGATION_DEFECT = 0,
PRISONER_INTERROGATION_INFO,
PRISONER_INTERROGATION_RANSOM,
PRISONER_INTERROGATION_NOTHING,
PRISONER_INTERROGATION_MAX
};
typedef struct
{
BOOLEAN fGunNut;
@@ -1372,13 +1383,11 @@ typedef struct
FLOAT fSurrenderMultiplier;
BOOLEAN fPlayerCanAsktoSurrender;
UINT8 ubPrisonerReturntoQueenChance;
UINT8 ubPrisonerProcessDefectChance;
UINT8 ubPrisonerProcessInfoBaseChance;
UINT8 ubPrisonerProcessChance[PRISONER_INTERROGATION_MAX];
UINT8 ubPrisonerProcessInfoNumberChance;
UINT8 ubPrisonerProcessInfoDirectionChance;
UINT8 ubPrisonerProcessRansomBaseChance;
UINT16 ubPrisonerInterrogationPoints[4]; // points needed to interrogate a prisoner of a specific type
UINT8 ubPrisonerInterrogationEnemyGeneralInfoChance[4]; // chance that when getting info from interrogation, this prisoner will tell us about general we do not yet know about
UINT16 ubPrisonerInterrogationPoints[8]; // points needed to interrogate a prisoner of a specific type
UINT8 ubPrisonerInterrogationEnemyGeneralInfoChance[8]; // chance that when getting info from interrogation, this prisoner will tell us about general we do not yet know about
// Flugente: sexism/racism/etc.
INT8 sMoraleModAppearance;