From dee885622e1d54058360b3dc26d3a9728576f7c6 Mon Sep 17 00:00:00 2001 From: Malkierian Date: Tue, 22 Oct 2024 09:46:50 -0700 Subject: [PATCH] Add InjectItemCounts to the migrator. (#4466) --- soh/soh/config/ConfigUpdaters.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/soh/soh/config/ConfigUpdaters.cpp b/soh/soh/config/ConfigUpdaters.cpp index 8415c23e0..e43e98b76 100644 --- a/soh/soh/config/ConfigUpdaters.cpp +++ b/soh/soh/config/ConfigUpdaters.cpp @@ -77,5 +77,11 @@ namespace SOH { } CVarClear(migration.from.c_str()); } + if (conf->Contains("CVars.gEnhancements.InjectItemCounts")) { + CVarClear("gEnhancements.InjectItemCounts"); + CVarSetInteger("gEnhancements.InjectItemCounts.GoldSkulltula", 1); + CVarSetInteger("gEnhancements.InjectItemCounts.HeartContainer", 1); + CVarSetInteger("gEnhancements.InjectItemCounts.HeartPiece", 1); + } } }