mirror of
https://github.com/1dot13/source.git
synced 2026-09-02 14:36:06 +02:00
New feature: interactive actions allow various actions (hacking/reading/drinking/...) from user-defined xml acttions. The exact results can be set in a lua function.
For more info, see http://thepit.ja-galaxy-forum.com/index.php?t=msg&th=23144&goto=346447&#msg_346447 This is fully savegame compatible. GameDir >= r2333 is required. git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8278 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -172,6 +172,7 @@ typedef PARSE_STAGE;
|
||||
#define SECTORLEVEL1NAMESFILENAME "Map\\SectorNamesLevel_1.xml"
|
||||
#define SECTORLEVEL2NAMESFILENAME "Map\\SectorNamesLevel_2.xml"
|
||||
#define SECTORLEVEL3NAMESFILENAME "Map\\SectorNamesLevel_3.xml"
|
||||
#define INTERACTIVEACTIONSFILENAME "Map\\InteractiveActions.xml"
|
||||
|
||||
#define GARRISONFILENAME "Army\\GarrisonGroups.xml"
|
||||
#define PATROLFILENAME "Army\\PatrolGroups.xml"
|
||||
@@ -326,6 +327,10 @@ extern BOOLEAN WriteStructureDeconstructStats();
|
||||
extern BOOLEAN ReadInStructureConstructStats(STR fileName);
|
||||
extern BOOLEAN WriteStructureConstructStats();
|
||||
|
||||
// Flugente: interactive actions
|
||||
extern BOOLEAN ReadInInteractiveActionsStats( STR fileName );
|
||||
extern BOOLEAN WriteInteractiveActionsStats( );
|
||||
|
||||
// Flugente: merchants
|
||||
extern BOOLEAN ReadInMerchantStats(STR fileName);
|
||||
extern BOOLEAN WriteMerchantStats();
|
||||
|
||||
Reference in New Issue
Block a user