@wayward/types 2.15.0-beta.dev.20251018.2 → 2.15.0-beta.dev.20251019.1
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/definitions/game/game/curse/Curse.d.ts +1 -1
- package/definitions/game/language/dictionary/Message.d.ts +561 -560
- package/definitions/game/ui/screen/screens/game/static/stats/component/StatComponent.d.ts +6 -3
- package/definitions/utilities/log/ErrorReporting.d.ts +2 -0
- package/package.json +1 -1
|
@@ -109,7 +109,7 @@ declare namespace Curse {
|
|
|
109
109
|
function unload(island: Island): void;
|
|
110
110
|
function cleanup(island: Island, humans?: Human[], isMorning?: boolean): void;
|
|
111
111
|
function cleanupEphemerals(island: Island): void;
|
|
112
|
-
function createCurseEventContext(instance: CurseEventInstance, island: Island
|
|
112
|
+
function createCurseEventContext(instance: CurseEventInstance, island: Island): CurseEventContext;
|
|
113
113
|
}
|
|
114
114
|
declare const SYMBOL_CURSE_EVENT_SUBSCRIBER_INSTANCES: unique symbol;
|
|
115
115
|
declare const SYMBOL_CURSE_EVENT_GLOBAL_SUBSCRIBER_INSTANCE: unique symbol;
|
|
@@ -331,565 +331,566 @@ declare enum Message {
|
|
|
331
331
|
CurseUpdateSunrise = 319,
|
|
332
332
|
CurseUpdateSunset = 320,
|
|
333
333
|
CurseUpdateWarning = 321,
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
334
|
+
CurseActionSailToIslandCannotUseCursebearer = 322,
|
|
335
|
+
Cut = 323,
|
|
336
|
+
CutHasHealed = 324,
|
|
337
|
+
CutLostHealth = 325,
|
|
338
|
+
CutWasBandaged = 326,
|
|
339
|
+
DamageAppeared = 327,
|
|
340
|
+
DamagedByPouring = 328,
|
|
341
|
+
DangerousMove = 329,
|
|
342
|
+
DangerousOpen = 330,
|
|
343
|
+
DayQuarter1 = 331,
|
|
344
|
+
DayQuarter2 = 332,
|
|
345
|
+
DayQuarter3 = 333,
|
|
346
|
+
DayQuarter4 = 334,
|
|
347
|
+
DealtNoDamageToYou = 335,
|
|
348
|
+
DeathBy = 336,
|
|
349
|
+
DeathByBleeding = 337,
|
|
350
|
+
DeathByBurning = 338,
|
|
351
|
+
DeathByChallengeWinner = 339,
|
|
352
|
+
DeathByConsumption = 340,
|
|
353
|
+
DeathByCut = 341,
|
|
354
|
+
DeathByDrowning = 342,
|
|
355
|
+
DeathByExhaustion = 343,
|
|
356
|
+
DeathByFistByPlayer = 344,
|
|
357
|
+
DeathByFrostbite = 345,
|
|
358
|
+
DeathByFrostbiteTemperatureShock = 346,
|
|
359
|
+
DeathByMalnutrition = 347,
|
|
360
|
+
DeathByPoison = 348,
|
|
361
|
+
DeathBySteppingOn = 349,
|
|
362
|
+
DeathByTrap = 350,
|
|
363
|
+
DeathByWeaponByPlayer = 351,
|
|
364
|
+
DedicatedTitleAlreadySelected = 352,
|
|
365
|
+
DedicatedTitleMilestoneNotAllowed = 353,
|
|
366
|
+
DestroyedFromUse = 354,
|
|
367
|
+
DeveloperContainerDesync = 355,
|
|
368
|
+
DidNotSeemToBeHurting = 356,
|
|
369
|
+
Dig = 357,
|
|
370
|
+
DigAway = 358,
|
|
371
|
+
Digging = 359,
|
|
372
|
+
Disassemble = 360,
|
|
373
|
+
Disassembling = 361,
|
|
374
|
+
DiscoveredCaveEntrance = 362,
|
|
375
|
+
DiscoveredColdInsulation = 363,
|
|
376
|
+
DiscoveredHeatInsulation = 364,
|
|
377
|
+
DiscoveredInTheBottle = 365,
|
|
378
|
+
DiscoveredLavaPassage = 366,
|
|
379
|
+
DiscoveredQuality = 367,
|
|
380
|
+
Dismantle = 368,
|
|
381
|
+
Dismantling = 369,
|
|
382
|
+
DismantlingRequires = 370,
|
|
383
|
+
Dismounted = 371,
|
|
384
|
+
DisplacedPuddles = 372,
|
|
385
|
+
DoNotProduceAnyResources = 373,
|
|
386
|
+
DoodadCauseStatus = 374,
|
|
387
|
+
DoodadGroupTier = 375,
|
|
388
|
+
DrewSurroundings = 376,
|
|
389
|
+
Dripstone = 377,
|
|
390
|
+
DroppedIntoDepths = 378,
|
|
391
|
+
DroppedIntoFire = 379,
|
|
392
|
+
DroppedIntoTheVoid = 380,
|
|
393
|
+
DryadSprouted = 381,
|
|
394
|
+
DueToDehydration = 382,
|
|
395
|
+
DueToStarvation = 383,
|
|
396
|
+
DugTreasureOut = 384,
|
|
397
|
+
DugTreasureOutSurprise = 385,
|
|
398
|
+
DumpContentsOfContainerInInventory = 386,
|
|
399
|
+
DyingOfDehydration = 387,
|
|
400
|
+
EarnedMilestone = 388,
|
|
401
|
+
Effective = 389,
|
|
402
|
+
EquipmentPreventedStatusEffects = 390,
|
|
403
|
+
ErrorHasOccured = 391,
|
|
404
|
+
Excavating = 392,
|
|
405
|
+
ExtinguishedFire = 393,
|
|
406
|
+
ExtinguishedLightSource = 394,
|
|
407
|
+
ExudeNotPossible = 395,
|
|
408
|
+
FailedToAbsorb = 396,
|
|
409
|
+
FailedToAddFuelToTorch = 397,
|
|
410
|
+
FailedToCage = 398,
|
|
411
|
+
FailedToCatchFish = 399,
|
|
412
|
+
FailedToCauseDamage = 400,
|
|
413
|
+
FailedToCauseYouDamage = 401,
|
|
414
|
+
FailedToCopy = 402,
|
|
415
|
+
FailedToDraw = 403,
|
|
416
|
+
FailedToEnchant = 404,
|
|
417
|
+
FailedToExude = 405,
|
|
418
|
+
FailedToIgniteTorch = 406,
|
|
419
|
+
FailedToPickLock = 407,
|
|
420
|
+
FailedToPreserve = 408,
|
|
421
|
+
FailedToRefine = 409,
|
|
422
|
+
FailedToReinforce = 410,
|
|
423
|
+
FailedToRepair = 411,
|
|
424
|
+
FailedToStartFire = 412,
|
|
425
|
+
FailedToTame = 413,
|
|
426
|
+
FailedToTransmogrify = 414,
|
|
427
|
+
FarOffLands = 415,
|
|
428
|
+
FeltBurningPainLostHealth = 416,
|
|
429
|
+
FeltFrostbitePainLostHealth = 417,
|
|
430
|
+
FewMinutes = 418,
|
|
431
|
+
Filled = 419,
|
|
432
|
+
FilledFrom = 420,
|
|
433
|
+
FireAroundYouIsWarm = 421,
|
|
434
|
+
FiredIntoObstacle = 422,
|
|
435
|
+
FireOverflowed = 423,
|
|
436
|
+
FireOverflowedFireElemental = 424,
|
|
437
|
+
FireSource = 425,
|
|
438
|
+
FishingWithNoBait = 426,
|
|
439
|
+
Floating = 427,
|
|
440
|
+
FreshWater = 428,
|
|
441
|
+
FromTheStill = 429,
|
|
442
|
+
FuelIsRequired = 430,
|
|
443
|
+
Gather = 431,
|
|
444
|
+
GatherDestroy = 432,
|
|
445
|
+
Gathering = 433,
|
|
446
|
+
GhostNoActions = 434,
|
|
447
|
+
GhostOf = 435,
|
|
448
|
+
GoatHasNoMilk = 436,
|
|
449
|
+
HackAway = 437,
|
|
450
|
+
HandProtectionPreventedInjury = 438,
|
|
451
|
+
HandsNotEffectiveFor = 439,
|
|
452
|
+
Harvest = 440,
|
|
453
|
+
Harvesting = 441,
|
|
454
|
+
HasBeenHurtByATrap = 442,
|
|
455
|
+
HasDecayed = 443,
|
|
456
|
+
HasHitYouForDamage = 444,
|
|
457
|
+
HasNoEffect = 445,
|
|
458
|
+
HasSetTrapOffNoDamage = 446,
|
|
459
|
+
HasSplit = 447,
|
|
460
|
+
HelpGrow = 448,
|
|
461
|
+
HitchAttempt = 449,
|
|
462
|
+
HitchCreature = 450,
|
|
463
|
+
HitchDisabled = 451,
|
|
464
|
+
HitchInUse = 452,
|
|
465
|
+
HitForDamage = 453,
|
|
466
|
+
HitYouForDamage = 454,
|
|
467
|
+
Hour = 455,
|
|
468
|
+
Hours = 456,
|
|
469
|
+
HurtHandsHittingWithoutWeapons = 457,
|
|
470
|
+
HurtHandsWithNoTool = 458,
|
|
471
|
+
IgnitedTorch = 459,
|
|
472
|
+
Ineffective = 460,
|
|
473
|
+
InjuredFromTrap = 461,
|
|
474
|
+
InNeedOfRepair = 462,
|
|
475
|
+
InteractingWithHasInjuredYouForDamage = 463,
|
|
476
|
+
InvalidContainer = 464,
|
|
477
|
+
IsInTheWayOfPickingUp = 465,
|
|
478
|
+
ItemFromWater = 466,
|
|
479
|
+
JoinedAServer = 467,
|
|
480
|
+
Jump = 468,
|
|
481
|
+
Killed = 469,
|
|
482
|
+
KnowledgeHasIncreased = 470,
|
|
483
|
+
LastPlaceYouLeftOff = 471,
|
|
484
|
+
LearnedHowToCreate = 472,
|
|
485
|
+
LikelyFailures = 473,
|
|
486
|
+
Limited = 474,
|
|
487
|
+
Lockpick = 475,
|
|
488
|
+
MapCompletedNotOfThisArea = 476,
|
|
489
|
+
MapDestroyed = 477,
|
|
490
|
+
MapNearlyDestroyed = 478,
|
|
491
|
+
MapNotOfThisArea = 479,
|
|
492
|
+
MaterialsDestroyed = 480,
|
|
493
|
+
MessageOfTheDay = 481,
|
|
494
|
+
MetabolismSlowed = 482,
|
|
495
|
+
Milk = 483,
|
|
496
|
+
Mine = 484,
|
|
497
|
+
Mining = 485,
|
|
498
|
+
MissedWith = 486,
|
|
499
|
+
MissedYouWith = 487,
|
|
500
|
+
MovedItem = 488,
|
|
501
|
+
MovedItemFailed = 489,
|
|
502
|
+
MoveOverTrapButDoNotSetOff = 490,
|
|
503
|
+
MultiplayerGamePaused = 491,
|
|
504
|
+
MultiplayerGameResumed = 492,
|
|
505
|
+
MultiplayerPlayerConnected = 493,
|
|
506
|
+
MultiplayerPlayerDied = 494,
|
|
507
|
+
MultiplayerPlayerDisconnected = 495,
|
|
508
|
+
MultiplayerPlayerJoined = 496,
|
|
509
|
+
MustBeEquippedToIgnite = 497,
|
|
510
|
+
Mysteriously = 498,
|
|
511
|
+
NearlyBurnedEquipmentProtectedYou = 499,
|
|
512
|
+
NeedToStartTravelsOutside = 500,
|
|
513
|
+
NeedWaterForBoat = 501,
|
|
514
|
+
NightQuarter1 = 502,
|
|
515
|
+
NightQuarter2 = 503,
|
|
516
|
+
NightQuarter3 = 504,
|
|
517
|
+
NightQuarter4 = 505,
|
|
518
|
+
No = 506,
|
|
519
|
+
NoAmmunitionForThatWeapon = 507,
|
|
520
|
+
NoCandleToStartFire = 508,
|
|
521
|
+
NoFireToStokeWith = 509,
|
|
522
|
+
NoFishAtLocation = 510,
|
|
523
|
+
NoGroundWater = 511,
|
|
524
|
+
NoInkToDrawMap = 512,
|
|
525
|
+
NoKindlingOrFuelItemsToStartFire = 513,
|
|
526
|
+
NoKindlingToStartFire = 514,
|
|
527
|
+
NoLongerFeelPainOfBeingBurned = 515,
|
|
528
|
+
NoLongerFeelPainOfBeingFrostbitten = 516,
|
|
529
|
+
NoLongerHostile = 517,
|
|
530
|
+
NoMoreRoomInContainer = 518,
|
|
531
|
+
NoPaperToDrawMap = 519,
|
|
532
|
+
NoRequiredItemToFireWeapon = 520,
|
|
533
|
+
NoReturnWithoutCompletingChallenges = 521,
|
|
534
|
+
NoRoomForImprovement = 522,
|
|
535
|
+
NoRoomForVehicle = 523,
|
|
536
|
+
NoRoomToDrop = 524,
|
|
537
|
+
NoRoomToSummon = 525,
|
|
538
|
+
NotEnoughPurifiedWaterYet = 526,
|
|
539
|
+
NotEnoughTreasureToReturn = 527,
|
|
540
|
+
NothingTo = 528,
|
|
541
|
+
NothingToGetFromThis = 529,
|
|
542
|
+
NothingToHarvestFromThisGather = 530,
|
|
543
|
+
NothingToSmother = 531,
|
|
544
|
+
NothingUsefulToHarvestYet = 532,
|
|
545
|
+
NoTinderToStartFire = 533,
|
|
546
|
+
NotSuitableToPlant = 534,
|
|
547
|
+
NoWaterInStill = 535,
|
|
548
|
+
NPCMerchantNewInventoryDialogue1 = 536,
|
|
549
|
+
NPCMerchantNewInventoryDialogue2 = 537,
|
|
550
|
+
NPCMerchantNewInventoryDialogue3 = 538,
|
|
551
|
+
NPCMerchantNewInventoryDialogue4 = 539,
|
|
552
|
+
NPCMerchantStartingDialogue1 = 540,
|
|
553
|
+
NPCMerchantStartingDialogue2 = 541,
|
|
554
|
+
NPCMerchantStartingDialogue3 = 542,
|
|
555
|
+
NPCMerchantStartingDialogue4 = 543,
|
|
556
|
+
NPCMerchantWelcomeCredit = 544,
|
|
557
|
+
NPCShipperShipToIsland = 545,
|
|
558
|
+
NPCShipperStartingDialogue1 = 546,
|
|
559
|
+
NPCShipperStartingDialogue2 = 547,
|
|
560
|
+
NPCShipperStartingDialogue3 = 548,
|
|
561
|
+
NPCShipperStartingDialogue4 = 549,
|
|
562
|
+
NPCWelcome = 550,
|
|
563
|
+
ObjectIsLocked = 551,
|
|
564
|
+
ObjectIsLockedAttemptToBreakIt = 552,
|
|
565
|
+
OfferAberrantFail = 553,
|
|
566
|
+
OfferAberrantFailButTamed = 554,
|
|
567
|
+
Open = 555,
|
|
568
|
+
OpenClose = 556,
|
|
569
|
+
OpenCollapse = 557,
|
|
570
|
+
OverEatingLostStamina = 558,
|
|
571
|
+
OverHydratingLostStamina = 559,
|
|
572
|
+
Pack = 560,
|
|
573
|
+
PaperTurnedToMush = 561,
|
|
574
|
+
ParryTheBlow = 562,
|
|
575
|
+
PetCreature = 563,
|
|
576
|
+
PickAway = 564,
|
|
577
|
+
PickUp = 565,
|
|
578
|
+
PickUpExcrement = 566,
|
|
579
|
+
PickUpTheItem = 567,
|
|
580
|
+
Place = 568,
|
|
581
|
+
PlacedItem = 569,
|
|
582
|
+
PlacedItemFailed = 570,
|
|
583
|
+
PlacedOnGround = 571,
|
|
584
|
+
PlantedInGround = 572,
|
|
585
|
+
PlantGatheredPlant = 573,
|
|
586
|
+
PlantGatheringWillDestroy = 574,
|
|
587
|
+
PlantHasResourcesToGather = 575,
|
|
588
|
+
PlantHasResourcesToHarvest = 576,
|
|
589
|
+
PlantHighlyFertile = 577,
|
|
590
|
+
Planting = 578,
|
|
591
|
+
PlantIsBare = 579,
|
|
592
|
+
PlantIsFertile = 580,
|
|
593
|
+
PlantIsInStage = 581,
|
|
594
|
+
PlantIsNotFertile = 582,
|
|
595
|
+
PlantIsSeeding = 583,
|
|
596
|
+
PlantNotReadyToHarvest = 584,
|
|
597
|
+
PlantReadyToGather = 585,
|
|
598
|
+
PlantReadyToGatherNotMaximal = 586,
|
|
599
|
+
PlantReadyToHarvest = 587,
|
|
600
|
+
PlantReadyToHarvestNotMaximal = 588,
|
|
601
|
+
PlayerHas = 589,
|
|
602
|
+
PlayerHasCompletedChallengeRequirement = 590,
|
|
603
|
+
PlayerHasWonChallenge = 591,
|
|
604
|
+
Poisoned = 592,
|
|
605
|
+
PoisonedLostHealth = 593,
|
|
606
|
+
PoisonWorkedItsCourse = 594,
|
|
607
|
+
PouredOut = 595,
|
|
608
|
+
PouredOutOnYourself = 596,
|
|
609
|
+
PouredWaterIntoStill = 597,
|
|
610
|
+
PourHarmedPlant = 598,
|
|
611
|
+
PourHealedPlant = 599,
|
|
612
|
+
PourHealedPlantFully = 600,
|
|
613
|
+
PourHealedPlantPartially = 601,
|
|
614
|
+
PourIncreasedFertility = 602,
|
|
615
|
+
Pouring = 603,
|
|
616
|
+
PourOverWatering = 604,
|
|
617
|
+
Prepare = 605,
|
|
618
|
+
Prepared = 606,
|
|
619
|
+
PreservedFood = 607,
|
|
620
|
+
PurifiedWaterInBottom = 608,
|
|
621
|
+
PurifiedWaterInStill = 609,
|
|
622
|
+
RandomEventsFire = 610,
|
|
623
|
+
ReduceLength = 611,
|
|
624
|
+
RefusedToBeTamed = 612,
|
|
625
|
+
Repair = 613,
|
|
626
|
+
RequiredForDisassembly = 614,
|
|
627
|
+
RequiresFireToBeLit = 615,
|
|
628
|
+
RequiresYouToBeAround = 616,
|
|
629
|
+
Resistant = 617,
|
|
630
|
+
Rest = 618,
|
|
631
|
+
Rested = 619,
|
|
632
|
+
Resting = 620,
|
|
633
|
+
RestingOnGroundNotEffective = 621,
|
|
634
|
+
RestInterrupted = 622,
|
|
635
|
+
RestInterruptedDamage = 623,
|
|
636
|
+
RestInterruptedDying = 624,
|
|
637
|
+
RestInterruptedLoudNoise = 625,
|
|
638
|
+
RestInterruptedPain = 626,
|
|
639
|
+
RestInterruptedStirring = 627,
|
|
640
|
+
RestInterruptedTooCold = 628,
|
|
641
|
+
RestInterruptedTooHot = 629,
|
|
642
|
+
RestInterruptedUncomfortablyCold = 630,
|
|
643
|
+
RestInterruptedUncomfortablyHot = 631,
|
|
644
|
+
RestInterruptedWaterPoured = 632,
|
|
645
|
+
RestLongTime = 633,
|
|
646
|
+
RestModerateTime = 634,
|
|
647
|
+
RestOnBoat = 635,
|
|
648
|
+
RestShortTime = 636,
|
|
649
|
+
RestTime = 637,
|
|
650
|
+
ReturnedToCivilization = 638,
|
|
651
|
+
ReturningToCivilizationSetOffAgain = 639,
|
|
652
|
+
ReturnsToLife = 640,
|
|
653
|
+
Reverse = 641,
|
|
654
|
+
Ride = 642,
|
|
655
|
+
Sailing = 643,
|
|
656
|
+
ScrollMaster = 644,
|
|
657
|
+
ScrollProvidedNoUsefulInsight = 645,
|
|
658
|
+
Seawater = 646,
|
|
659
|
+
SeemsToHaveDrawnEnergy = 647,
|
|
660
|
+
SetTrapOffButNoDamage = 648,
|
|
661
|
+
SetUp = 649,
|
|
662
|
+
ShadowInTheWater = 650,
|
|
663
|
+
SkillHasRaised = 651,
|
|
664
|
+
Skills = 652,
|
|
665
|
+
Sleep = 653,
|
|
666
|
+
Sleeping = 654,
|
|
667
|
+
SleepOnBoat = 655,
|
|
668
|
+
Slept = 656,
|
|
669
|
+
SlitherSuckerConstricts = 657,
|
|
670
|
+
SlitherSuckerFailedToRemove = 658,
|
|
671
|
+
SlitherSuckerFailedToRemoveOuch = 659,
|
|
672
|
+
SlitherSuckerJumpedOnHead = 660,
|
|
673
|
+
SolarStill = 661,
|
|
674
|
+
SomethingInTheWayOf = 662,
|
|
675
|
+
SomethingInTheWayOfButcherFirst = 663,
|
|
676
|
+
SomethingInTheWayOfFire = 664,
|
|
677
|
+
SomethingInTheWayOfFishing = 665,
|
|
678
|
+
SomethingInTheWayOfPerforming = 666,
|
|
679
|
+
SomethingInTheWayOfPlacing = 667,
|
|
680
|
+
SomethingInTheWayOfReleasing = 668,
|
|
681
|
+
SomethingInTheWayOfSummoning = 669,
|
|
682
|
+
SomethingInWayOfClosingDoor = 670,
|
|
683
|
+
SoothedTheirBurnInjuries = 671,
|
|
684
|
+
SoothedYourBurnInjuries = 672,
|
|
685
|
+
SortedByCategory = 673,
|
|
686
|
+
SortedByCraftableOnly = 674,
|
|
687
|
+
SortedByName = 675,
|
|
688
|
+
SortedBySkill = 676,
|
|
689
|
+
SortedByUnlockedTime = 677,
|
|
690
|
+
StaminaIsFull = 678,
|
|
691
|
+
StartedFire = 679,
|
|
692
|
+
StartTravelInWater = 680,
|
|
693
|
+
StarvingToDeath = 681,
|
|
694
|
+
StatAmount = 682,
|
|
695
|
+
StatChangeUnknown = 683,
|
|
696
|
+
StatGained = 684,
|
|
697
|
+
StatIncreasing = 685,
|
|
698
|
+
StatLost = 686,
|
|
699
|
+
StatQuenched = 687,
|
|
700
|
+
StatRegained = 688,
|
|
701
|
+
StatSated = 689,
|
|
702
|
+
SteppingOn = 690,
|
|
703
|
+
Still = 691,
|
|
704
|
+
StillHasNoWaterToPurify = 692,
|
|
705
|
+
StillNoContainer = 693,
|
|
706
|
+
StillTooColdToWork = 694,
|
|
707
|
+
StirredUpClawWorm = 695,
|
|
708
|
+
StirredUpCreature = 696,
|
|
709
|
+
StoppedYourBleeding = 697,
|
|
710
|
+
StopUsingVehicle = 698,
|
|
711
|
+
SummonedGuardiansByDiggingTreasure = 699,
|
|
712
|
+
SummonedGuardiansByLockpicking = 700,
|
|
713
|
+
SummonVoidDwellerItem = 701,
|
|
714
|
+
SummonVoidDwellerRinging = 702,
|
|
715
|
+
SummonVoidDwellerShiver = 703,
|
|
716
|
+
SunNotBrightEnoughToStartFire = 704,
|
|
717
|
+
SwampWater = 705,
|
|
718
|
+
Swimming = 706,
|
|
719
|
+
TakenFromGroundBecomeTamed = 707,
|
|
720
|
+
TeleportBlocked = 708,
|
|
721
|
+
Teleported = 709,
|
|
722
|
+
TheirFist = 710,
|
|
723
|
+
TheirInventory = 711,
|
|
724
|
+
ThePlant = 712,
|
|
725
|
+
ThereIsNoContainerOnTheStill = 713,
|
|
726
|
+
ThereIsNoSunToStartFire = 714,
|
|
727
|
+
ThisCannotBeMilked = 715,
|
|
728
|
+
Throw = 716,
|
|
729
|
+
ThrownIntoDepths = 717,
|
|
730
|
+
ThrownIntoObstacle = 718,
|
|
731
|
+
ThrownIntoVoid = 719,
|
|
732
|
+
TierGroup = 720,
|
|
733
|
+
TileMakeCaveEntranceNearby = 721,
|
|
734
|
+
TileMakeCaveEntrancePassable = 722,
|
|
735
|
+
TileMakeCaveEntranceVoid = 723,
|
|
736
|
+
Till = 724,
|
|
737
|
+
Tilling = 725,
|
|
738
|
+
TimeIs = 726,
|
|
739
|
+
TimeIsDawn = 727,
|
|
740
|
+
TimeIsDaytime = 728,
|
|
741
|
+
TimeIsDusk = 729,
|
|
742
|
+
TimeIsNighttime = 730,
|
|
743
|
+
TimeIsSunrise = 731,
|
|
744
|
+
TimeIsSunset = 732,
|
|
745
|
+
ToFight = 733,
|
|
746
|
+
TooDamaged = 734,
|
|
747
|
+
TooExhaustedToJump = 735,
|
|
748
|
+
Touching = 736,
|
|
749
|
+
TrampledFire = 737,
|
|
750
|
+
TrampledFireFail = 738,
|
|
751
|
+
TrampledFirePartial = 739,
|
|
752
|
+
TrampledIntoGround = 740,
|
|
753
|
+
TrampleIntoGround = 741,
|
|
754
|
+
Trampling = 742,
|
|
755
|
+
TransmogrificationNoEffect = 743,
|
|
756
|
+
TransmogrificationNotPossible = 744,
|
|
757
|
+
Transmogrified = 745,
|
|
758
|
+
TrapMissed = 746,
|
|
759
|
+
TrapStoppedYou = 747,
|
|
760
|
+
Traveling = 748,
|
|
761
|
+
Treasure = 749,
|
|
762
|
+
TreasureIsBlocked = 750,
|
|
763
|
+
UiActionCannotUseInaccessibleItem = 751,
|
|
764
|
+
UiActionCannotUseInThisSituation = 752,
|
|
765
|
+
UiActionCannotUseNoItemHovered = 753,
|
|
766
|
+
UiActionCannotUseNotInRange = 754,
|
|
767
|
+
UiActionCannotUseOnThisIsland = 755,
|
|
768
|
+
UiActionCannotUseRequiresCreature = 756,
|
|
769
|
+
UiActionCannotUseRequiresDoodad = 757,
|
|
770
|
+
UiActionCannotUseRequiresItem = 758,
|
|
771
|
+
UiActionCannotUseRequiresNPC = 759,
|
|
772
|
+
UiActionCannotUseRequiresVehicle = 760,
|
|
773
|
+
UiDialogTradeIndicateTradeAlreadyTradedBuyDialogue1 = 761,
|
|
774
|
+
UiDialogTradeIndicateTradeAlreadyTradedBuyDialogue2 = 762,
|
|
775
|
+
UiDialogTradeIndicateTradeAlreadyTradedBuyDialogue3 = 763,
|
|
776
|
+
UiDialogTradeIndicateTradeAlreadyTradedSellDialogue1 = 764,
|
|
777
|
+
UiDialogTradeIndicateTradeAlreadyTradedSellDialogue2 = 765,
|
|
778
|
+
UiDialogTradeIndicateTradeAlreadyTradedSellDialogue3 = 766,
|
|
779
|
+
UiDialogTradeIndicateTradeTooMuchTradesDialogue1 = 767,
|
|
780
|
+
UiDialogTradeIndicateTradeTooMuchTradesDialogue2 = 768,
|
|
781
|
+
UiDialogTradeIndicateTradeTooMuchTradesDialogue3 = 769,
|
|
782
|
+
UnhitchCreature = 770,
|
|
783
|
+
Unknown = 771,
|
|
784
|
+
Unlimited = 772,
|
|
785
|
+
UnlockedChest = 773,
|
|
786
|
+
UnpurifiedFreshWater = 774,
|
|
787
|
+
UnpurifiedWaterInStill = 775,
|
|
788
|
+
UnpurifiedWaterInTop = 776,
|
|
789
|
+
Use = 777,
|
|
790
|
+
UsingBareHands = 778,
|
|
791
|
+
VehicleDefense = 779,
|
|
792
|
+
Vulnerable = 780,
|
|
793
|
+
Water = 781,
|
|
794
|
+
WaterGathering = 782,
|
|
795
|
+
WaterPutOutFire = 783,
|
|
796
|
+
WellIsDry = 784,
|
|
797
|
+
WellIsFull = 785,
|
|
798
|
+
WildGoatRefusedToBeMilked = 786,
|
|
799
|
+
WorkingYourselfIntoExhaustion = 787,
|
|
800
|
+
WorkingYourselfIntoExhaustionAndDrowning = 788,
|
|
801
|
+
WorldContainer = 789,
|
|
802
|
+
You = 790,
|
|
803
|
+
YouAbsorb = 791,
|
|
804
|
+
YouApplied = 792,
|
|
805
|
+
YouAreAlready = 793,
|
|
806
|
+
YouAte = 794,
|
|
807
|
+
YouBeginResting = 795,
|
|
808
|
+
YouCannotDoThatYet = 796,
|
|
809
|
+
YouCanNowCombatTheTides = 797,
|
|
810
|
+
YouCrafted = 798,
|
|
811
|
+
YouDoNotFindTreasureYet = 799,
|
|
812
|
+
YouDrank = 800,
|
|
813
|
+
YouDropTheTorch = 801,
|
|
814
|
+
YouEnchant = 802,
|
|
815
|
+
YouEquip = 803,
|
|
816
|
+
YouExude = 804,
|
|
817
|
+
YouExudeSome = 805,
|
|
818
|
+
YouExudeSomeReasonConflicting = 806,
|
|
819
|
+
YouExudeSomeReasonMax = 807,
|
|
820
|
+
YouExudeSomeReasonProperties = 808,
|
|
821
|
+
YouFailedTo = 809,
|
|
822
|
+
YouFailedToExtinguishedFireFully = 810,
|
|
823
|
+
YouFailedToHeal = 811,
|
|
824
|
+
YouFailedToHealOther = 812,
|
|
825
|
+
YouFire = 813,
|
|
826
|
+
YouGathered = 814,
|
|
827
|
+
YouHarvested = 815,
|
|
828
|
+
YouHave = 816,
|
|
829
|
+
YouHaveAlreadyLearned = 817,
|
|
830
|
+
YouHaveBeenCut = 818,
|
|
831
|
+
YouHaveCaged = 819,
|
|
832
|
+
YouHaveCommanded = 820,
|
|
833
|
+
YouHaveDied = 821,
|
|
834
|
+
YouHaveHealedOther = 822,
|
|
835
|
+
YouHaveKilled = 823,
|
|
836
|
+
YouHaveNotCommanded = 824,
|
|
837
|
+
YouHaveReleased = 825,
|
|
838
|
+
YouHaveSummoned = 826,
|
|
839
|
+
YouHaveTamed = 827,
|
|
840
|
+
YouHaveUncaged = 828,
|
|
841
|
+
YouNoticeBarren = 829,
|
|
842
|
+
YouNoticeBecomeEnraged = 830,
|
|
843
|
+
YouNoticeDying = 831,
|
|
844
|
+
YouNoticeFertilityDecreasing = 832,
|
|
845
|
+
YouNoticeFertilityIncreasing = 833,
|
|
846
|
+
YouNoticeGrowing = 834,
|
|
847
|
+
YouNoticeLavaCooling = 835,
|
|
848
|
+
YouNoticeLavaHardening = 836,
|
|
849
|
+
YouNoticePerish = 837,
|
|
850
|
+
YouNoticePlantDamage = 838,
|
|
851
|
+
YouNoticePlantRegenerated = 839,
|
|
852
|
+
YouNoticeStumbleInjureItself = 840,
|
|
853
|
+
YouNoticeTakeFromGround = 841,
|
|
854
|
+
YouNoticeWoundsClosing = 842,
|
|
855
|
+
YouOfferedToCreature = 843,
|
|
856
|
+
YouOfferedToCreatureRejects = 844,
|
|
857
|
+
YouOpen = 845,
|
|
858
|
+
YouPacked = 846,
|
|
859
|
+
YouPickedUp = 847,
|
|
860
|
+
YouRefine = 848,
|
|
861
|
+
YouReinforce = 849,
|
|
862
|
+
YouRepair = 850,
|
|
863
|
+
YouReturnFromCivilizationWith = 851,
|
|
864
|
+
YourFist = 852,
|
|
865
|
+
YourHands = 853,
|
|
866
|
+
YourInventory = 854,
|
|
867
|
+
YourIsland = 855,
|
|
868
|
+
YouSeeALivingMushroomSpore = 856,
|
|
869
|
+
YouSeeASkeletonCollapse = 857,
|
|
870
|
+
YouSeeASlimeCombine = 858,
|
|
871
|
+
YouSeeAZombieBleeding = 859,
|
|
872
|
+
YouSeeCoolDown = 860,
|
|
873
|
+
YouSeeDrop = 861,
|
|
874
|
+
YouSeeEngulfFire = 862,
|
|
875
|
+
YouSeeFireSpread = 863,
|
|
876
|
+
YouSeeHelpingPlant = 864,
|
|
877
|
+
YouSeeLay = 865,
|
|
878
|
+
YouSeeLayingTrap = 866,
|
|
879
|
+
YouSeeSpewLava = 867,
|
|
880
|
+
YouSeeSpiderSpin = 868,
|
|
881
|
+
YouSeeSpitAcid = 869,
|
|
882
|
+
YouSeeSpringForth = 870,
|
|
883
|
+
YouSeeSummon = 871,
|
|
884
|
+
YouSeeSwampFlood = 872,
|
|
885
|
+
YouSeeTrampling = 873,
|
|
886
|
+
YouSetTheTrapOff = 874,
|
|
887
|
+
YouStokeTheCreature = 875,
|
|
888
|
+
YouSwapMainHandAndOffHand = 876,
|
|
889
|
+
YouThrew = 877,
|
|
890
|
+
YouTilled = 878,
|
|
891
|
+
YouUnequip = 879,
|
|
892
|
+
YouUsed = 880,
|
|
893
|
+
YouViewTheItemsOn = 881,
|
|
894
|
+
YouWhileTraveling = 882
|
|
894
895
|
}
|
|
895
896
|
export default Message;
|
|
@@ -17,6 +17,7 @@ import type TranslationImpl from "@wayward/game/language/impl/TranslationImpl";
|
|
|
17
17
|
import { PathType } from "@wayward/game/resource/IResourceLoader";
|
|
18
18
|
import Component from "@wayward/game/ui/component/Component";
|
|
19
19
|
import Text from "@wayward/game/ui/component/Text";
|
|
20
|
+
import type { IStatDisplayDescription } from "@wayward/game/ui/screen/screens/game/static/stats/IStatDisplayDescription";
|
|
20
21
|
import ImagePath from "@wayward/game/ui/util/ImagePath";
|
|
21
22
|
import type { Events, IEventEmitter } from "@wayward/utilities/event/EventEmitter";
|
|
22
23
|
export declare enum StatClasses {
|
|
@@ -40,17 +41,19 @@ export declare enum StatClasses {
|
|
|
40
41
|
}
|
|
41
42
|
export interface IStatComponentEvents extends Events<Component> {
|
|
42
43
|
update(): any;
|
|
44
|
+
resubscribe(): any;
|
|
43
45
|
}
|
|
44
46
|
export default abstract class StatComponent extends Component {
|
|
45
47
|
private readonly stat;
|
|
46
|
-
protected readonly statDescription:
|
|
48
|
+
protected readonly statDescription: IStatDisplayDescription | undefined;
|
|
47
49
|
event: IEventEmitter<this, IStatComponentEvents>;
|
|
48
50
|
readonly statIcon: ImagePath<PathType.StatIcon>;
|
|
49
51
|
private readonly entityRef;
|
|
50
52
|
protected get entity(): EntityWithStats | undefined;
|
|
51
53
|
private hidingDueToMilestone;
|
|
52
54
|
private updatingVisibility;
|
|
53
|
-
constructor(entity: EntityWithStats, stat: Stat, noEvents?: true, statDescription?:
|
|
55
|
+
constructor(entity: EntityWithStats, stat: Stat, noEvents?: true, statDescription?: IStatDisplayDescription | undefined);
|
|
56
|
+
private subscribe;
|
|
54
57
|
private onUpdateMilestone;
|
|
55
58
|
protected onRemove(): void;
|
|
56
59
|
/**
|
|
@@ -115,7 +118,7 @@ export declare class Statbar extends StatComponent {
|
|
|
115
118
|
export declare class StatAttribute extends StatComponent {
|
|
116
119
|
readonly attribute?: Text;
|
|
117
120
|
readonly label?: Text;
|
|
118
|
-
constructor(entity: EntityWithStats, stat: Stat, noEvents?: true, statDescription?:
|
|
121
|
+
constructor(entity: EntityWithStats, stat: Stat, noEvents?: true, statDescription?: IStatDisplayDescription | undefined);
|
|
119
122
|
getTextElement(): Text | undefined;
|
|
120
123
|
getDisplayElement(): Text | undefined;
|
|
121
124
|
}
|
|
@@ -18,11 +18,13 @@ declare namespace ErrorReporting {
|
|
|
18
18
|
* If this is called from a function that is registered in `Errors.ts` as a skipped callsite, you might have to pass `-1`.
|
|
19
19
|
* @param id The ID of this warning. Can be `Log.simplify` strings.
|
|
20
20
|
*/
|
|
21
|
+
function warnForCaller(id: ArrayOr<string | Log.SimplifyString>, ...message: any[]): void;
|
|
21
22
|
function warnForCaller(skip: number, id: ArrayOr<string | Log.SimplifyString>, ...message: any[]): void;
|
|
22
23
|
/**
|
|
23
24
|
* Warn about something once per session based on unique warning ids.
|
|
24
25
|
* This is like how node.js does warnings in console.
|
|
25
26
|
*/
|
|
26
27
|
function warnOncePerSession(warningId: ArrayOr<string | Log.SimplifyString>, ...message: any[]): void;
|
|
28
|
+
function warnOncePerSession(skip: number, warningId: ArrayOr<string | Log.SimplifyString>, ...message: any[]): void;
|
|
27
29
|
}
|
|
28
30
|
export default ErrorReporting;
|
package/package.json
CHANGED