- new feature: items can be applied to other persons

- reduced cyanide drug effect to more reasonable values

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5962 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Flugente
2013-03-27 22:06:26 +00:00
parent a0486b6b3f
commit 49932ef904
29 changed files with 387 additions and 19 deletions
+24
View File
@@ -14955,3 +14955,27 @@ BOOL RandomItemIsTaboo( UINT16 usRandomItem )
return FALSE;
}
// Flugente: can item be applied to other people?
BOOLEAN ItemCanBeAppliedToOthers( UINT16 usItem )
{
if ( Item[ usItem ].drugtype )
return TRUE;
if ( Item[ usItem ].gasmask )
return TRUE;
if ( Item[ usItem ].canteen )
return TRUE;
if ( Item[ usItem ].camouflagekit )
return TRUE;
if ( Item[ usItem ].clothestype )
return TRUE;
if ( Item[ usItem ].usItemClass == IC_BOMB )
return TRUE;
return FALSE;
}