From 6bab637f42c59743abad880b9dd9a0d7c09a9732 Mon Sep 17 00:00:00 2001 From: He-Man Date: Sun, 20 Jan 2019 16:35:32 +0100 Subject: [PATCH] ItemDefibrillator to configs --- Sources/epoch_config/Configs/CfgItemSort.hpp | 1 + Sources/epoch_config/Configs/CfgPricing.hpp | 3 +++ Sources/epoch_server_settings/configs/CfgLootTable.h | 1 + Sources/epoch_server_settings/configs/CfgLootTable_CUP.h | 1 + Sources/epoch_server_settings/configs/CfgLootTable_MAD.h | 1 + Sources/epoch_server_settings/configs/CfgLootTable_MADCUP.h | 1 + 6 files changed, 8 insertions(+) diff --git a/Sources/epoch_config/Configs/CfgItemSort.hpp b/Sources/epoch_config/Configs/CfgItemSort.hpp index 6d942a40..d5d0f327 100644 --- a/Sources/epoch_config/Configs/CfgItemSort.hpp +++ b/Sources/epoch_config/Configs/CfgItemSort.hpp @@ -1009,6 +1009,7 @@ class CfgItemSort }; Medical[] = { + "ItemDefibrillator", "FAK", "Soap_Epoch", "Towelette", diff --git a/Sources/epoch_config/Configs/CfgPricing.hpp b/Sources/epoch_config/Configs/CfgPricing.hpp index 86255865..1e640ac6 100644 --- a/Sources/epoch_config/Configs/CfgPricing.hpp +++ b/Sources/epoch_config/Configs/CfgPricing.hpp @@ -3112,6 +3112,9 @@ class CfgPricing { price = 5; }; + class ItemDefibrillator { + price = 5; + }; class Repair_EPOCH { price = 2; diff --git a/Sources/epoch_server_settings/configs/CfgLootTable.h b/Sources/epoch_server_settings/configs/CfgLootTable.h index caf40bed..26ad983b 100644 --- a/Sources/epoch_server_settings/configs/CfgLootTable.h +++ b/Sources/epoch_server_settings/configs/CfgLootTable.h @@ -945,6 +945,7 @@ class CfgLootTable class Medical { items[] = { + { { "ItemDefibrillator", "magazine" }, 1 }, { { "FAK", "magazine" }, 50 }, { { "Soap_Epoch", "magazine" }, 3 }, { { "Heal_EPOCH", "item" }, 2 }, diff --git a/Sources/epoch_server_settings/configs/CfgLootTable_CUP.h b/Sources/epoch_server_settings/configs/CfgLootTable_CUP.h index ddafae13..f3905040 100644 --- a/Sources/epoch_server_settings/configs/CfgLootTable_CUP.h +++ b/Sources/epoch_server_settings/configs/CfgLootTable_CUP.h @@ -1495,6 +1495,7 @@ class CfgLootTable_CUP class Medical { items[] = { + { { "ItemDefibrillator", "magazine" }, 1 }, { { "FAK", "magazine" }, 50 }, { { "Soap_Epoch", "magazine" }, 3 }, { { "Heal_EPOCH", "item" }, 2 }, diff --git a/Sources/epoch_server_settings/configs/CfgLootTable_MAD.h b/Sources/epoch_server_settings/configs/CfgLootTable_MAD.h index 3e90f003..0bb44cea 100644 --- a/Sources/epoch_server_settings/configs/CfgLootTable_MAD.h +++ b/Sources/epoch_server_settings/configs/CfgLootTable_MAD.h @@ -934,6 +934,7 @@ class CfgLootTable_MAD class Medical { items[] = { + { { "ItemDefibrillator", "magazine" }, 1 }, { { "FAK", "magazine" }, 50 }, { { "Soap_Epoch", "magazine" }, 3 }, { { "Heal_EPOCH", "item" }, 2 }, diff --git a/Sources/epoch_server_settings/configs/CfgLootTable_MADCUP.h b/Sources/epoch_server_settings/configs/CfgLootTable_MADCUP.h index d3e7888f..7845689d 100644 --- a/Sources/epoch_server_settings/configs/CfgLootTable_MADCUP.h +++ b/Sources/epoch_server_settings/configs/CfgLootTable_MADCUP.h @@ -1500,6 +1500,7 @@ class CfgLootTable_MADCUP class Medical { items[] = { + { { "ItemDefibrillator", "magazine" }, 1 }, { { "FAK", "magazine" }, 50 }, { { "Soap_Epoch", "magazine" }, 3 }, { { "Heal_EPOCH", "item" }, 2 },