From 2ca650e0e4705eeca78036e8cb0ff710f250c730 Mon Sep 17 00:00:00 2001 From: Wanne Date: Mon, 23 Jul 2012 13:14:04 +0000 Subject: [PATCH] - Added a minimal version of "Food.xml" for the "Data" folder, so the game can start o Later, we should disable the food system in the start new game screen for the "Data" folder, like it was done for New Inventory. Then we can delete this minimal Food.xml file - Added missing INI food properties for the "Data\Ja2_Options.INI" file git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1472 4f8fa57e-7814-0410-bad4-adc449f26b7c --- gamedir/Data/Ja2_Options.INI | 37 +++++++++++++++++++++++++++++++++ gamedir/Data/TableData/Food.xml | 11 ++++++++++ 2 files changed, 48 insertions(+) create mode 100644 gamedir/Data/TableData/Food.xml diff --git a/gamedir/Data/Ja2_Options.INI b/gamedir/Data/Ja2_Options.INI index 7811f80fe..1711ad52b 100644 --- a/gamedir/Data/Ja2_Options.INI +++ b/gamedir/Data/Ja2_Options.INI @@ -1902,6 +1902,43 @@ POISON_INFECTION_DAMAGE_MULTIPLIER = 4.0 ;****************************************************************************************************************************** ;****************************************************************************************************************************** +[Tactical Food Settings] + +;****************************************************************************************************************************** +; In this section you can specify the food system +;****************************************************************************************************************************** + +; Your team needs water food, otherwise they'll starve... +; If you mouse-over a merc's health bar, you will see two new values: Drink and Food. These represent the amount of drink and food +; your merc currently has. Note that 0 is the standard value (it represents the optimal value of sorts) +; Every hour, your merc digests food, lowering his food and drink values. If these are too low, there are serious drawbacks: +; - his max morale will get lowered (when your starving, you wont get happy because you jsut found a good gun...) +; - his energy regeneration due to sleeping is lowered, meaning he needs more sleep +; - breath regenerates slower +; - his performance on assignments (training milita, doctoring, repairing...) is worse +; - if seriously out of water or food, there is a chance that he'll lose strength an health points. You can die from this! +; You can regain lost stat points via surgery with the new trait system. However, this requires the pateient to be well-fed again (both values above 0) + +; how much food and water is digested every hour? This is the base value, that later gets modified. Range: 0-250 +FOOD_DIGESTION_HOURLY_BASE_FOOD = 20 +FOOD_DIGESTION_HOURLY_BASE_DRINK = 130 + +; The digestion value is modfied with the number corresponding to your current activity +FOOD_DIGESTION_SLEEP = 0.6 +FOOD_DIGESTION_TRAVEL_VEHICLE = 0.8 +FOOD_DIGESTION_TRAVEL = 1.5 +FOOD_DIGESTION_ASSIGNMENT = 0.9 +FOOD_DIGESTION_ONDUTY = 1.0 +FOOD_DIGESTION_COMBAT = 2.0 + +; allow decay of food in every sector? +FOOD_DECAY_IN_SECTORS = TRUE +; a global modificator to the speed at which food decays. 1.0 is normal, values between 0.1 and 10.0 +FOOD_DECAY_MODIFICATOR = 1.0 + +;****************************************************************************************************************************** +;****************************************************************************************************************************** + [Tactical Fortification Settings] ;****************************************************************************************************************************** diff --git a/gamedir/Data/TableData/Food.xml b/gamedir/Data/TableData/Food.xml new file mode 100644 index 000000000..545312a3b --- /dev/null +++ b/gamedir/Data/TableData/Food.xml @@ -0,0 +1,11 @@ + + + 0 + None + 0 + 0 + 0 + 0 + 0 + +