@opfr/raids 0.12.1 → 0.12.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"happyChristmas.d.ts","sourceRoot":"","sources":["../../src/raids/happyChristmas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAI1C,OAAO,KAAK,EAAE,IAAI,EAAc,MAAM,UAAU,CAAC;AAGjD,eAAO,MAAM,kBAAkB,WAAY,MAAM,GAAG,IAAI,KAAG,IA4rRzD,CAAC"}
1
+ {"version":3,"file":"happyChristmas.d.ts","sourceRoot":"","sources":["../../src/raids/happyChristmas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAI1C,OAAO,KAAK,EAAE,IAAI,EAAc,MAAM,UAAU,CAAC;AAGjD,eAAO,MAAM,kBAAkB,WAAY,MAAM,GAAG,IAAI,KAAG,IAo3RzD,CAAC"}
@@ -3443,62 +3443,207 @@ export const happyChristmasRaid = (itemId) => ({
3443
3443
  },
3444
3444
  },
3445
3445
  {
3446
- id: 'goto_turn_around',
3447
- label: t('raids.happy_christmas.goto_turn_around.label'),
3448
- goto: [
3449
- 'uc_continue',
3450
- 'ev_elf_scared',
3451
- 'rq_go_to_santa_claus',
3452
- 'ev_santa_claus_island',
3453
- 'uc_land_on_santa_claus_island',
3454
- 'ev_abandoned_village',
3455
- 'uc_go_forest',
3456
- 'c_already_meet_giant',
3457
- 'ev_forest_already_meet_giant',
3458
- 'uc_follow_giant_trace',
3459
- 'ev_follow_giant_trace',
3460
- 'uc_ignore_cavern',
3461
- ],
3446
+ id: 'uc_turn_around',
3447
+ label: t('raids.happy_christmas.uc_turn_around.label'),
3448
+ output: {
3449
+ id: 'c_santa_claus_free',
3450
+ requirements: itemId === 'sailing_boat'
3451
+ ? {
3452
+ conditions: [
3453
+ 'santa_claus_free',
3454
+ ],
3455
+ mode: 'include',
3456
+ }
3457
+ : {
3458
+ conditions: [
3459
+ 'santa_claus_free',
3460
+ ],
3461
+ mode: 'include',
3462
+ },
3463
+ success: {
3464
+ id: 'ev_santa_claus_already_free',
3465
+ title: t('raids.happy_christmas.ev_santa_claus_already_free.title'),
3466
+ text: t('raids.happy_christmas.ev_santa_claus_already_free.text'),
3467
+ rewards: undefined,
3468
+ penalties: undefined,
3469
+ outputs: [
3470
+ {
3471
+ id: 'goto_return_desert_beach',
3472
+ label: t('raids.happy_christmas.goto_return_desert_beach.label'),
3473
+ goto: [
3474
+ 'uc_continue',
3475
+ 'ev_elf_scared',
3476
+ 'rq_go_to_santa_claus',
3477
+ 'ev_santa_claus_island',
3478
+ 'uc_land_on_santa_claus_island',
3479
+ 'ev_abandoned_village',
3480
+ ],
3481
+ },
3482
+ ],
3483
+ },
3484
+ failure: {
3485
+ id: 'ev_santa_claus_not_free',
3486
+ title: t('raids.happy_christmas.ev_santa_claus_not_free.title'),
3487
+ text: t('raids.happy_christmas.ev_santa_claus_not_free.text'),
3488
+ rewards: undefined,
3489
+ penalties: undefined,
3490
+ outputs: [
3491
+ {
3492
+ id: 'goto_continue',
3493
+ label: t('raids.happy_christmas.goto_continue.label'),
3494
+ goto: [
3495
+ 'uc_continue',
3496
+ 'ev_elf_scared',
3497
+ 'rq_go_to_santa_claus',
3498
+ 'ev_santa_claus_island',
3499
+ 'uc_land_on_santa_claus_island',
3500
+ 'ev_abandoned_village',
3501
+ 'uc_go_forest',
3502
+ 'c_already_meet_giant',
3503
+ 'ev_forest_not_meet_giant',
3504
+ 'uc_continue',
3505
+ 'ev_found_santa_claus_house',
3506
+ ],
3507
+ },
3508
+ ],
3509
+ },
3510
+ },
3462
3511
  },
3463
3512
  ],
3464
3513
  },
3465
3514
  },
