@wayward/types 2.13.2-beta.dev.20230608.1 → 2.13.2-beta.dev.20230610.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/definitions/game/game/entity/creature/ICreature.d.ts +5 -4
- package/definitions/game/game/island/IIsland.d.ts +1 -0
- package/definitions/game/game/island/Island.d.ts +12 -3
- package/definitions/game/game/mapping/Background.d.ts +1 -1
- package/definitions/game/game/mapping/DrawnMap.d.ts +3 -1
- package/definitions/game/game/mapping/Obfuscation.d.ts +1 -1
- package/definitions/game/language/dictionary/Message.d.ts +504 -503
- package/definitions/game/renderer/context/RendererOrigin.d.ts +1 -1
- package/definitions/game/ui/component/dropdown/EnumDropdown.d.ts +1 -0
- package/definitions/game/ui/component/dropdown/IslandDropdown.d.ts +7 -2
- package/definitions/game/utilities/Version.d.ts +1 -1
- package/definitions/test/core/application.d.ts +1 -1
- package/package.json +1 -1
|
@@ -134,10 +134,11 @@ export declare enum TileGroup {
|
|
|
134
134
|
Seawater = 15,
|
|
135
135
|
FreshWater = 16,
|
|
136
136
|
Swamp = 17,
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
137
|
+
FreshWaterSwampWater = 18,
|
|
138
|
+
IceCap = 19,
|
|
139
|
+
IceCapWithWater = 20,
|
|
140
|
+
Void = 21,
|
|
141
|
+
DesertWithDirt = 22
|
|
141
142
|
}
|
|
142
143
|
export interface ICreatureDescription extends IModdable, ITemperatureDescription, ICausesStatusEffect {
|
|
143
144
|
minhp: number;
|
|
@@ -27,6 +27,7 @@ export type IslandId = `${number},${number}`;
|
|
|
27
27
|
export declare module IslandPosition {
|
|
28
28
|
function toId(position: IVector2): IslandId;
|
|
29
29
|
function fromId(id: IslandId): IVector2 | undefined;
|
|
30
|
+
function isTransient(id: IslandId): boolean;
|
|
30
31
|
function calculateBaseSeed(x: number, y: number, initialSeed: number): number;
|
|
31
32
|
}
|
|
32
33
|
export interface IIslandEvents {
|
|
@@ -75,15 +75,25 @@ export default class Island extends EventEmitter.Host<IIslandEvents> implements
|
|
|
75
75
|
readonly tileEvents: TileEventManager;
|
|
76
76
|
readonly time: TimeManager;
|
|
77
77
|
readonly world: World;
|
|
78
|
-
|
|
78
|
+
/**
|
|
79
|
+
* The version this island was originally made on
|
|
80
|
+
*/
|
|
81
|
+
version: Version.String;
|
|
82
|
+
/**
|
|
83
|
+
* The version the mapgen for this island uses
|
|
84
|
+
*/
|
|
85
|
+
mapGenVersion: Version.String;
|
|
86
|
+
/**
|
|
87
|
+
* The version this island was last loaded on
|
|
88
|
+
*/
|
|
79
89
|
saveVersion: Version.String;
|
|
90
|
+
saveBuildTime: number;
|
|
80
91
|
biomeType: BiomeTypes;
|
|
81
92
|
civilizationScore: number;
|
|
82
93
|
civilizationScoreTiles: Record<number, number>;
|
|
83
94
|
contaminatedWater: IWaterContamination[];
|
|
84
95
|
creatureSpawnTimer: number;
|
|
85
96
|
loadCount: number;
|
|
86
|
-
mapGenVersion: Version.String;
|
|
87
97
|
name?: string;
|
|
88
98
|
position: IVector2;
|
|
89
99
|
readonly mapSize: number;
|
|
@@ -92,7 +102,6 @@ export default class Island extends EventEmitter.Host<IIslandEvents> implements
|
|
|
92
102
|
referenceId?: number;
|
|
93
103
|
templateBiomeOptions: ITemplateBiomeOptions | undefined;
|
|
94
104
|
tileContainers: ITileContainer[];
|
|
95
|
-
version: Version.String;
|
|
96
105
|
tileData: SaferNumberIndexedObject<SaferNumberIndexedObject<SaferNumberIndexedObject<ITileData[]>>>;
|
|
97
106
|
readonly seeds: ISeeds;
|
|
98
107
|
readonly seededRandom: Random<LegacySeededGenerator | PCGSeededGenerator>;
|
|
@@ -13,7 +13,7 @@ export type CanvasImage = HTMLImageElement | HTMLCanvasElement | ImageBitmap;
|
|
|
13
13
|
export default class MapBackground {
|
|
14
14
|
private readonly seed?;
|
|
15
15
|
private readonly canvas;
|
|
16
|
-
constructor(radius: number, seed?: Uint16Array | undefined);
|
|
16
|
+
constructor(radius: number, seed?: number | Uint16Array | undefined);
|
|
17
17
|
render(mapImage: CanvasImage, theme: DrawnMapTheme): Promise<HTMLCanvasElement>;
|
|
18
18
|
private lastTheme?;
|
|
19
19
|
private renderBackground;
|
|
@@ -23,6 +23,8 @@ import type { IPreSerializeCallback, IUnserializedCallback } from "save/serializ
|
|
|
23
23
|
import type { IVector2, IVector3 } from "utilities/math/IVector";
|
|
24
24
|
import { IRange } from "utilities/math/Range";
|
|
25
25
|
import Sampler from "utilities/math/Sampler";
|
|
26
|
+
import { LegacySeededGenerator } from "utilities/random/generators/LegacySeededGenerator";
|
|
27
|
+
import { PCGSeededGenerator } from "utilities/random/generators/PCGSeededGenerator";
|
|
26
28
|
import type { Random } from "utilities/random/Random";
|
|
27
29
|
export declare enum DrawnMapType {
|
|
28
30
|
Treasure = 0,
|
|
@@ -103,7 +105,7 @@ export default class DrawnMap extends EventEmitter.Host<IDrawnMapEvents> impleme
|
|
|
103
105
|
*/
|
|
104
106
|
static initializeIslandTreasureMaps(island: Island, generationSettings: ITreasureMapGenerationSettings, mapGenOutput: IMapGenGenerateOutput): void;
|
|
105
107
|
static initializeIslandTreasureMapsDifferences(island: Island): void;
|
|
106
|
-
static plotRegion(island: Island, x: number, y: number, z: number, random?: Random
|
|
108
|
+
static plotRegion(island: Island, x: number, y: number, z: number, random?: Random<PCGSeededGenerator | LegacySeededGenerator>, map?: DrawnMap, radius?: number): DrawnMap;
|
|
107
109
|
private static plotTreasure;
|
|
108
110
|
private static findValidTreasureLocation;
|
|
109
111
|
private static getMapTile;
|
|
@@ -13,7 +13,7 @@ import type { DrawnMapTheme } from "game/mapping/IMapRender";
|
|
|
13
13
|
export default class Obfuscation {
|
|
14
14
|
private readonly seed?;
|
|
15
15
|
private readonly canvas;
|
|
16
|
-
constructor(radius: number, seed?: Uint16Array | undefined);
|
|
16
|
+
constructor(radius: number, seed?: number | Uint16Array | undefined);
|
|
17
17
|
obfuscate(mapImage: CanvasImage, obfuscation: number, theme: DrawnMapTheme): Promise<HTMLCanvasElement>;
|
|
18
18
|
private render;
|
|
19
19
|
}
|
|
@@ -296,508 +296,509 @@ declare enum Message {
|
|
|
296
296
|
DueToDehydration = 284,
|
|
297
297
|
DueToStarvation = 285,
|
|
298
298
|
DugTreasureOut = 286,
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
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
|
-
|
|
299
|
+
DugTreasureOutSurprise = 287,
|
|
300
|
+
DumpContentsOfContainerInInventory = 288,
|
|
301
|
+
DyingOfDehydration = 289,
|
|
302
|
+
EarnedMilestone = 290,
|
|
303
|
+
Effective = 291,
|
|
304
|
+
Enchant = 292,
|
|
305
|
+
EquipmentPreventedStatusEffects = 293,
|
|
306
|
+
ErrorHasOccured = 294,
|
|
307
|
+
ExtinguishedFire = 295,
|
|
308
|
+
ExtinguishedLightSource = 296,
|
|
309
|
+
Exude = 297,
|
|
310
|
+
ExudeNotPossible = 298,
|
|
311
|
+
FailedToAbsorb = 299,
|
|
312
|
+
FailedToAddFuelToTorch = 300,
|
|
313
|
+
FailedToCatchFish = 301,
|
|
314
|
+
FailedToCauseDamage = 302,
|
|
315
|
+
FailedToCauseYouDamage = 303,
|
|
316
|
+
FailedToCopy = 304,
|
|
317
|
+
FailedToDraw = 305,
|
|
318
|
+
FailedToEnchant = 306,
|
|
319
|
+
FailedToExude = 307,
|
|
320
|
+
FailedToIgniteTorch = 308,
|
|
321
|
+
FailedToPickLock = 309,
|
|
322
|
+
FailedToPreserve = 310,
|
|
323
|
+
FailedToRefine = 311,
|
|
324
|
+
FailedToReinforce = 312,
|
|
325
|
+
FailedToRepair = 313,
|
|
326
|
+
FailedToStartFire = 314,
|
|
327
|
+
FailedToTame = 315,
|
|
328
|
+
FailedToTransmogrify = 316,
|
|
329
|
+
FarOffLands = 317,
|
|
330
|
+
FeltBurningPainLostHealth = 318,
|
|
331
|
+
FeltFrostbitePainLostHealth = 319,
|
|
332
|
+
FewMinutes = 320,
|
|
333
|
+
Filled = 321,
|
|
334
|
+
FilledFrom = 322,
|
|
335
|
+
FireAroundYouIsWarm = 323,
|
|
336
|
+
FiredIntoObstacle = 324,
|
|
337
|
+
FireOverflowed = 325,
|
|
338
|
+
FireOverflowedFireElemental = 326,
|
|
339
|
+
FireSource = 327,
|
|
340
|
+
FishingWithNoBait = 328,
|
|
341
|
+
Floating = 329,
|
|
342
|
+
FreshWater = 330,
|
|
343
|
+
FromTheStill = 331,
|
|
344
|
+
Fuel = 332,
|
|
345
|
+
FuelIsRequired = 333,
|
|
346
|
+
Gather = 334,
|
|
347
|
+
GatherDestroy = 335,
|
|
348
|
+
Gathering = 336,
|
|
349
|
+
GhostNoActions = 337,
|
|
350
|
+
GhostOf = 338,
|
|
351
|
+
GoatHasNoMilk = 339,
|
|
352
|
+
GrabAll = 340,
|
|
353
|
+
HackAway = 341,
|
|
354
|
+
HandProtectionPreventedInjury = 342,
|
|
355
|
+
HandsNotEffectiveFor = 343,
|
|
356
|
+
Harvest = 344,
|
|
357
|
+
Harvesting = 345,
|
|
358
|
+
HasBeenHurtByATrap = 346,
|
|
359
|
+
HasDecayed = 347,
|
|
360
|
+
HasHitYouForDamage = 348,
|
|
361
|
+
HasNoEffect = 349,
|
|
362
|
+
HasSetTrapOffNoDamage = 350,
|
|
363
|
+
HasSplit = 351,
|
|
364
|
+
Help = 352,
|
|
365
|
+
HelpGrow = 353,
|
|
366
|
+
Hitch = 354,
|
|
367
|
+
HitchAttempt = 355,
|
|
368
|
+
HitchCreature = 356,
|
|
369
|
+
HitchDisabled = 357,
|
|
370
|
+
HitchInUse = 358,
|
|
371
|
+
HitForDamage = 359,
|
|
372
|
+
HitYouForDamage = 360,
|
|
373
|
+
Hour = 361,
|
|
374
|
+
Hours = 362,
|
|
375
|
+
HurtHandsHittingWithoutWeapons = 363,
|
|
376
|
+
HurtHandsWithNoTool = 364,
|
|
377
|
+
Ignite = 365,
|
|
378
|
+
IgnitedTorch = 366,
|
|
379
|
+
Ineffective = 367,
|
|
380
|
+
InjuredFromTrap = 368,
|
|
381
|
+
InNeedOfRepair = 369,
|
|
382
|
+
InteractingWithHasInjuredYouForDamage = 370,
|
|
383
|
+
Inventory = 371,
|
|
384
|
+
IsInTheWayOfPickingUp = 372,
|
|
385
|
+
It = 373,
|
|
386
|
+
ItemFromWater = 374,
|
|
387
|
+
JoinedAServer = 375,
|
|
388
|
+
Jump = 376,
|
|
389
|
+
Killed = 377,
|
|
390
|
+
KnowledgeHasIncreased = 378,
|
|
391
|
+
LastPlaceYouLeftOff = 379,
|
|
392
|
+
LearnedHowToCreate = 380,
|
|
393
|
+
LikelyFailures = 381,
|
|
394
|
+
Limited = 382,
|
|
395
|
+
Lockpick = 383,
|
|
396
|
+
MapCompletedNotOfThisArea = 384,
|
|
397
|
+
MapDestroyed = 385,
|
|
398
|
+
MapNearlyDestroyed = 386,
|
|
399
|
+
MapNotOfThisArea = 387,
|
|
400
|
+
MaterialsDestroyed = 388,
|
|
401
|
+
MerchantAlreadyTradedItem = 389,
|
|
402
|
+
MessageOfTheDay = 390,
|
|
403
|
+
Metabolism = 391,
|
|
404
|
+
MetabolismSlowed = 392,
|
|
405
|
+
Milk = 393,
|
|
406
|
+
Mine = 394,
|
|
407
|
+
Mining = 395,
|
|
408
|
+
MissedWith = 396,
|
|
409
|
+
MissedYouWith = 397,
|
|
410
|
+
MovedItem = 398,
|
|
411
|
+
MovedItemFailed = 399,
|
|
412
|
+
MoveOverTrapButDoNotSetOff = 400,
|
|
413
|
+
MultiplayerGamePaused = 401,
|
|
414
|
+
MultiplayerGameResumed = 402,
|
|
415
|
+
MultiplayerPlayerConnected = 403,
|
|
416
|
+
MultiplayerPlayerDied = 404,
|
|
417
|
+
MultiplayerPlayerDisconnected = 405,
|
|
418
|
+
MultiplayerPlayerJoined = 406,
|
|
419
|
+
MustBeEquippedToIgnite = 407,
|
|
420
|
+
Mysteriously = 408,
|
|
421
|
+
NearlyBurnedEquipmentProtectedYou = 409,
|
|
422
|
+
NeedToStartTravelsOutside = 410,
|
|
423
|
+
NeedWaterForBoat = 411,
|
|
424
|
+
Negatively = 412,
|
|
425
|
+
NightQuarter1 = 413,
|
|
426
|
+
NightQuarter2 = 414,
|
|
427
|
+
NightQuarter3 = 415,
|
|
428
|
+
NightQuarter4 = 416,
|
|
429
|
+
No = 417,
|
|
430
|
+
NoAmmunitionForThatWeapon = 418,
|
|
431
|
+
NoFireToStokeWith = 419,
|
|
432
|
+
NoFishAtLocation = 420,
|
|
433
|
+
NoGroundWater = 421,
|
|
434
|
+
NoInkToDrawMap = 422,
|
|
435
|
+
NoKindlingOrFuelItemsToStartFire = 423,
|
|
436
|
+
NoKindlingToStartFire = 424,
|
|
437
|
+
NoLongerFeelPainOfBeingBurned = 425,
|
|
438
|
+
NoLongerFeelPainOfBeingFrostbitten = 426,
|
|
439
|
+
NoLongerHostile = 427,
|
|
440
|
+
NoMoreRoomInContainer = 428,
|
|
441
|
+
NoPaperToDrawMap = 429,
|
|
442
|
+
NoRequiredItemToFireWeapon = 430,
|
|
443
|
+
NoReturnWithoutCompletingChallenges = 431,
|
|
444
|
+
NoRoomForImprovement = 432,
|
|
445
|
+
NoRoomToDrop = 433,
|
|
446
|
+
NoRoomToSummon = 434,
|
|
447
|
+
NotEnoughPurifiedWaterYet = 435,
|
|
448
|
+
NotEnoughTreasureToReturn = 436,
|
|
449
|
+
NotFacingCreatureToOfferThisTo = 437,
|
|
450
|
+
NotFacingLockedObject = 438,
|
|
451
|
+
NotFacingOtherToHeal = 439,
|
|
452
|
+
NotFacingValidItem = 440,
|
|
453
|
+
NothingHereToButcher = 441,
|
|
454
|
+
NothingHereToFill = 442,
|
|
455
|
+
NothingHereToGrasp = 443,
|
|
456
|
+
NothingTo = 444,
|
|
457
|
+
NothingToGetFromThis = 445,
|
|
458
|
+
NothingToHarvestFromThisGather = 446,
|
|
459
|
+
NothingToSmother = 447,
|
|
460
|
+
NothingUsefulToHarvestYet = 448,
|
|
461
|
+
NoTinderToStartFire = 449,
|
|
462
|
+
NotSuitableToPlant = 450,
|
|
463
|
+
NoWaterInStill = 451,
|
|
464
|
+
NPCMerchantNewInventoryDialog1 = 452,
|
|
465
|
+
NPCMerchantNewInventoryDialog2 = 453,
|
|
466
|
+
NPCMerchantNewInventoryDialog3 = 454,
|
|
467
|
+
NPCMerchantNewInventoryDialog4 = 455,
|
|
468
|
+
NPCMerchantStartingDialog1 = 456,
|
|
469
|
+
NPCMerchantStartingDialog2 = 457,
|
|
470
|
+
NPCMerchantStartingDialog3 = 458,
|
|
471
|
+
NPCMerchantStartingDialog4 = 459,
|
|
472
|
+
NPCMerchantWelcomeCredit = 460,
|
|
473
|
+
NPCShipperShipToIsland = 461,
|
|
474
|
+
NPCShipperStartingDialog1 = 462,
|
|
475
|
+
NPCShipperStartingDialog2 = 463,
|
|
476
|
+
NPCShipperStartingDialog3 = 464,
|
|
477
|
+
NPCShipperStartingDialog4 = 465,
|
|
478
|
+
NPCWelcome = 466,
|
|
479
|
+
ObjectIsLocked = 467,
|
|
480
|
+
ObjectIsLockedAttemptToBreakIt = 468,
|
|
481
|
+
OfferAberrantFail = 469,
|
|
482
|
+
OfferAberrantFailButTamed = 470,
|
|
483
|
+
Open = 471,
|
|
484
|
+
OpenClose = 472,
|
|
485
|
+
OverEatingLostStamina = 473,
|
|
486
|
+
OverHydratingLostStamina = 474,
|
|
487
|
+
Pack = 475,
|
|
488
|
+
PaperTurnedToMush = 476,
|
|
489
|
+
ParryTheBlow = 477,
|
|
490
|
+
Pet = 478,
|
|
491
|
+
PetCreature = 479,
|
|
492
|
+
PickAway = 480,
|
|
493
|
+
PickUp = 481,
|
|
494
|
+
PickUpExcrement = 482,
|
|
495
|
+
PickUpTheItem = 483,
|
|
496
|
+
Place = 484,
|
|
497
|
+
PlacedOnGround = 485,
|
|
498
|
+
Plant = 486,
|
|
499
|
+
PlantedInGround = 487,
|
|
500
|
+
PlantGatheredPlant = 488,
|
|
501
|
+
PlantGatheringWillDestroy = 489,
|
|
502
|
+
PlantHasResourcesToGather = 490,
|
|
503
|
+
PlantHasResourcesToHarvest = 491,
|
|
504
|
+
PlantHighlyFertile = 492,
|
|
505
|
+
Planting = 493,
|
|
506
|
+
PlantIsBare = 494,
|
|
507
|
+
PlantIsFertile = 495,
|
|
508
|
+
PlantIsInStage = 496,
|
|
509
|
+
PlantIsNotFertile = 497,
|
|
510
|
+
PlantNotReadyToHarvest = 498,
|
|
511
|
+
PlantReadyToGather = 499,
|
|
512
|
+
PlantReadyToGatherNotMaximal = 500,
|
|
513
|
+
PlantReadyToHarvest = 501,
|
|
514
|
+
PlantReadyToHarvestNotMaximal = 502,
|
|
515
|
+
Player = 503,
|
|
516
|
+
PlayerHas = 504,
|
|
517
|
+
PlayerHasCompletedChallengeRequirement = 505,
|
|
518
|
+
PlayerHasWonChallenge = 506,
|
|
519
|
+
Poisoned = 507,
|
|
520
|
+
PoisonedLostHealth = 508,
|
|
521
|
+
PoisonWorkedItsCourse = 509,
|
|
522
|
+
Positively = 510,
|
|
523
|
+
PouredOut = 511,
|
|
524
|
+
PouredOutOnYourself = 512,
|
|
525
|
+
PouredWaterIntoStill = 513,
|
|
526
|
+
PourHarmedPlant = 514,
|
|
527
|
+
PourHealedPlant = 515,
|
|
528
|
+
PourHealedPlantFully = 516,
|
|
529
|
+
PourHealedPlantPartially = 517,
|
|
530
|
+
PourIncreasedFertility = 518,
|
|
531
|
+
Pouring = 519,
|
|
532
|
+
Prepare = 520,
|
|
533
|
+
Prepared = 521,
|
|
534
|
+
Preserve = 522,
|
|
535
|
+
PreservedFood = 523,
|
|
536
|
+
PurifiedWaterInStill = 524,
|
|
537
|
+
RandomEventsFire = 525,
|
|
538
|
+
ReduceLength = 526,
|
|
539
|
+
Refine = 527,
|
|
540
|
+
RefusedToBeTamed = 528,
|
|
541
|
+
Reinforce = 529,
|
|
542
|
+
Repair = 530,
|
|
543
|
+
ReputationDecreased = 531,
|
|
544
|
+
ReputationIncreased = 532,
|
|
545
|
+
ReputationUpdate = 533,
|
|
546
|
+
RequiredForDisassembly = 534,
|
|
547
|
+
RequiresFireToBeLit = 535,
|
|
548
|
+
RequiresYouFacingFireSource = 536,
|
|
549
|
+
RequiresYouToBeAround = 537,
|
|
550
|
+
Resistant = 538,
|
|
551
|
+
Rest = 539,
|
|
552
|
+
Rested = 540,
|
|
553
|
+
Resting = 541,
|
|
554
|
+
RestingOnGroundNotEffective = 542,
|
|
555
|
+
RestInterrupted = 543,
|
|
556
|
+
RestInterruptedDamage = 544,
|
|
557
|
+
RestInterruptedDying = 545,
|
|
558
|
+
RestInterruptedLoudNoise = 546,
|
|
559
|
+
RestInterruptedPain = 547,
|
|
560
|
+
RestInterruptedStirring = 548,
|
|
561
|
+
RestInterruptedWaterPoured = 549,
|
|
562
|
+
RestLongTime = 550,
|
|
563
|
+
RestModerateTime = 551,
|
|
564
|
+
RestOnBoat = 552,
|
|
565
|
+
RestShortTime = 553,
|
|
566
|
+
RestTime = 554,
|
|
567
|
+
ReturnedToCivilization = 555,
|
|
568
|
+
ReturningToCivilizationSetOffAgain = 556,
|
|
569
|
+
ReturnsToLife = 557,
|
|
570
|
+
Reverse = 558,
|
|
571
|
+
Sailing = 559,
|
|
572
|
+
ScrollMaster = 560,
|
|
573
|
+
ScrollProvidedNoUsefulInsight = 561,
|
|
574
|
+
Seawater = 562,
|
|
575
|
+
SeemsToHaveDrawnEnergy = 563,
|
|
576
|
+
SetTrapOffButNoDamage = 564,
|
|
577
|
+
SetUp = 565,
|
|
578
|
+
ShadowInTheWater = 566,
|
|
579
|
+
Skill = 567,
|
|
580
|
+
SkillHasRaised = 568,
|
|
581
|
+
Skills = 569,
|
|
582
|
+
Sleep = 570,
|
|
583
|
+
Sleeping = 571,
|
|
584
|
+
SleepOnBoat = 572,
|
|
585
|
+
Slept = 573,
|
|
586
|
+
SlitherSuckerConstricts = 574,
|
|
587
|
+
SlitherSuckerJumpedOnHead = 575,
|
|
588
|
+
SolarStill = 576,
|
|
589
|
+
SomethingInTheWayOf = 577,
|
|
590
|
+
SomethingInTheWayOfButcherFirst = 578,
|
|
591
|
+
SomethingInTheWayOfFire = 579,
|
|
592
|
+
SomethingInTheWayOfFishing = 580,
|
|
593
|
+
SomethingInTheWayOfPerforming = 581,
|
|
594
|
+
SomethingInTheWayOfPlacing = 582,
|
|
595
|
+
SomethingInTheWayOfReleasing = 583,
|
|
596
|
+
SomethingInTheWayOfSummoning = 584,
|
|
597
|
+
SomethingInWayOfClosingDoor = 585,
|
|
598
|
+
SoothedTheirBurnInjuries = 586,
|
|
599
|
+
SoothedYourBurnInjuries = 587,
|
|
600
|
+
Sort = 588,
|
|
601
|
+
SortedByBestCraftingRequirements = 589,
|
|
602
|
+
SortedByCategory = 590,
|
|
603
|
+
SortedByCraftableOnly = 591,
|
|
604
|
+
SortedByDecay = 592,
|
|
605
|
+
SortedByDurability = 593,
|
|
606
|
+
SortedByGroup = 594,
|
|
607
|
+
SortedByMagical = 595,
|
|
608
|
+
SortedByName = 596,
|
|
609
|
+
SortedByQuality = 597,
|
|
610
|
+
SortedByRecent = 598,
|
|
611
|
+
SortedBySkill = 599,
|
|
612
|
+
SortedByUnlockedTime = 600,
|
|
613
|
+
SortedByWeight = 601,
|
|
614
|
+
SortedByWorth = 602,
|
|
615
|
+
StaminaIsFull = 603,
|
|
616
|
+
StartedFire = 604,
|
|
617
|
+
StartTravelInWater = 605,
|
|
618
|
+
StarvingToDeath = 606,
|
|
619
|
+
StatAmount = 607,
|
|
620
|
+
StatGained = 608,
|
|
621
|
+
StatIncreasing = 609,
|
|
622
|
+
StatLost = 610,
|
|
623
|
+
StatQuenched = 611,
|
|
624
|
+
StatRegained = 612,
|
|
625
|
+
StatSated = 613,
|
|
626
|
+
SteppingOn = 614,
|
|
627
|
+
Still = 615,
|
|
628
|
+
StillHasNoWaterToPurify = 616,
|
|
629
|
+
StirredUpClawWorm = 617,
|
|
630
|
+
StirredUpCreature = 618,
|
|
631
|
+
StoppedYourBleeding = 619,
|
|
632
|
+
StopUsingVehicle = 620,
|
|
633
|
+
Strength = 621,
|
|
634
|
+
SummonedGuardiansByDiggingTreasure = 622,
|
|
635
|
+
SummonedGuardiansByLockpicking = 623,
|
|
636
|
+
SummonVoidDwellerItem = 624,
|
|
637
|
+
SummonVoidDwellerRinging = 625,
|
|
638
|
+
SummonVoidDwellerShiver = 626,
|
|
639
|
+
SunNotBrightEnoughToStartFire = 627,
|
|
640
|
+
SwampWater = 628,
|
|
641
|
+
Swimming = 629,
|
|
642
|
+
TakenFromGroundBecomeTamed = 630,
|
|
643
|
+
TeleportBlocked = 631,
|
|
644
|
+
Teleported = 632,
|
|
645
|
+
ThanksBuying = 633,
|
|
646
|
+
ThanksSelling = 634,
|
|
647
|
+
TheirFist = 635,
|
|
648
|
+
ThePlant = 636,
|
|
649
|
+
ThereIsNoContainerOnTheStill = 637,
|
|
650
|
+
ThereIsNoSunToStartFire = 638,
|
|
651
|
+
ThisCannotBeMilked = 639,
|
|
652
|
+
Throw = 640,
|
|
653
|
+
ThrownIntoDepths = 641,
|
|
654
|
+
ThrownIntoObstacle = 642,
|
|
655
|
+
ThrownIntoVoid = 643,
|
|
656
|
+
Tier = 644,
|
|
657
|
+
TierGroup = 645,
|
|
658
|
+
Till = 646,
|
|
659
|
+
Tilling = 647,
|
|
660
|
+
TimeIs = 648,
|
|
661
|
+
TimeIsDawn = 649,
|
|
662
|
+
TimeIsDaytime = 650,
|
|
663
|
+
TimeIsDusk = 651,
|
|
664
|
+
TimeIsNighttime = 652,
|
|
665
|
+
TimeIsSunrise = 653,
|
|
666
|
+
TimeIsSunset = 654,
|
|
667
|
+
ToFight = 655,
|
|
668
|
+
TooDamaged = 656,
|
|
669
|
+
TooExhaustedToJump = 657,
|
|
670
|
+
Touching = 658,
|
|
671
|
+
TrampledFire = 659,
|
|
672
|
+
TrampledIntoGround = 660,
|
|
673
|
+
TrampleIntoGround = 661,
|
|
674
|
+
Trampling = 662,
|
|
675
|
+
TransmogrificationNotPossible = 663,
|
|
676
|
+
Transmogrified = 664,
|
|
677
|
+
Transmogrify = 665,
|
|
678
|
+
TrapMissed = 666,
|
|
679
|
+
TrapStoppedYou = 667,
|
|
680
|
+
Traveling = 668,
|
|
681
|
+
TreasureIsBlocked = 669,
|
|
682
|
+
UiActionCannotUseRequiresCreature = 670,
|
|
683
|
+
UiActionCannotUseRequiresDoodad = 671,
|
|
684
|
+
UiActionCannotUseRequiresItem = 672,
|
|
685
|
+
Unhitch = 673,
|
|
686
|
+
UnhitchCreature = 674,
|
|
687
|
+
Unknown = 675,
|
|
688
|
+
Unlimited = 676,
|
|
689
|
+
UnlockedChest = 677,
|
|
690
|
+
UnpurifiedFreshWater = 678,
|
|
691
|
+
UnpurifiedWaterInStill = 679,
|
|
692
|
+
Use = 680,
|
|
693
|
+
UsingBareHands = 681,
|
|
694
|
+
VehicleDefense = 682,
|
|
695
|
+
Vulnerable = 683,
|
|
696
|
+
Water = 684,
|
|
697
|
+
WaterGathering = 685,
|
|
698
|
+
WaterPutOutFire = 686,
|
|
699
|
+
WellIsDry = 687,
|
|
700
|
+
WellIsFull = 688,
|
|
701
|
+
WildGoatRefusedToBeMilked = 689,
|
|
702
|
+
WillNotTrade = 690,
|
|
703
|
+
WorkingYourselfIntoExhaustion = 691,
|
|
704
|
+
WorkingYourselfIntoExhaustionAndDrowning = 692,
|
|
705
|
+
You = 693,
|
|
706
|
+
YouAbsorb = 694,
|
|
707
|
+
YouApplied = 695,
|
|
708
|
+
YouAreAlready = 696,
|
|
709
|
+
YouAte = 697,
|
|
710
|
+
YouBeginResting = 698,
|
|
711
|
+
YouCannotDoThatYet = 699,
|
|
712
|
+
YouCanNowCombatTheTides = 700,
|
|
713
|
+
YouCrafted = 701,
|
|
714
|
+
YouDoNotFindTreasureYet = 702,
|
|
715
|
+
YouDrank = 703,
|
|
716
|
+
YouDropTheTorch = 704,
|
|
717
|
+
YouEnchant = 705,
|
|
718
|
+
YouEquip = 706,
|
|
719
|
+
YouExude = 707,
|
|
720
|
+
YouExudeSome = 708,
|
|
721
|
+
YouExudeSomeReasonConflicting = 709,
|
|
722
|
+
YouExudeSomeReasonMax = 710,
|
|
723
|
+
YouExudeSomeReasonProperties = 711,
|
|
724
|
+
YouFailedTo = 712,
|
|
725
|
+
YouFailedToExtinguishedFireFully = 713,
|
|
726
|
+
YouFailedToHeal = 714,
|
|
727
|
+
YouFailedToHealOther = 715,
|
|
728
|
+
YouFire = 716,
|
|
729
|
+
YouGathered = 717,
|
|
730
|
+
YouGatheredAndDropped = 718,
|
|
731
|
+
YouHarvested = 719,
|
|
732
|
+
YouHarvestedAndDropped = 720,
|
|
733
|
+
YouHave = 721,
|
|
734
|
+
YouHaveAlreadyLearned = 722,
|
|
735
|
+
YouHaveBeenCut = 723,
|
|
736
|
+
YouHaveCaged = 724,
|
|
737
|
+
YouHaveCommanded = 725,
|
|
738
|
+
YouHaveDied = 726,
|
|
739
|
+
YouHaveHealedOther = 727,
|
|
740
|
+
YouHaveKilled = 728,
|
|
741
|
+
YouHaveReleased = 729,
|
|
742
|
+
YouHaveSummoned = 730,
|
|
743
|
+
YouHaveTamed = 731,
|
|
744
|
+
YouHaveUncaged = 732,
|
|
745
|
+
YouNeedMoreCredit = 733,
|
|
746
|
+
YouNoticeBarren = 734,
|
|
747
|
+
YouNoticeBecomeEnraged = 735,
|
|
748
|
+
YouNoticeDying = 736,
|
|
749
|
+
YouNoticeFertilityDecreasing = 737,
|
|
750
|
+
YouNoticeFertilityIncreasing = 738,
|
|
751
|
+
YouNoticeGrowing = 739,
|
|
752
|
+
YouNoticeLavaCooling = 740,
|
|
753
|
+
YouNoticeLavaHardening = 741,
|
|
754
|
+
YouNoticePerish = 742,
|
|
755
|
+
YouNoticePlantDamage = 743,
|
|
756
|
+
YouNoticePlantRegenerated = 744,
|
|
757
|
+
YouNoticeRegrowing = 745,
|
|
758
|
+
YouNoticeStumbleInjureItself = 746,
|
|
759
|
+
YouNoticeTakeFromGround = 747,
|
|
760
|
+
YouNoticeWoundsClosing = 748,
|
|
761
|
+
YouNoticeZombieHorde = 749,
|
|
762
|
+
YouOfferedToCreature = 750,
|
|
763
|
+
YouOfferedToCreatureRejects = 751,
|
|
764
|
+
YouOpen = 752,
|
|
765
|
+
YouPacked = 753,
|
|
766
|
+
YouPickedUp = 754,
|
|
767
|
+
YouRefine = 755,
|
|
768
|
+
YouReinforce = 756,
|
|
769
|
+
YouRepair = 757,
|
|
770
|
+
YouReturnFromCivilizationWith = 758,
|
|
771
|
+
YourFist = 759,
|
|
772
|
+
YourHands = 760,
|
|
773
|
+
YourInventory = 761,
|
|
774
|
+
YourIsland = 762,
|
|
775
|
+
YourRubbingNoEffect = 763,
|
|
776
|
+
YouRub = 764,
|
|
777
|
+
YouSee = 765,
|
|
778
|
+
YouSeeALivingMushroomSpore = 766,
|
|
779
|
+
YouSeeASkeletonCollapse = 767,
|
|
780
|
+
YouSeeASlimeCombine = 768,
|
|
781
|
+
YouSeeAZombieBleeding = 769,
|
|
782
|
+
YouSeeCoolDown = 770,
|
|
783
|
+
YouSeeDrop = 771,
|
|
784
|
+
YouSeeEngulfFire = 772,
|
|
785
|
+
YouSeeFireSpread = 773,
|
|
786
|
+
YouSeeHelpingPlant = 774,
|
|
787
|
+
YouSeeLay = 775,
|
|
788
|
+
YouSeeLayingTrap = 776,
|
|
789
|
+
YouSeeSpewLava = 777,
|
|
790
|
+
YouSeeSpitAcid = 778,
|
|
791
|
+
YouSeeSpringForth = 779,
|
|
792
|
+
YouSeeSummon = 780,
|
|
793
|
+
YouSeeSwampFlood = 781,
|
|
794
|
+
YouSeeTrampling = 782,
|
|
795
|
+
YouSetTheTrapOff = 783,
|
|
796
|
+
YouStokeTheCreature = 784,
|
|
797
|
+
YouSwapMainHandAndOffHand = 785,
|
|
798
|
+
YouThrew = 786,
|
|
799
|
+
YouTilled = 787,
|
|
800
|
+
YouUnequip = 788,
|
|
801
|
+
YouUsed = 789,
|
|
802
|
+
YouWhileTraveling = 790
|
|
802
803
|
}
|
|
803
804
|
export default Message;
|
|
@@ -43,7 +43,7 @@ export declare class RendererOrigin implements IRendererOrigin {
|
|
|
43
43
|
readonly asEntity: Entity;
|
|
44
44
|
readonly asPlayer: Player | undefined;
|
|
45
45
|
readonly asHuman: Human | undefined;
|
|
46
|
-
|
|
46
|
+
constructor(islandId: IslandId, x: number, y: number, z: number);
|
|
47
47
|
get island(): Island;
|
|
48
48
|
getMovementProgress(_timeStamp: number): number;
|
|
49
49
|
canSeeObject(type: CanASeeBType, object: IVector4 & {
|
|
@@ -27,6 +27,7 @@ export default class EnumDropdown<ENUM_OBJECT, OTHER_OPTIONS extends string | ne
|
|
|
27
27
|
setExcluded(...excluded: VALUES[]): this;
|
|
28
28
|
protected getTranslation(id: VALUES): import("../../../language/impl/TranslationImpl").default;
|
|
29
29
|
protected filterEnum?(id: VALUES): boolean;
|
|
30
|
+
protected getEnumValues(enumObject: any): VALUES[];
|
|
30
31
|
protected getOptions(enumObject: any): [VALUES, (option: Button) => Button][];
|
|
31
32
|
protected getOptionTooltipLocation(handler: TooltipLocationHandler): void;
|
|
32
33
|
protected optionTooltipInitializer?(tooltip: Tooltip, type: VALUES, translation: Translation): any;
|
|
@@ -9,15 +9,20 @@
|
|
|
9
9
|
* https://github.com/WaywardGame/types/wiki
|
|
10
10
|
*/
|
|
11
11
|
import { BiomeType } from "game/biome/IBiome";
|
|
12
|
-
import type
|
|
12
|
+
import { type IslandId } from "game/island/IIsland";
|
|
13
13
|
import type { IDropdownOption } from "ui/component/Dropdown";
|
|
14
14
|
import GroupDropdown from "ui/component/GroupDropdown";
|
|
15
|
+
import type Tooltip from "ui/tooltip/Tooltip";
|
|
15
16
|
export default class IslandDropdown<OTHER_OPTIONS extends string = never> extends GroupDropdown<Record<string, string>, OTHER_OPTIONS, BiomeType> {
|
|
16
|
-
constructor(defaultOption:
|
|
17
|
+
constructor(defaultOption: IslandId | OTHER_OPTIONS, options?: SupplierOr<Iterable<IDropdownOption<OTHER_OPTIONS>>>);
|
|
17
18
|
protected getTranslation(islandId: IslandId): import("../../../language/impl/TranslationImpl").default;
|
|
18
19
|
protected getGroupName(biome: BiomeType): string;
|
|
20
|
+
protected optionTooltipInitializer(tooltip: Tooltip, islandId: IslandId): Promise<void> | undefined;
|
|
19
21
|
protected shouldIncludeOtherOptionsInGroupFilter(): boolean;
|
|
20
22
|
protected isInGroup(islandId: IslandId, biome: BiomeType): boolean;
|
|
21
23
|
protected getGroups(): BiomeType[];
|
|
24
|
+
protected getEnumValues(): string[];
|
|
22
25
|
protected onRefresh(): void;
|
|
26
|
+
protected onAppend1(): void;
|
|
27
|
+
protected onLoadedOnIsland(): void;
|
|
23
28
|
}
|
|
@@ -28,7 +28,7 @@ declare module Version {
|
|
|
28
28
|
export type String = `${Stage}${bigint}.${bigint}.${bigint}` | `${Stage}${bigint}.${bigint}` | `${Stage}${bigint}`;
|
|
29
29
|
export type StringSemVer = `${bigint}.${bigint}.${bigint}-${Stage}` | `${bigint}.${bigint}.${bigint}`;
|
|
30
30
|
export type Month = "jan" | "feb" | "mar" | "apr" | "may" | "jun" | "jul" | "aug" | "sep" | "oct" | "nov" | "dec";
|
|
31
|
-
export type DateString = `${Month} ${bigint} ${bigint} ${bigint}:${bigint | "00"}`;
|
|
31
|
+
export type DateString = `${Month} ${bigint} ${bigint} ${bigint | "00"}:${bigint | "00"}`;
|
|
32
32
|
export const versionInfoRegExp: RegExp;
|
|
33
33
|
export const versionInfoRegExpSemver: RegExp;
|
|
34
34
|
/**
|
|
@@ -13,10 +13,10 @@ import type { Prompt } from "@wayward/game/game/meta/prompt/IPrompt";
|
|
|
13
13
|
import type { ScreenId } from "@wayward/game/ui/screen/IScreen";
|
|
14
14
|
import type { MenuId } from "@wayward/game/ui/screen/screens/menu/component/IMenu";
|
|
15
15
|
import type { Random } from "@wayward/game/utilities/random/Random";
|
|
16
|
-
import type { TestRunContext } from "@wayward/test/testRunner";
|
|
17
16
|
import ApplicationInteractions from "@wayward/test/core/applicationInteractions";
|
|
18
17
|
import type { Apps } from "@wayward/test/core/applicationManager";
|
|
19
18
|
import type { IAppPaths } from "@wayward/test/interfaces";
|
|
19
|
+
import type { TestRunContext } from "@wayward/test/testRunner";
|
|
20
20
|
export interface IApplicationOptions {
|
|
21
21
|
additionalArgs?: string[];
|
|
22
22
|
mods?: string[];
|
package/package.json
CHANGED