mirror of
https://github.com/1dot13/source.git
synced 2026-09-02 14:36:06 +02:00
- New xml: FoodOpinion.xml allows individual opinions on individual food items for each merc, the <bMoraleMod>-tag in Food.xml was removed.
- Maximum number of food items was increased to 500 (was 128). git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@7454 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -65,6 +65,7 @@ typedef PARSE_STAGE;
|
||||
#define EXPLOSIVESFILENAME "Items\\Explosives.xml"
|
||||
#define DRUGSFILENAME "Items\\Drugs.xml"
|
||||
#define FOODFILENAME "Items\\Food.xml"
|
||||
#define FOODOPINIONFILENAME "Items\\FoodOpinion.xml"
|
||||
#define CLOTHESFILENAME "Items\\Clothes.xml"
|
||||
#define RANDOMITEMFILENAME "Items\\RandomItem.xml"
|
||||
#define AMMOFILENAME "Items\\AmmoStrings.xml"
|
||||
@@ -315,6 +316,10 @@ extern BOOLEAN WriteDrugsStats();
|
||||
extern BOOLEAN ReadInFoodStats(STR fileName);
|
||||
extern BOOLEAN WriteFoodStats();
|
||||
|
||||
// Flugente: merc opinions on food
|
||||
extern BOOLEAN ReadInFoodOpinionStats(STR fileName);
|
||||
extern BOOLEAN WriteFoodOpinionStats();
|
||||
|
||||
// Flugente: disease
|
||||
extern BOOLEAN ReadInDiseaseStats( STR fileName );
|
||||
extern BOOLEAN WriteDiseaseStats( );
|
||||
|
||||
Reference in New Issue
Block a user