From e386a66f0318107263c90449951b5ca547469174 Mon Sep 17 00:00:00 2001 From: kitty624 <58940527+kitty624@users.noreply.github.com> Date: Mon, 15 Apr 2024 01:22:26 +0200 Subject: [PATCH] Update Item Types.h reworking r9343 - no need for Foodsystem flag, restricting food items to food system was already part of the code prior to r9343 (in IsItemLegal by silversurfer) - for disease system changed flag to boolean --- Tactical/Item Types.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Tactical/Item Types.h b/Tactical/Item Types.h index 4fbfb6504..3d82e35e7 100644 --- a/Tactical/Item Types.h +++ b/Tactical/Item Types.h @@ -947,9 +947,6 @@ extern OBJECTTYPE gTempObject; // autofiretohitbonus, // bursttohitbonus -// bitflags for usLimitedToSystem -#define FOOD_SYSTEM_FLAG 1 -#define DISEASE_SYSTEM_FLAG 2 typedef struct { @@ -1218,8 +1215,9 @@ typedef struct BOOLEAN fProvidesRobotCamo; BOOLEAN fProvidesRobotNightVision; BOOLEAN fProvidesRobotLaserBonus; - //shadooow: bitflag controlling what system needs to be in play for item to appear - UINT8 usLimitedToSystem; + + // kitty: item exclusively available with disease feature + BOOLEAN DiseaseSystemExclusive; // rftr: the progress bounds that allow a transport group to drop an item INT8 iTransportGroupMinProgress;