Skip to content

Commit 43acd48

Browse files
authored
Merge pull request #487 from astrapboy/main
2 parents 1a02a3b + 0914e3f commit 43acd48

File tree

2 files changed

+29
-8
lines changed

2 files changed

+29
-8
lines changed

items/achievement.lua

Lines changed: 26 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
local achievement_atlas = {
23
object_type = "Atlas",
34
key = "achievements",
@@ -269,10 +270,25 @@ local ult_full_skip = {
269270
end,
270271
}
271272

273+
local youre_fucking_kidding = {
274+
object_type = "Achievement",
275+
key = "youre_fucking_kidding",
276+
order = 15,
277+
hidden_text = true,
278+
bypass_all_unlocked = true,
279+
atlas = "cry_achievements",
280+
-- reset_on_startup = true,
281+
unlock_condition = function(self, args)
282+
if args.type == "discard_custom" and next(evaluate_poker_hand(args.cards)["cry_WholeDeck"]) then
283+
return true
284+
end
285+
end,
286+
}
287+
272288
local patience_virtue = {
273289
object_type = "Achievement",
274290
key = "patience_virtue",
275-
order = 15,
291+
order = 16,
276292
bypass_all_unlocked = true,
277293
hidden_text = true,
278294
pos = { x = 2, y = 0 },
@@ -299,7 +315,7 @@ local patience_virtue = {
299315
local pull_request = {
300316
object_type = "Achievement",
301317
key = "pull_request",
302-
order = 16,
318+
order = 17,
303319
bypass_all_unlocked = true,
304320
hidden_text = true,
305321
pos = { x = 2, y = 0 },
@@ -315,7 +331,7 @@ local pull_request = {
315331
local ace_through_crash = {
316332
object_type = "Achievement",
317333
key = "ace_in_crash",
318-
order = 17,
334+
order = 18,
319335
bypass_all_unlocked = true,
320336
pos = { x = 2, y = 0 },
321337
atlas = "cry_achievements",
@@ -330,7 +346,7 @@ local ace_through_crash = {
330346
local home_realtor = {
331347
object_type = "Achievement",
332348
key = "home_realtor",
333-
order = 18,
349+
order = 19,
334350
bypass_all_unlocked = true,
335351
hidden_text = true,
336352
pos = { x = 2, y = 0 },
@@ -347,7 +363,7 @@ local home_realtor = {
347363
local traffic_jam = {
348364
object_type = "Achievement",
349365
key = "traffic_jam",
350-
order = 19,
366+
order = 20,
351367
bypass_all_unlocked = true,
352368
hidden_text = true,
353369
pos = { x = 2, y = 0 },
@@ -377,7 +393,7 @@ local traffic_jam = {
377393
local perfectly_balanced = {
378394
object_type = "Achievement",
379395
key = "perfectly_balanced",
380-
order = 20,
396+
order = 21,
381397
bypass_all_unlocked = true,
382398
hidden_text = true,
383399
pos = { x = 2, y = 0 },
@@ -397,7 +413,7 @@ local perfectly_balanced = {
397413
local pin = {
398414
object_type = "Achievement",
399415
key = "pin",
400-
order = 21,
416+
order = 22,
401417
hidden_text = true,
402418
pos = { x = 3, y = 0 },
403419
atlas = "cry_achievements",
@@ -409,6 +425,7 @@ local pin = {
409425
end,
410426
}
411427

428+
412429
-- TODO: Add new Achievements.
413430
-- Current Ideas (Normal):
414431
-- Cry: Win a run with only Sob and Obelisk
@@ -430,6 +447,7 @@ local pin = {
430447
-- Ultimate Full Skip: Win in 1 round
431448
-- Legally Blind: Obtain a Blurred Blurred Joker
432449
-- Cryptid the Cryptid: Use Cryptid on Cryptid
450+
-- You're Fucking Kidding/You Can't Be Serious: Discard your entire deck
433451
-- Implemented (Platinum)
434452
-- Patience is a Virtue: Wait out Lavender Loop for 2 minutes before playing first hand and beat it
435453
-- Pull Request: Have ://COMMIT spawn the same Joker that it destroyed
@@ -455,6 +473,7 @@ local achievement_objects = {
455473
jokes_on_you,
456474
freak_house,
457475
ult_full_skip,
476+
youre_fucking_kidding,
458477
patience_virtue,
459478
ace_through_crash,
460479
home_realtor,

localization/en-us.lua

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4385,6 +4385,7 @@ return {
43854385
ach_cry_used_crash = "We Told You Not To",
43864386
ach_cry_what_have_you_done = "WHAT HAVE YOU DONE?!",
43874387
ach_cry_pin = "Pin of Shame",
4388+
ach_cry_youre_fucking_kidding = Cryptid_config.family_mode and "You Can't Be Serious" or "You're Fucking Kidding"
43884389
},
43894390
achievement_descriptions = {
43904391
ach_cry_ace_in_crash = 'check_for_unlock({type = "ace_in_crash"})',
@@ -4408,6 +4409,7 @@ return {
44084409
ach_cry_used_crash = "Use ://CRASH",
44094410
ach_cry_what_have_you_done = "Delete or Sacrifice an Exotic Joker",
44104411
ach_cry_pin = "Lose a run to The Pin",
4412+
ach_cry_youre_fucking_kidding = "Discard "..localize("cry_WholeDeck", "poker_hands")
44114413
},
44124414
challenge_names = {
44134415
c_cry_ballin = "Ballin'",
@@ -4830,4 +4832,4 @@ return {
48304832
{ "GO TO", "https://youtu.be/p7YXXieghto", "FOR FREE VOUCHERS" },
48314833
},
48324834
},
4833-
}
4835+
}

0 commit comments

Comments
 (0)