mirror of
https://github.com/1dot13/source.git
synced 2026-09-02 14:36:06 +02:00
New feature: food system requires mercs to eat and drink in order to survive
- food and water levels are lowered every hour, eat food to survive - not doing so leads to various penalties and ultimately death - added food items for that purpose. Food can degrade over time. Rotten food poisons. - Mercs automatically consume food if hungry/thirsty and food is in their inventories - for more info, see http://www.bears-pit.com/board/ubbthreads.php/topics/307396/Re_Mercs_need_food_and_water_t.html#Post307396 - this feature requires new STI files from the GameDir trunk. - added a bunch of filler variable to the soldier type, so hopefully savegame compatibility can be maintained easier in the future. WARNING: This will break savegame compatibility git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5411 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -148,6 +148,7 @@ enum
|
||||
// Enumerate the different assignments that a facility can emulate.
|
||||
FAC_AMBIENT = 0,
|
||||
FAC_STAFF,
|
||||
FAC_FOOD,
|
||||
FAC_REST,
|
||||
FAC_REPAIR_ITEMS,
|
||||
FAC_REPAIR_VEHICLE,
|
||||
@@ -180,7 +181,7 @@ enum
|
||||
FAC_TRAINER_MEDICAL,
|
||||
FAC_TRAINER_MECHANICAL,
|
||||
FAC_TRAINER_LEADERSHIP,
|
||||
FAC_TRAINER_EXPLOSIVES,
|
||||
FAC_TRAINER_EXPLOSIVES,
|
||||
NUM_FACILITY_ASSIGNMENTS,
|
||||
};
|
||||
|
||||
@@ -247,6 +248,7 @@ typedef struct FACILITYASSIGNMENTTYPE
|
||||
INT16 sSkyriderCostModifier; // Flat modifier for Skyrider's Cost Per Tile
|
||||
UINT16 usMineIncomeModifier; // Percentage income adjustment
|
||||
BOOLEAN fOnlyLocalMineAffected; // Determines whether income modifier applies to local mine only, or all mines.
|
||||
INT16 sCantinaFoodModifier; // how many food points do we get when spending time in a cantina?
|
||||
|
||||
UINT8 ubMinimumStrength; // Minimum STR Requirement to begin this assignment
|
||||
UINT8 ubMinimumHealth; // Minimum HLT Requirement to begin this assignment
|
||||
|
||||
Reference in New Issue
Block a user