Skip to content
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 @@ -45,6 +45,7 @@ public class SuperSecretSettings {
public static boolean palworld = false;
public static boolean sheepifyRebellion = false;
public static boolean smolPeople = false;
public static boolean smolMe = false;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Consider adding a comment here explaining what smolMe does. This will help others understand the purpose of this setting.

public static boolean tryItAndSee = false;
public static boolean twilightGiant = false;

Expand Down Expand Up @@ -115,6 +116,7 @@ public static void setSecrets() {
palworld = settings.contains("palworld");
sheepifyRebellion = settings.contains("sheepifyRebellion");
smolPeople = settings.contains("smolpeople");
smolMe = settings.contains("smolme");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Consider adding a comment here explaining what smolMe does. This will help others understand the purpose of this setting.

tryItAndSee = settings.contains("tryItAndSee");
twilightGiant = settings.contains("twilightGiant");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,11 @@ class EntityLivingBaseHook(val entity: EntityLivingBase) {
}

val isBreefing by lazy {
entity.name == "Breefing" && (SuperSecretSettings.breefingDog || Random.nextInt(
100
) < 3)
entity.name == "Breefing" && (SuperSecretSettings.breefingDog || Random.nextInt(100) < 3)
}

val isSmol by lazy {
Utils.inSkyblock && entity is EntityPlayer && (SuperSecretSettings.smolPeople || isBreefing)
Utils.inSkyblock && entity is EntityPlayer && ((entity is EntityPlayerSP && SuperSecretSettings.smolMe) || (SuperSecretSettings.smolPeople && entity.uniqueID.version() == 4) || isBreefing)
}

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