@opfr/raids 0.12.1 → 0.12.3
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.
- package/dist/index.es.js +257 -82
- package/dist/index.umd.js +5 -5
- package/dist/raids/happyChristmas.d.ts.map +1 -1
- package/dist/raids/happyChristmas.js +233 -88
- package/dist/raids/happyChristmas.js.map +1 -1
- package/locales/fr.json +12 -7
- package/package.json +2 -2
|
@@ -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,
|
|
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"}
|
|
@@ -1039,108 +1039,108 @@ export const happyChristmasRaid = (itemId) => ({
|
|
|
1039
1039
|
warns: 1,
|
|
1040
1040
|
},
|
|
1041
1041
|
success: {
|
|
1042
|
-
id: '
|
|
1043
|
-
title: t('raids.happy_christmas.
|
|
1044
|
-
text: (obtainedRewards) => t('raids.happy_christmas.
|
|
1045
|
-
rewards: formatRewards('
|
|
1042
|
+
id: 'end_liar',
|
|
1043
|
+
title: t('raids.happy_christmas.end_liar.title'),
|
|
1044
|
+
text: (obtainedRewards) => t('raids.happy_christmas.end_liar.text', {
|
|
1045
|
+
rewards: formatRewards('end_liar', obtainedRewards, itemId ===
|
|
1046
1046
|
'rudder'
|
|
1047
1047
|
? {
|
|
1048
|
-
christmas_present: 1,
|
|
1049
|
-
sugar_cane_christmas: 50,
|
|
1050
1048
|
condition: 'queen_meet',
|
|
1051
1049
|
xp: 0,
|
|
1052
1050
|
}
|
|
1053
1051
|
: itemId ===
|
|
1054
1052
|
'rescue_boat'
|
|
1055
1053
|
? {
|
|
1056
|
-
christmas_present: 1,
|
|
1057
|
-
sugar_cane_christmas: 50,
|
|
1058
1054
|
condition: 'queen_meet',
|
|
1059
1055
|
berry: 0,
|
|
1060
1056
|
}
|
|
1061
1057
|
: {
|
|
1062
|
-
christmas_present: 1,
|
|
1063
|
-
sugar_cane_christmas: 50,
|
|
1064
1058
|
condition: 'queen_meet',
|
|
1065
|
-
},
|
|
1059
|
+
}, itemId ===
|
|
1060
|
+
'anchor'
|
|
1061
|
+
? {
|
|
1062
|
+
time_out: 1800000,
|
|
1063
|
+
xp: 50000,
|
|
1064
|
+
}
|
|
1065
|
+
: {
|
|
1066
|
+
time_out: 3600000,
|
|
1067
|
+
xp: 100000,
|
|
1068
|
+
}),
|
|
1066
1069
|
}),
|
|
1067
1070
|
rewards: itemId ===
|
|
1068
1071
|
'rudder'
|
|
1069
1072
|
? {
|
|
1070
|
-
christmas_present: 1,
|
|
1071
|
-
sugar_cane_christmas: 50,
|
|
1072
1073
|
condition: 'queen_meet',
|
|
1073
1074
|
xp: 0,
|
|
1074
1075
|
}
|
|
1075
1076
|
: itemId ===
|
|
1076
1077
|
'rescue_boat'
|
|
1077
1078
|
? {
|
|
1078
|
-
christmas_present: 1,
|
|
1079
|
-
sugar_cane_christmas: 50,
|
|
1080
1079
|
condition: 'queen_meet',
|
|
1081
1080
|
berry: 0,
|
|
1082
1081
|
}
|
|
1083
1082
|
: {
|
|
1084
|
-
christmas_present: 1,
|
|
1085
|
-
sugar_cane_christmas: 50,
|
|
1086
1083
|
condition: 'queen_meet',
|
|
1087
1084
|
},
|
|
1088
|
-
penalties:
|
|
1085
|
+
penalties: itemId ===
|
|
1086
|
+
'anchor'
|
|
1087
|
+
? {
|
|
1088
|
+
time_out: 1800000,
|
|
1089
|
+
xp: 50000,
|
|
1090
|
+
}
|
|
1091
|
+
: {
|
|
1092
|
+
time_out: 3600000,
|
|
1093
|
+
xp: 100000,
|
|
1094
|
+
},
|
|
1089
1095
|
},
|
|
1090
1096
|
failure: {
|
|
1091
|
-
id: '
|
|
1092
|
-
title: t('raids.happy_christmas.
|
|
1093
|
-
text: (obtainedRewards) => t('raids.happy_christmas.
|
|
1094
|
-
rewards: formatRewards('
|
|
1097
|
+
id: 'end_good_boy',
|
|
1098
|
+
title: t('raids.happy_christmas.end_good_boy.title'),
|
|
1099
|
+
text: (obtainedRewards) => t('raids.happy_christmas.end_good_boy.text', {
|
|
1100
|
+
rewards: formatRewards('end_good_boy', obtainedRewards, itemId ===
|
|
1095
1101
|
'rudder'
|
|
1096
1102
|
? {
|
|
1103
|
+
christmas_present: 1,
|
|
1104
|
+
sugar_cane_christmas: 50,
|
|
1097
1105
|
condition: 'queen_meet',
|
|
1098
1106
|
xp: 0,
|
|
1099
1107
|
}
|
|
1100
1108
|
: itemId ===
|
|
1101
1109
|
'rescue_boat'
|
|
1102
1110
|
? {
|
|
1111
|
+
christmas_present: 1,
|
|
1112
|
+
sugar_cane_christmas: 50,
|
|
1103
1113
|
condition: 'queen_meet',
|
|
1104
1114
|
berry: 0,
|
|
1105
1115
|
}
|
|
1106
1116
|
: {
|
|
1117
|
+
christmas_present: 1,
|
|
1118
|
+
sugar_cane_christmas: 50,
|
|
1107
1119
|
condition: 'queen_meet',
|
|
1108
|
-
},
|
|
1109
|
-
'anchor'
|
|
1110
|
-
? {
|
|
1111
|
-
time_out: 1800000,
|
|
1112
|
-
xp: 50000,
|
|
1113
|
-
}
|
|
1114
|
-
: {
|
|
1115
|
-
time_out: 3600000,
|
|
1116
|
-
xp: 100000,
|
|
1117
|
-
}),
|
|
1120
|
+
}, undefined),
|
|
1118
1121
|
}),
|
|
1119
1122
|
rewards: itemId ===
|
|
1120
1123
|
'rudder'
|
|
1121
1124
|
? {
|
|
1125
|
+
christmas_present: 1,
|
|
1126
|
+
sugar_cane_christmas: 50,
|
|
1122
1127
|
condition: 'queen_meet',
|
|
1123
1128
|
xp: 0,
|
|
1124
1129
|
}
|
|
1125
1130
|
: itemId ===
|
|
1126
1131
|
'rescue_boat'
|
|
1127
1132
|
? {
|
|
1133
|
+
christmas_present: 1,
|
|
1134
|
+
sugar_cane_christmas: 50,
|
|
1128
1135
|
condition: 'queen_meet',
|
|
1129
1136
|
berry: 0,
|
|
1130
1137
|
}
|
|
1131
1138
|
: {
|
|
1139
|
+
christmas_present: 1,
|
|
1140
|
+
sugar_cane_christmas: 50,
|
|
1132
1141
|
condition: 'queen_meet',
|
|
1133
1142
|
},
|
|
1134
|
-
penalties:
|
|
1135
|
-
'anchor'
|
|
1136
|
-
? {
|
|
1137
|
-
time_out: 1800000,
|
|
1138
|
-
xp: 50000,
|
|
1139
|
-
}
|
|
1140
|
-
: {
|
|
1141
|
-
time_out: 3600000,
|
|
1142
|
-
xp: 100000,
|
|
1143
|
-
},
|
|
1143
|
+
penalties: undefined,
|
|
1144
1144
|
},
|
|
1145
1145
|
},
|
|
1146
1146
|
},
|
|
@@ -3443,62 +3443,207 @@ export const happyChristmasRaid = (itemId) => ({
|
|
|
3443
3443
|
},
|
|
3444
3444
|
},
|
|
3445
3445
|
{
|
|
3446
|
-
id: '
|
|
3447
|
-
label: t('raids.happy_christmas.
|
|
3448
|
-
|
|
3449
|
-
'
|
|
3450
|
-
'
|
|
3451
|
-
|
|
3452
|
-
|
|
3453
|
-
|
|
3454
|
-
|
|
3455
|
-
|
|
3456
|
-
|
|
3457
|
-
|
|
3458
|
-
|
|
3459
|
-
|
|
3460
|
-
|
|
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: '
|
|
3468
|
-
label: t('raids.happy_christmas.
|
|
3469
|
-
|
|
3470
|
-
'
|
|
3471
|
-
'
|
|
3472
|
-
|
|
3473
|
-
|
|
3474
|
-
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
|
|
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: '
|
|
3488
|
-
label: t('raids.happy_christmas.
|
|
3489
|
-
|
|
3490
|
-
'
|
|
3491
|
-
'
|
|
3492
|
-
|
|
3493
|
-
|
|
3494
|
-
|
|
3495
|
-
|
|
3496
|
-
|
|
3497
|
-
|
|
3498
|
-
|
|
3499
|
-
|
|
3500
|
-
|
|
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
|
},
|