mirror of
https://github.com/1dot13/source.git
synced 2026-09-02 14:36:06 +02:00
Merged from revision: 6905
Improved Snitch Trait (by anv) - The snitch actions can be selected in the strategy view "Assignment" menu o Spreading Propaganda: Accessible in town sectors o Gathering Rumours: Accessible in town sectors o Undercover Prison Snitch: Accessible from Facilities menu (Prison) o Preventing Misbehaviour: New Snitch Menu o Passive Reputation Increase see: http://www.bears-pit.com/board/ubbthreads.php/topics/329412/1.html git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6906 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -832,7 +832,27 @@ facilitytypeEndElementHandle(void *userData, const XML_Char *name)
|
||||
{
|
||||
//pData->curAssignmentType = (INT16) atol(pData->szCharData);
|
||||
pData->curAssignmentType = FAC_INTERROGATE_PRISONERS;
|
||||
}
|
||||
}
|
||||
else if (strcmp(pData->szCharData, "PRISON_SNITCH") == 0)
|
||||
{
|
||||
//pData->curAssignmentType = (INT16) atol(pData->szCharData);
|
||||
pData->curAssignmentType = FAC_PRISON_SNITCH;
|
||||
}
|
||||
else if (strcmp(pData->szCharData, "SPREAD_PROPAGANDA") == 0)
|
||||
{
|
||||
//pData->curAssignmentType = (INT16) atol(pData->szCharData);
|
||||
pData->curAssignmentType = FAC_SPREAD_PROPAGANDA;
|
||||
}
|
||||
else if (strcmp(pData->szCharData, "SPREAD_PROPAGANDA_GLOBAL") == 0)
|
||||
{
|
||||
//pData->curAssignmentType = (INT16) atol(pData->szCharData);
|
||||
pData->curAssignmentType = FAC_SPREAD_PROPAGANDA_GLOBAL;
|
||||
}
|
||||
else if (strcmp(pData->szCharData, "GATHER_RUMOURS") == 0)
|
||||
{
|
||||
//pData->curAssignmentType = (INT16) atol(pData->szCharData);
|
||||
pData->curAssignmentType = FAC_GATHER_RUMOURS;
|
||||
}
|
||||
else
|
||||
{
|
||||
CHAR16 sErrorString[256];
|
||||
|
||||
Reference in New Issue
Block a user