Skip to content

Commit

Permalink
Add new girl
Browse files Browse the repository at this point in the history
  • Loading branch information
Omega172 committed Jun 28, 2024
1 parent b61ef0e commit c9579c4
Show file tree
Hide file tree
Showing 2 changed files with 93 additions and 2 deletions.
23 changes: 23 additions & 0 deletions OmegaWare Framework/Features/GiveStuff/GiveStuff.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,27 @@ class GiveStuff : public Feature
Utils::LogDebug(Utils::GetLocation(CurrentLoc), SS.str());
}

void GivePurchases()
{
MonoMethod* AwardItem = Mono::Instance().GetMethod("BlayFapInventory", "AwardItem", 1);
if (!AwardItem)
{
Utils::LogError(Utils::GetLocation(CurrentLoc), "Failed to get a pointer to AwardItem");
return;
}

for (int i = 0; i < BlayFapItems::MAX; i++)
{
void* pArgs[1] = { &i };
MonoObject* pResult = Mono::Instance().Invoke(AwardItem, nullptr, pArgs);

std::stringstream SS("AwardItem = ");
SS << std::hex << pResult << std::dec << " | Added item: " << i;

Utils::LogDebug(Utils::GetLocation(CurrentLoc), SS.str());
}
}

public:
GiveStuff() {}

Expand All @@ -49,6 +70,8 @@ class GiveStuff : public Feature
ImGui::InputInt("##Diamond Amount", &iAmount);
if (ImGui::Button("Add Diamonds"))
GiveDiamonds(iAmount);
//if (ImGui::Button("Add All Purchases"))
//GivePurchases();
}
ImGui::EndChild();
}
Expand Down
72 changes: 70 additions & 2 deletions OmegaWare Framework/SDK/SDK.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ inline std::vector<Girl> Girls // Balance::GirlName
{"Karma", 15},
{"Sutra", 16},
//{"Dark One", 17}, // Commented out because these two will auto unlock with the others, and can break shit it force unlocked.
//{"Qpernikiss", 18},
//{"QPiddy", 18},
{"Darya", 19},
{"Jelle", 20},
{"Quillizone", 21},
Expand Down Expand Up @@ -72,7 +72,9 @@ inline std::vector<Girl> Girls // Balance::GirlName
{"Nightingale", 59},
{"Grace", 60},
{"Desdemona", 61},
{"Abby", 62}
{"Abby", 62},
{"Shelly", 63},
{"Honey", 64}
};

enum LoveLevel
Expand All @@ -96,4 +98,70 @@ enum DateType
Sightseeing = 4,
MovieTheater = 8,
Beach = 16
};

enum BlayFapItems
{
NutakuUserOutreach = 0,
Easter2017,
Summer2017,
StarterPack,
July2017,
BackToSchool2017,
Ayano2017,
Darya,
JelleQuillzone,
BonchovySpectrum,
NSFW,
Winter2018,
Charlotte,
Nutaku2019,
Odango,
Shibuki,
Sirina,
Vellatrix,
Roxxy,
Tessa,
Catara,
Claudia,
Juliet,
Rosa,
Wendy,
Ruri,
Generica,
Suzu,
FullVoices,
Lustat,
Winter2020,
Anniversary2021,
Sawyer,
Explora,
Esper,
MioPlush,
QuillPlush,
Renee,
Mallory,
Anniversary2022,
Lake,
Brie,
Ranma,
Lotus,
Cassia,
PESStarterPack,
Yuki,
RosaAnimated,
Nova,
Marybelle,
Babybelle,
Pepper,
Amelia,
PeanutDate,
Kira,
MissDesiree,
Nightingale,
Grace,
Desdemona,
Abby,
Shelly,
MAX = 60
};

0 comments on commit c9579c4

Please sign in to comment.