fix 1, 2, 3, 5

This commit is contained in:
Taiga 2022-07-04 16:44:38 -06:00
parent 77f654b15d
commit 407202a4d5

View File

@ -26,7 +26,8 @@ namespace cheat::feature
if (ImGui::BeginGroupPanel("Vacuum Loot", false)) if (ImGui::BeginGroupPanel("Vacuum Loot", false))
{ {
ConfigWidget("Enabled", f_Enabled, "Vacuum Loot drops"); ConfigWidget("Enabled", f_Enabled, "Vacuum Loot drops");
ImGui::TreeNode(this, "Loot Types"); if (ImGui::TreeNode(this, "Loot Types"))
{
for (auto& [field, name] : m_Filters) for (auto& [field, name] : m_Filters)
{ {
ImGui::PushID(name.c_str()); ImGui::PushID(name.c_str());
@ -35,6 +36,7 @@ namespace cheat::feature
} }
ImGui::TreePop(); ImGui::TreePop();
} }
}
ImGui::EndGroupPanel(); ImGui::EndGroupPanel();
} }
@ -104,22 +106,26 @@ namespace cheat::feature
AddFilter("General loot", "SceneObj_DropItem" ); AddFilter("General loot", "SceneObj_DropItem" );
AddFilter("Ore Drops", "SceneObj_Ore_Drop" ); AddFilter("Ore Drops", "SceneObj_Ore_Drop" );
AddFilter("Magic Crystal", "_DropMagicCrystal" ); AddFilter("Magic Crystal", "_DropMagicCrystal" );
AddFilter("???", "_Thundercrystaldrop" ); AddFilter("Amethyst Lump", "_Thundercrystaldrop" );
AddFilter("Electro Crystal", "_Ore_ElectricRock" ); AddFilter("Electro Crystal", "_Ore_ElectricRock" );
AddFilter("Starsilver Ore", "_DropMoonMeteor_" ); AddFilter("Starsilver Ore", "_DropMoonMeteor_" );
AddFilter("Noctilucous Jade", "NightBerth" );
AddFilter("Potatoes", "_Potato" ); AddFilter("Potatoes", "_Potato" );
AddFilter("Radish", "_Radish02_Clear" ); AddFilter("Radish", "_Radish02_Clear" );
AddFilter("Cabbage", "_Cabbage" ); AddFilter("Cabbage", "_Cabbage" );
AddFilter("Carrot", "_Carrot02_Clear" ); AddFilter("Carrot", "_Carrot02_Clear" );
AddFilter("Wheat", "_Wheat" ); AddFilter("Wheat", "_Wheat" );
AddFilter("Butterflies & Crystalflies", "Wisp" ); AddFilter("Crystalflies", "Wisp" );
AddFilter("Meat", "Meat" ); AddFilter("Meat & Fowl", "Meat" );
AddFilter("Fishmeat", "Fishmeat" ); AddFilter("Fishmeat", "Fishmeat" );
AddFilter("Crab", "Crab" );
AddFilter("Eel", "Eel_" );
AddFilter("Lizard", "Lizard" );
AddFilter("Swords", "Equip_Sword" ); AddFilter("Swords", "Equip_Sword" );
AddFilter("Poles", "Equip_Pole" ); AddFilter("Poles", "Equip_Pole" );
AddFilter("Bows", "Equip_Bow" ); AddFilter("Bows", "Equip_Bow" );
AddFilter("Catalysts", "Equip_Catalyst" ); AddFilter("Catalysts", "Equip_Catalyst" );
AddFilter("Claymores", "Equip_Claymore" ); AddFilter("Claymores", "Equip_Claymore" );
AddFilter("???", "Eff_Animal" ); AddFilter("Butterflies & Fireflies", "Eff_Animal" );
} }
} }