mirror of
https://github.com/1dot13/source.git
synced 2026-08-26 14:30:26 +02:00
- new item: when planting tripwire roll (Item# 1640), a tripwire item is created, thereby making planting multiple wires much easier. Teipwires can be merged to create a roll
- new item tag: <buddyitem> connects items to other items. Connection specifics depend on items involved git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6455 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -758,8 +758,8 @@ extern OBJECTTYPE gTempObject;
|
||||
#define SCUBA_MASK 0x00400000 //4194304 // item is a scuba gear breathing mask
|
||||
#define SCUBA_FINS 0x00800000 //8388608 // this item speed up swimming, but slows walking and running
|
||||
|
||||
/*#define PLAYER_NET_1_LVL_3 0x01000000 //16777216
|
||||
#define PLAYER_NET_2_LVL_3 0x02000000 //33554432
|
||||
#define TRIPWIREROLL 0x01000000 //16777216 // this item is a tripwire roll
|
||||
/*#define PLAYER_NET_2_LVL_3 0x02000000 //33554432
|
||||
#define PLAYER_NET_3_LVL_3 0x04000000 //67108864
|
||||
#define PLAYER_NET_4_LVL_3 0x08000000 //134217728
|
||||
|
||||
@@ -1157,6 +1157,9 @@ typedef struct
|
||||
// Flugente: determine wether the AI should pick this item for its choices only at certain times
|
||||
UINT8 usItemChoiceTimeSetting;
|
||||
|
||||
// Flugente: item is connected to another item. Type of connection depends on item specifics
|
||||
UINT16 usBuddyItem;
|
||||
|
||||
} INVTYPE;
|
||||
|
||||
|
||||
@@ -1762,7 +1765,8 @@ typedef enum
|
||||
TEMPERATURE,
|
||||
EXPLOSIVE_MERGE_EASY, //Madd: new merge types
|
||||
MECHANICAL_MERGE_EASY,
|
||||
MECHANICAL_MERGE_HARD
|
||||
MECHANICAL_MERGE_HARD,
|
||||
TRIPWIRE_ROLL,
|
||||
} MergeType;
|
||||
|
||||
extern UINT16 Merge[MAXITEMS+1][6];
|
||||
|
||||
Reference in New Issue
Block a user