3466
3515
  {
3467
- id: 'goto_ignore_cavern',
3468
- label: t('raids.happy_christmas.goto_ignore_cavern.label'),
3469
- goto: [
3470
- 'uc_continue',
3471
- 'ev_elf_scared',
3472
- 'rq_go_to_santa_claus',
3473
- 'ev_santa_claus_island',
3474
- 'uc_land_on_santa_claus_island',
3475
- 'ev_abandoned_village',
3476
- 'uc_go_forest',
3477
- 'c_already_meet_giant',
3478
- 'ev_forest_not_meet_giant',
3479
- 'uc_continue',
3480
- 'ev_found_santa_claus_house',
3481
- ],
3516
+ id: 'uc_ignore_cavern',
3517
+ label: t('raids.happy_christmas.uc_ignore_cavern.label'),
3518
+ output: {
3519
+ id: 'c_santa_claus_free',
3520
+ requirements: itemId === 'sailing_boat'
3521
+ ? {
3522
+ conditions: [
3523
+ 'santa_claus_free',
3524
+ ],
3525
+ mode: 'include',
3526
+ }
3527
+ : {
3528
+ conditions: [
3529
+ 'santa_claus_free',
3530
+ ],
3531
+ mode: 'include',
3532
+ },
3533
+ success: {
3534
+ id: 'ev_santa_claus_already_free',
3535
+ title: t('raids.happy_christmas.ev_santa_claus_already_free.title'),
3536
+ text: t('raids.happy_christmas.ev_santa_claus_already_free.text'),
3537
+ rewards: undefined,
3538
+ penalties: undefined,
3539
+ outputs: [
3540
+ {
3541
+ id: 'goto_return_desert_beach',
3542
+ label: t('raids.happy_christmas.goto_return_desert_beach.label'),
3543
+ goto: [
3544
+ 'uc_continue',
3545
+ 'ev_elf_scared',
3546
+ 'rq_go_to_santa_claus',
3547
+ 'ev_santa_claus_island',
3548
+ 'uc_land_on_santa_claus_island',
3549
+ 'ev_abandoned_village',
3550
+ ],
3551
+ },
3552
+ ],
3553
+ },
3554
+ failure: {
3555
+ id: 'ev_santa_claus_not_free',
3556
+ title: t('raids.happy_christmas.ev_santa_claus_not_free.title'),
3557
+ text: t('raids.happy_christmas.ev_santa_claus_not_free.text'),
3558
+ rewards: undefined,
3559
+ penalties: undefined,
3560
+ outputs: [
3561
+ {
3562
+ id: 'goto_continue',
3563
+ label: t('raids.happy_christmas.goto_continue.label'),
3564
+ goto: [
3565
+ 'uc_continue',
3566
+ 'ev_elf_scared',
3567
+ 'rq_go_to_santa_claus',
3568
+ 'ev_santa_claus_island',
3569
+ 'uc_land_on_santa_claus_island',
3570
+ 'ev_abandoned_village',
3571
+ 'uc_go_forest',
3572
+ 'c_already_meet_giant',
3573
+ 'ev_forest_not_meet_giant',
3574
+ 'uc_continue',
3575
+ 'ev_found_santa_claus_house',
3576
+ ],
3577
+ },
3578
+ ],
3579
+ },
3580
+ },
3482
3581
  },
3483
3582
  ],
3484
3583
  },
3485
3584
  },
3486
3585
  {
3487
- id: 'goto_try_another_way',
3488
- label: t('raids.happy_christmas.goto_try_another_way.label'),
3489
- goto: [
3490
- 'uc_continue',
3491
- 'ev_elf_scared',
3492
- 'rq_go_to_santa_claus',
3493
- 'ev_santa_claus_island',
3494
- 'uc_land_on_santa_claus_island',
3495
- 'ev_abandoned_village',
3496
- 'uc_go_forest',
3497
- 'c_already_meet_giant',
3498
- 'ev_forest_not_meet_giant',
3499
- 'uc_continue',
3500
- 'ev_found_santa_claus_house',
3501
- ],
3586
+ id: 'uc_try_another_way',
3587
+ label: t('raids.happy_christmas.uc_try_another_way.label'),
3588
+ output: {
3589
+ id: 'c_santa_claus_free',
3590
+ requirements: itemId === 'sailing_boat'
3591
+ ? {
3592
+ conditions: ['santa_claus_free'],
3593
+ mode: 'include',
3594
+ }
3595
+ : {
3596
+ conditions: ['santa_claus_free'],
3597
+ mode: 'include',
3598
+ },
3599
+ success: {
3600
+ id: 'ev_santa_claus_already_free',
3601
+ title: t('raids.happy_christmas.ev_santa_claus_already_free.title'),
3602
+ text: t('raids.happy_christmas.ev_santa_claus_already_free.text'),
3603
+ rewards: undefined,
3604
+ penalties: undefined,
3605
+ outputs: [
3606
+ {
3607
+ id: 'goto_return_desert_beach',
3608
+ label: t('raids.happy_christmas.goto_return_desert_beach.label'),
3609
+ goto: [
3610
+ 'uc_continue',
3611
+ 'ev_elf_scared',
3612
+ 'rq_go_to_santa_claus',
3613
+ 'ev_santa_claus_island',
3614
+ 'uc_land_on_santa_claus_island',
3615
+ 'ev_abandoned_village',
3616
+ ],
3617
+ },
3618
+ ],
3619
+ },
3620
+ failure: {
3621
+ id: 'ev_santa_claus_not_free',
3622
+ title: t('raids.happy_christmas.ev_santa_claus_not_free.title'),
3623
+ text: t('raids.happy_christmas.ev_santa_claus_not_free.text'),
3624
+ rewards: undefined,
3625
+ penalties: undefined,
3626
+ outputs: [
3627
+ {
3628
+ id: 'goto_continue',
3629
+ label: t('raids.happy_christmas.goto_continue.label'),
3630
+ goto: [
3631
+ 'uc_continue',
3632
+ 'ev_elf_scared',
3633
+ 'rq_go_to_santa_claus',
3634
+ 'ev_santa_claus_island',
3635
+ 'uc_land_on_santa_claus_island',
3636
+ 'ev_abandoned_village',
3637
+ 'uc_go_forest',
3638
+ 'c_already_meet_giant',
3639
+ 'ev_forest_not_meet_giant',
3640
+ 'uc_continue',
3641
+ 'ev_found_santa_claus_house',
3642
+ ],
3643
+ },
3644
+ ],
3645
+ },
3646
+ },
3502
3647
  },
3503
3648
  ],
3504
3649
  },