@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.
package/dist/index.es.js CHANGED
@@ -9337,68 +9337,243 @@ const tp = (e) => {
9337
9337
  }
9338
9338
  },
9339
9339
  {
9340
- id: "goto_turn_around",
9340
+ id: "uc_turn_around",
9341
9341
  label: s(
9342
- "raids.happy_christmas.goto_turn_around.label"
9342
+ "raids.happy_christmas.uc_turn_around.label"
9343
9343
  ),
9344
- goto: [
9345
- "uc_continue",
9346
- "ev_elf_scared",
9347
- "rq_go_to_santa_claus",
9348
- "ev_santa_claus_island",
9349
- "uc_land_on_santa_claus_island",
9350
- "ev_abandoned_village",
9351
- "uc_go_forest",
9352
- "c_already_meet_giant",
9353
- "ev_forest_already_meet_giant",
9354
- "uc_follow_giant_trace",
9355
- "ev_follow_giant_trace",
9356
- "uc_ignore_cavern"
9357
- ]
9344
+ output: {
9345
+ id: "c_santa_claus_free",
9346
+ requirements: e === "sailing_boat" ? {
9347
+ conditions: [
9348
+ "santa_claus_free"
9349
+ ],
9350
+ mode: "include"
9351
+ } : {
9352
+ conditions: [
9353
+ "santa_claus_free"
9354
+ ],
9355
+ mode: "include"
9356
+ },
9357
+ success: {
9358
+ id: "ev_santa_claus_already_free",
9359
+ title: s(
9360
+ "raids.happy_christmas.ev_santa_claus_already_free.title"
9361
+ ),
9362
+ text: s(
9363
+ "raids.happy_christmas.ev_santa_claus_already_free.text"
9364
+ ),
9365
+ rewards: void 0,
9366
+ penalties: void 0,
9367
+ outputs: [
9368
+ {
9369
+ id: "goto_return_desert_beach",
9370
+ label: s(
9371
+ "raids.happy_christmas.goto_return_desert_beach.label"
9372
+ ),
9373
+ goto: [
9374
+ "uc_continue",
9375
+ "ev_elf_scared",
9376
+ "rq_go_to_santa_claus",
9377
+ "ev_santa_claus_island",
9378
+ "uc_land_on_santa_claus_island",
9379
+ "ev_abandoned_village"
9380
+ ]
9381
+ }
9382
+ ]
9383
+ },
9384
+ failure: {
9385
+ id: "ev_santa_claus_not_free",
9386
+ title: s(
9387
+ "raids.happy_christmas.ev_santa_claus_not_free.title"
9388
+ ),
9389
+ text: s(
9390
+ "raids.happy_christmas.ev_santa_claus_not_free.text"
9391
+ ),
9392
+ rewards: void 0,
9393
+ penalties: void 0,
9394
+ outputs: [
9395
+ {
9396
+ id: "goto_continue",
9397
+ label: s(
9398
+ "raids.happy_christmas.goto_continue.label"
9399
+ ),
9400
+ goto: [
9401
+ "uc_continue",
9402
+ "ev_elf_scared",
9403
+ "rq_go_to_santa_claus",
9404
+ "ev_santa_claus_island",
9405
+ "uc_land_on_santa_claus_island",
9406
+ "ev_abandoned_village",
9407
+ "uc_go_forest",
9408
+ "c_already_meet_giant",
9409
+ "ev_forest_not_meet_giant",
9410
+ "uc_continue",
9411
+ "ev_found_santa_claus_house"
9412
+ ]
9413
+ }
9414
+ ]
9415
+ }
9416
+ }
9358
9417
  }
9359
9418
  ]
9360
9419
  }
9361
9420
  },
