mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-25 07:35:34 -07:00
Swap hints & item pool
This commit is contained in:
parent
7de2c584b4
commit
9787f9d4f2
1 changed files with 33 additions and 32 deletions
|
@ -3328,7 +3328,7 @@ void DrawRandoEditor(bool& open) {
|
||||||
if (ImGui::BeginTable("tableRandoOther", 3, ImGuiTableFlags_BordersH | ImGuiTableFlags_BordersV)) {
|
if (ImGui::BeginTable("tableRandoOther", 3, ImGuiTableFlags_BordersH | ImGuiTableFlags_BordersV)) {
|
||||||
ImGui::TableSetupColumn("Timesavers", ImGuiTableColumnFlags_WidthStretch, 200.0f);
|
ImGui::TableSetupColumn("Timesavers", ImGuiTableColumnFlags_WidthStretch, 200.0f);
|
||||||
ImGui::TableSetupColumn("World Settings", ImGuiTableColumnFlags_WidthStretch, 200.0f);
|
ImGui::TableSetupColumn("World Settings", ImGuiTableColumnFlags_WidthStretch, 200.0f);
|
||||||
ImGui::TableSetupColumn("Hint & Item Pool Settings", ImGuiTableColumnFlags_WidthStretch, 200.0f);
|
ImGui::TableSetupColumn("Item Pool & Hint Settings", ImGuiTableColumnFlags_WidthStretch, 200.0f);
|
||||||
ImGui::PushItemFlag(ImGuiItemFlags_Disabled, true);
|
ImGui::PushItemFlag(ImGuiItemFlags_Disabled, true);
|
||||||
ImGui::TableHeadersRow();
|
ImGui::TableHeadersRow();
|
||||||
ImGui::PopItemFlag();
|
ImGui::PopItemFlag();
|
||||||
|
@ -3408,11 +3408,42 @@ void DrawRandoEditor(bool& open) {
|
||||||
|
|
||||||
ImGui::PopItemWidth();
|
ImGui::PopItemWidth();
|
||||||
|
|
||||||
// COLUMN 3 - HINT & ITEM POOL SETTINGS
|
// COLUMN 3 - ITEM POOL & HINT SETTINGS
|
||||||
ImGui::TableNextColumn();
|
ImGui::TableNextColumn();
|
||||||
window->DC.CurrLineTextBaseOffset = 0.0f;
|
window->DC.CurrLineTextBaseOffset = 0.0f;
|
||||||
ImGui::PushItemWidth(-FLT_MIN);
|
ImGui::PushItemWidth(-FLT_MIN);
|
||||||
|
|
||||||
|
ImGui::Text(Settings::ItemPoolValue.GetName().c_str());
|
||||||
|
InsertHelpHoverText("Sets how many major items appear in the item pool.\n"
|
||||||
|
"\n"
|
||||||
|
"Plentiful - Extra major items are added to the pool.\n"
|
||||||
|
"\n"
|
||||||
|
"Balanced - Original item pool.\n"
|
||||||
|
"\n"
|
||||||
|
"Scarce - Some excess items are removed, including health upgrades.\n"
|
||||||
|
"\n"
|
||||||
|
"Minimal - Most excess items are removed.");
|
||||||
|
SohImGui::EnhancementCombobox("gRandomizeItemPool", randoItemPool, 4, 1);
|
||||||
|
PaddedSeparator();
|
||||||
|
|
||||||
|
// Ice Traps
|
||||||
|
ImGui::Text(Settings::IceTrapValue.GetName().c_str());
|
||||||
|
InsertHelpHoverText("Sets how many items are replaced by ice traps.\n"
|
||||||
|
"\n"
|
||||||
|
"Off - No ice traps.\n"
|
||||||
|
"\n"
|
||||||
|
"Normal - Only Ice Traps from the base item pool are shuffled in.\n"
|
||||||
|
"\n"
|
||||||
|
"Extra - Chance to replace added junk items with additional ice traps.\n"
|
||||||
|
"\n"
|
||||||
|
"Mayhem - All added junk items will be Ice Traps.\n"
|
||||||
|
"\n"
|
||||||
|
"Onslaught - All junk items will be replaced by Ice Traps, even those "
|
||||||
|
"in the base pool.");
|
||||||
|
SohImGui::EnhancementCombobox("gRandomizeIceTraps", randoIceTraps, 5, 1);
|
||||||
|
|
||||||
|
PaddedSeparator();
|
||||||
|
|
||||||
// Gossip Stone Hints
|
// Gossip Stone Hints
|
||||||
ImGui::Text(Settings::GossipStoneHints.GetName().c_str());
|
ImGui::Text(Settings::GossipStoneHints.GetName().c_str());
|
||||||
InsertHelpHoverText(
|
InsertHelpHoverText(
|
||||||
|
@ -3462,36 +3493,6 @@ void DrawRandoEditor(bool& open) {
|
||||||
ImGui::Unindent();
|
ImGui::Unindent();
|
||||||
}
|
}
|
||||||
|
|
||||||
PaddedSeparator();
|
|
||||||
|
|
||||||
ImGui::Text(Settings::ItemPoolValue.GetName().c_str());
|
|
||||||
InsertHelpHoverText("Sets how many major items appear in the item pool.\n"
|
|
||||||
"\n"
|
|
||||||
"Plentiful - Extra major items are added to the pool.\n"
|
|
||||||
"\n"
|
|
||||||
"Balanced - Original item pool.\n"
|
|
||||||
"\n"
|
|
||||||
"Scarce - Some excess items are removed, including health upgrades.\n"
|
|
||||||
"\n"
|
|
||||||
"Minimal - Most excess items are removed.");
|
|
||||||
SohImGui::EnhancementCombobox("gRandomizeItemPool", randoItemPool, 4, 1);
|
|
||||||
PaddedSeparator();
|
|
||||||
|
|
||||||
// Ice Traps
|
|
||||||
ImGui::Text(Settings::IceTrapValue.GetName().c_str());
|
|
||||||
InsertHelpHoverText("Sets how many items are replaced by ice traps.\n"
|
|
||||||
"\n"
|
|
||||||
"Off - No ice traps.\n"
|
|
||||||
"\n"
|
|
||||||
"Normal - Only Ice Traps from the base item pool are shuffled in.\n"
|
|
||||||
"\n"
|
|
||||||
"Extra - Chance to replace added junk items with additional ice traps.\n"
|
|
||||||
"\n"
|
|
||||||
"Mayhem - All added junk items will be Ice Traps.\n"
|
|
||||||
"\n"
|
|
||||||
"Onslaught - All junk items will be replaced by Ice Traps, even those "
|
|
||||||
"in the base pool.");
|
|
||||||
SohImGui::EnhancementCombobox("gRandomizeIceTraps", randoIceTraps, 5, 1);
|
|
||||||
ImGui::PopItemWidth();
|
ImGui::PopItemWidth();
|
||||||
ImGui::EndTable();
|
ImGui::EndTable();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue