mirror of
https://github.com/1dot13/source.git
synced 2026-09-09 14:46:05 +02:00
new item tag <ItemChoiceTimeSetting> forbids AI from picking an item at night if set to 1 and at day if set to 2
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6262 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -1104,7 +1104,7 @@ typedef struct
|
||||
FLOAT projectionfactor;
|
||||
BOOLEAN speeddot;
|
||||
|
||||
// Flugente FTW 1.2
|
||||
// Flugente
|
||||
BOOLEAN barrel; // item can be used on some guns as an exchange barrel
|
||||
FLOAT usOverheatingCooldownFactor; // every turn/5 seconds, a gun's temperature is lowered by this amount
|
||||
FLOAT overheatTemperatureModificator; // percentage modifier of heat a shot generates (read from attachments)
|
||||
@@ -1153,6 +1153,9 @@ typedef struct
|
||||
// Flugente: range of a flashlight (an item with usFlashLightRange > 0 is deemed a flashlight)
|
||||
UINT8 usFlashLightRange;
|
||||
|
||||
// Flugente: determine wether the AI should pick this item for its choices only at certain times
|
||||
UINT8 usItemChoiceTimeSetting;
|
||||
|
||||
} INVTYPE;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user