9362
9421
  {
9363
- id: "goto_ignore_cavern",
9422
+ id: "uc_ignore_cavern",
9364
9423
  label: s(
9365
- "raids.happy_christmas.goto_ignore_cavern.label"
9424
+ "raids.happy_christmas.uc_ignore_cavern.label"
9366
9425
  ),
9367
- goto: [
9368
- "uc_continue",
9369
- "ev_elf_scared",
9370
- "rq_go_to_santa_claus",
9371
- "ev_santa_claus_island",
9372
- "uc_land_on_santa_claus_island",
9373
- "ev_abandoned_village",
9374
- "uc_go_forest",
9375
- "c_already_meet_giant",
9376
- "ev_forest_not_meet_giant",
9377
- "uc_continue",
9378
- "ev_found_santa_claus_house"
9379
- ]
9426
+ output: {
9427
+ id: "c_santa_claus_free",
9428
+ requirements: e === "sailing_boat" ? {
9429
+ conditions: [
9430
+ "santa_claus_free"
9431
+ ],
9432
+ mode: "include"
9433
+ } : {
9434
+ conditions: [
9435
+ "santa_claus_free"
9436
+ ],
9437
+ mode: "include"
9438
+ },
9439
+ success: {
9440
+ id: "ev_santa_claus_already_free",
9441
+ title: s(
9442
+ "raids.happy_christmas.ev_santa_claus_already_free.title"
9443
+ ),
9444
+ text: s(
9445
+ "raids.happy_christmas.ev_santa_claus_already_free.text"
9446
+ ),
9447
+ rewards: void 0,
9448
+ penalties: void 0,
9449
+ outputs: [
9450
+ {
9451
+ id: "goto_return_desert_beach",
9452
+ label: s(
9453
+ "raids.happy_christmas.goto_return_desert_beach.label"
9454
+ ),
9455
+ goto: [
9456
+ "uc_continue",
9457
+ "ev_elf_scared",
9458
+ "rq_go_to_santa_claus",
9459
+ "ev_santa_claus_island",
9460
+ "uc_land_on_santa_claus_island",
9461
+ "ev_abandoned_village"
9462
+ ]
9463
+ }
9464
+ ]
9465
+ },
9466
+ failure: {
9467
+ id: "ev_santa_claus_not_free",
9468
+ title: s(
9469
+ "raids.happy_christmas.ev_santa_claus_not_free.title"
9470
+ ),
9471
+ text: s(
9472
+ "raids.happy_christmas.ev_santa_claus_not_free.text"
9473
+ ),
9474
+ rewards: void 0,
9475
+ penalties: void 0,
9476
+ outputs: [
9477
+ {
9478
+ id: "goto_continue",
9479
+ label: s(
9480
+ "raids.happy_christmas.goto_continue.label"
9481
+ ),
9482
+ goto: [
9483
+ "uc_continue",
9484
+ "ev_elf_scared",
9485
+ "rq_go_to_santa_claus",
9486
+ "ev_santa_claus_island",
9487
+ "uc_land_on_santa_claus_island",
9488
+ "ev_abandoned_village",
9489
+ "uc_go_forest",
9490
+ "c_already_meet_giant",
9491
+ "ev_forest_not_meet_giant",
9492
+ "uc_continue",
9493
+ "ev_found_santa_claus_house"
9494
+ ]
9495
+ }
9496
+ ]
9497
+ }
9498
+ }
9380
9499
  }
9381
9500
  ]
9382
9501
  }
9383
9502
  },
9384
9503
  {
9385
- id: "goto_try_another_way",
9504
+ id: "uc_try_another_way",
9386
9505
  label: s(
9387
- "raids.happy_christmas.goto_try_another_way.label"
9506
+ "raids.happy_christmas.uc_try_another_way.label"
9388
9507
  ),
9389
- goto: [
9390
- "uc_continue",
9391
- "ev_elf_scared",
9392
- "rq_go_to_santa_claus",
9393
- "ev_santa_claus_island",
9394
- "uc_land_on_santa_claus_island",
9395
- "ev_abandoned_village",
9396
- "uc_go_forest",
9397
- "c_already_meet_giant",
9398
- "ev_forest_not_meet_giant",
9399
- "uc_continue",
9400
- "ev_found_santa_claus_house"
9401
- ]
9508
+ output: {
9509
+ id: "c_santa_claus_free",
9510
+ requirements: e === "sailing_boat" ? {
9511
+ conditions: ["santa_claus_free"],
9512
+ mode: "include"
9513
+ } : {
9514
+ conditions: ["santa_claus_free"],
9515
+ mode: "include"
9516
+ },
9517
+ success: {
9518
+ id: "ev_santa_claus_already_free",
9519
+ title: s(
9520
+ "raids.happy_christmas.ev_santa_claus_already_free.title"
9521
+ ),
9522
+ text: s(
9523
+ "raids.happy_christmas.ev_santa_claus_already_free.text"
9524
+ ),
9525
+ rewards: void 0,
9526
+ penalties: void 0,
9527
+ outputs: [
9528
+ {
9529
+ id: "goto_return_desert_beach",
9530
+ label: s(
9531
+ "raids.happy_christmas.goto_return_desert_beach.label"
9532
+ ),
9533
+ goto: [
9534
+ "uc_continue",
9535
+ "ev_elf_scared",
9536
+ "rq_go_to_santa_claus",
9537
+ "ev_santa_claus_island",
9538
+ "uc_land_on_santa_claus_island",
9539
+ "ev_abandoned_village"
9540
+ ]
9541
+ }
9542
+ ]
9543
+ },
9544
+ failure: {
9545
+ id: "ev_santa_claus_not_free",
9546
+ title: s(
9547
+ "raids.happy_christmas.ev_santa_claus_not_free.title"
9548
+ ),
9549
+ text: s(
9550
+ "raids.happy_christmas.ev_santa_claus_not_free.text"
9551
+ ),
9552
+ rewards: void 0,
9553
+ penalties: void 0,
9554
+ outputs: [
9555
+ {
9556
+ id: "goto_continue",
9557
+ label: s(
9558
+ "raids.happy_christmas.goto_continue.label"
9559
+ ),
9560
+ goto: [
9561
+ "uc_continue",
9562
+ "ev_elf_scared",
9563
+ "rq_go_to_santa_claus",
9564
+ "ev_santa_claus_island",
9565
+ "uc_land_on_santa_claus_island",
9566
+ "ev_abandoned_village",
9567
+ "uc_go_forest",
9568
+ "c_already_meet_giant",
9569
+ "ev_forest_not_meet_giant",
9570
+ "uc_continue",
9571
+ "ev_found_santa_claus_house"
9572
+ ]
9573
+ }
9574
+ ]
9575
+ }
9576
+ }
9402
9577
  }
9403
9578
  ]
9404
9579
  },