-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3e98223
commit fb2a732
Showing
9 changed files
with
132 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"geode": "3.4.0", | ||
"version": "v1.5.6", | ||
"version": "v1.5.7", | ||
"gd": { | ||
"win": "2.206", | ||
"android": "2.206", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
#include <Geode/Geode.hpp> | ||
#include <Geode/modify/SecretLayer2.hpp> | ||
#include "Client/AndroidBall.h" | ||
#include <random> | ||
|
||
using namespace geode::prelude; | ||
|
||
class $modify (SecretLayer2) | ||
{ | ||
std::string getColonThreeLabel() | ||
{ | ||
if (!AndroidBall::get()->isColonThreeEnabled()) | ||
return "No more :3 :("; | ||
|
||
std::random_device rd; | ||
std::mt19937 gen(rd()); | ||
std::uniform_int_distribution<> distr(1, 9); | ||
|
||
switch (distr(gen)) | ||
{ | ||
default: | ||
return ""; | ||
|
||
case 1: | ||
return ":3-olmod has been enabled :3"; | ||
case 2: | ||
return fmt::format("{} the cute one :3", GameManager::get()->m_playerName); | ||
case 3: | ||
return "meow"; | ||
case 4: | ||
return "purr"; | ||
case 5: | ||
return "mrrow"; | ||
case 6: | ||
return ":3"; | ||
case 7: | ||
return ";3"; | ||
case 8: | ||
return "Ultimate catgirl mode enabled :3"; | ||
case 9: | ||
return "you're cute :3"; | ||
} | ||
} | ||
|
||
void onSubmit(cocos2d::CCObject* sender) | ||
{ | ||
bool inp = false; | ||
|
||
if (auto input = getChildOfType<CCTextInputNode>(this, 0)) | ||
{ | ||
if (input->getString() != ":3") | ||
return SecretLayer2::onSubmit(sender); | ||
|
||
inp = true; | ||
|
||
if (auto ball = AndroidBall::get()) | ||
ball->setColonThreeEnabled(); | ||
} | ||
|
||
SecretLayer2::onSubmit(sender); | ||
|
||
updateMessageLabel(getColonThreeLabel()); | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#include <Geode/Geode.hpp> | ||
#include <Geode/modify/PlayerObject.hpp> | ||
#include "../Client/Client.h" | ||
|
||
using namespace geode::prelude; | ||
|
||
class $modify (PlayerObject) | ||
{ | ||
void toggleGhostEffect(GhostType p0) | ||
{ | ||
if (Client::GetModuleEnabled("ghost-on")) | ||
p0 = GhostType::Enabled; | ||
|
||
if (Client::GetModuleEnabled("ghost-off")) | ||
p0 = GhostType::Disabled; | ||
|
||
PlayerObject::toggleGhostEffect(p0); | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters