Skip to content

Added smolSelf secret setting #507

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ public class SuperSecretSettings {
public static boolean noSychic = false;
public static boolean palworld = false;
public static boolean sheepifyRebellion = false;
public static boolean smolSelf = false;
public static boolean smolPeople = false;
public static boolean tryItAndSee = false;
public static boolean twilightGiant = false;
Expand Down Expand Up @@ -114,6 +115,7 @@ public static void setSecrets() {
noSychic = settings.contains("nosychic");
palworld = settings.contains("palworld");
sheepifyRebellion = settings.contains("sheepifyRebellion");
smolSelf = settings.contains("smolself");
smolPeople = settings.contains("smolpeople");
tryItAndSee = settings.contains("tryItAndSee");
twilightGiant = settings.contains("twilightGiant");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class EntityLivingBaseHook(val entity: EntityLivingBase) {
}

val isSmol by lazy {
Utils.inSkyblock && entity is EntityPlayer && (SuperSecretSettings.smolPeople || isBreefing)
Utils.inSkyblock && (entity is EntityPlayer && (SuperSecretSettings.smolPeople || (entity is EntityPlayerSP && SuperSecretSettings.smolSelf) || isBreefing))
}

fun modifyPotionActive(potionId: Int, cir: CallbackInfoReturnable<Boolean>) {
Expand Down
Loading