Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Please never ever try to tell me this mod does not work. (unless it really doesn't, but it will, trust)
import com.evacipated.cardcrawl.modthespire.lib.SpirePatch;
import com.evacipated.cardcrawl.modthespire.lib.SpirePostfixPatch;
import com.megacrit.cardcrawl.core.CardCrawlGame;
import com.megacrit.cardcrawl.core.Settings;
import com.megacrit.cardcrawl.unlock.UnlockTracker;
import static com.megacrit.cardcrawl.unlock.UnlockTracker.achievementPref;
@SpirePatch(clz = UnlockTracker.class,
method = "unlockLuckyDay")
public class UnlockTrackerPatch {
@SpirePostfixPatch
public static void activateSquareAperture() {
if (Settings.isModded) {
String key = "LUCKY_DAY";
CardCrawlGame.publisherIntegration.unlockAchievement(key);
if (!achievementPref.getBoolean(key, false)) {
achievementPref.putBoolean(key, true);
achievementPref.flush();
}
}
}
}
Sorry in advance if you already answered this in the comments.
Anyway, glad it works for you now!
The "motherfucker" comment wasn't at you btw, just me being annoyed!!! I appreciate your mod!
The only thing you can't unlock with it is the My Lucky Day achievement.