From 570cea7cd2b49c08593a69b4653d588404a4945c Mon Sep 17 00:00:00 2001 From: Joshua Raphael Date: Mon, 10 Feb 2025 19:12:34 -0700 Subject: [PATCH] add chapter 12 challenge achievement --- 18190.rascript | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/18190.rascript b/18190.rascript index da93f74..90abaf3 100644 --- a/18190.rascript +++ b/18190.rascript @@ -115,6 +115,7 @@ CHAPTER8 = 0x00000016 CHAPTER9 = 0x00000006 CHAPTER10 = 0x00000013 CHAPTER11 = 0x0000000b +CHAPTER12 = 0x00000007 // Brown: We are a family of monsters. // Rainbow Spirit: I can reach the stars and find a way home. @@ -230,6 +231,16 @@ chapterConfigs = [ "blackPowerUp": false, "progressionGroup": 2, "hasLeaderboard": true + }, + { + "id": 0x00000007, + "description": "Little Fern Track", + "hearts": 12, + "brownPowerUp": true, + "orangePowerUp": false, + "blackPowerUp": false, + "progressionGroup": 2, + "hasLeaderboard": true } ] @@ -586,6 +597,30 @@ achievement( type = "missable" ) +achievement( + title = "Glowing Fern", + description = "Without dying collect 12 hearts in no more than 3 double jumps then complete chapter 12", + points = 5, + trigger = ( + InGame() && + Chapter() == CHAPTER12 && + HeartsCollected() >= 12 && + UpgradeChapter( true, true, false, false ) + ) && + disable_when( + tally( + 4, + AntlerDoubleJumps() + ), + until = GameReset() + ) && + disable_when( + DarkHeartsCollected() - prev( DarkHeartsCollected() ) == 1, + until = GameReset() + ), + type = "missable" +) + for index in range( 1, length( chapterConfigs ) ) { chapter = chapterConfigs[index - 1]