@wayward/types 2.15.0-beta.dev.20251011.1 → 2.15.0-beta.dev.20251018.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/audio/IAudio.d.ts +70 -66
- package/definitions/game/game/curse/Curse.d.ts +11 -4
- package/definitions/game/game/curse/CurseEvent.d.ts +14 -5
- package/definitions/game/game/curse/ICurse.d.ts +11 -1
- package/definitions/game/game/curse/event/CurseEventCraftingInspiration.d.ts +2 -0
- package/definitions/game/game/curse/event/CurseEventFrigidNight.d.ts +1 -0
- package/definitions/game/game/curse/event/CurseEventHeatWave.d.ts +1 -0
- package/definitions/game/game/curse/event/CurseEventHorde.d.ts +20 -0
- package/definitions/game/game/curse/event/CurseEventLucky.d.ts +1 -0
- package/definitions/game/game/curse/event/CurseEventNewPlants.d.ts +15 -0
- package/definitions/game/game/curse/event/CurseEventPlantDeath.d.ts +15 -0
- package/definitions/game/game/curse/event/CurseEventShadows.d.ts +2 -1
- package/definitions/game/game/curse/event/CurseEventSwarm.d.ts +18 -0
- package/definitions/game/game/curse/event/CurseEventUnlucky.d.ts +1 -0
- package/definitions/game/game/doodad/Doodad.d.ts +3 -7
- package/definitions/game/game/doodad/DoodadUtilities.d.ts +3 -1
- package/definitions/game/game/doodad/Doodads.d.ts +2 -1
- package/definitions/game/game/doodad/IDoodad.d.ts +35 -3
- package/definitions/game/game/entity/CombatStrengthManager.d.ts +1 -1
- package/definitions/game/game/entity/Human.d.ts +3 -4
- package/definitions/game/game/entity/IEntity.d.ts +11 -0
- package/definitions/game/game/entity/IHuman.d.ts +2 -2
- package/definitions/game/game/entity/IStats.d.ts +17 -42
- package/definitions/game/game/entity/Stats.d.ts +1 -0
- package/definitions/game/game/entity/action/Action.d.ts +2 -20
- package/definitions/game/game/entity/action/actions/SetTitle.d.ts +1 -1
- package/definitions/game/game/entity/player/IMessageManager.d.ts +5 -1
- package/definitions/game/game/entity/skill/ISkills.d.ts +1 -0
- package/definitions/game/game/entity/status/IStatus.d.ts +13 -8
- package/definitions/game/game/entity/status/IStatusContext.d.ts +1 -1
- package/definitions/game/game/entity/status/StatusEffectList.d.ts +2 -0
- package/definitions/game/game/inspection/IInspection.d.ts +5 -3
- package/definitions/game/game/inspection/InspectionTypeMap.d.ts +4 -2
- package/definitions/game/game/inspection/infoProviders/MagicalCurseProperties.d.ts +30 -0
- package/definitions/game/game/inspection/infoProviders/MagicalPropertyValue.d.ts +1 -0
- package/definitions/game/game/inspection/infoProviders/item/MagicalSourceTooltip.d.ts +3 -3
- package/definitions/game/game/inspection/infoProviders/item/use/ItemBuildInfo.d.ts +1 -1
- package/definitions/game/game/inspection/inspections/MagicCurseInspection.d.ts +29 -0
- package/definitions/game/game/inspection/inspections/utility/EffectRadiusRegistry.d.ts +24 -0
- package/definitions/game/game/item/IItem.d.ts +24 -2
- package/definitions/game/game/item/Item.d.ts +0 -5
- package/definitions/game/game/item/ItemManager.d.ts +5 -0
- package/definitions/game/game/magic/IMagicalProperty.d.ts +6 -1
- package/definitions/game/game/magic/MagicalPropertyManager.d.ts +39 -5
- package/definitions/game/game/magic/MagicalPropertyType.d.ts +4 -0
- package/definitions/game/game/milestones/MilestoneDefinition.d.ts +2 -2
- package/definitions/game/game/options/IGameOptions.d.ts +7 -0
- package/definitions/game/game/reference/IReferenceManager.d.ts +12 -1
- package/definitions/game/game/tile/ITerrain.d.ts +3 -22
- package/definitions/game/game/tile/Tile.d.ts +4 -2
- package/definitions/game/game/time/TimeManager.d.ts +4 -1
- package/definitions/game/language/DictionaryMap.d.ts +32 -0
- package/definitions/game/language/LanguageManager.d.ts +0 -2
- package/definitions/game/language/Translation.d.ts +1 -0
- package/definitions/game/language/dictionary/Message.d.ts +565 -564
- package/definitions/game/language/dictionary/Misc.d.ts +69 -65
- package/definitions/game/language/dictionary/UiTranslation.d.ts +858 -850
- package/definitions/game/language/english/item/DoodadsExtra.d.ts +2 -2
- package/definitions/game/language/english/item/ItemsExtra.d.ts +2 -2
- package/definitions/game/language/english/item/MagicalPropertyTypes.d.ts +1 -1
- package/definitions/game/renderer/fieldOfView/IFieldOfView.d.ts +4 -1
- package/definitions/game/renderer/overlay/EffectRadiusOverlay.d.ts +36 -0
- package/definitions/game/renderer/world/WorldRenderer.d.ts +4 -0
- package/definitions/game/save/data/ISaveDataGlobal.d.ts +1 -0
- package/definitions/game/save/upgrade/UpgradeVersion.d.ts +4 -0
- package/definitions/game/save/upgrade/versions/beta2.15.0/beta2.15.0-dev20251012.d.ts +12 -0
- package/definitions/game/save/upgrade/versions/beta2.15.0/beta2.15.0-dev20251016.d.ts +12 -0
- package/definitions/game/save/upgrade/versions/beta2.15.0/beta2.15.0-dev20251018.d.ts +12 -0
- package/definitions/game/ui/old/OldUi.d.ts +2 -0
- package/definitions/game/ui/screen/screens/game/component/ItemComponent.d.ts +1 -0
- package/definitions/game/ui/screen/screens/game/static/Stats.d.ts +1 -0
- package/definitions/game/ui/screen/screens/game/static/stats/IStatDisplayDescription.d.ts +16 -4
- package/definitions/game/ui/screen/screens/game/static/stats/TemperatureDisplay.d.ts +13 -0
- package/definitions/game/ui/screen/screens/game/static/stats/component/StatComponent.d.ts +3 -0
- package/definitions/game/ui/screen/screens/menu/menus/options/TabPerformance.d.ts +1 -0
- package/definitions/game/ui/screen/screens/menu/menus/options/TabVideo.d.ts +2 -0
- package/definitions/game/utilities/math/Vector2.d.ts +25 -5
- package/definitions/utilities/math/Range.d.ts +6 -6
- package/package.json +1 -1
|
@@ -71,7 +71,7 @@ export default class MilestoneDefinition {
|
|
|
71
71
|
*/
|
|
72
72
|
inherit(def: MilestoneDefinition): this;
|
|
73
73
|
visibility: MilestoneVisibility;
|
|
74
|
-
visibleThreshold: number | Milestone | [Milestone, number];
|
|
74
|
+
visibleThreshold: number | Milestone | [Milestone, string | number];
|
|
75
75
|
/**
|
|
76
76
|
* @param visibility Whether the milestone is completely visible, has its name hidden, or has its required amount hidden. Defaults to `Visible`
|
|
77
77
|
* @param until Sets the time when the milestone will become `Visible`. This can be any of:
|
|
@@ -79,7 +79,7 @@ export default class MilestoneDefinition {
|
|
|
79
79
|
* - A different milestone to complete first
|
|
80
80
|
* - A tuple of a different milestone and a value that must be discovered in that milestone
|
|
81
81
|
*/
|
|
82
|
-
setVisibility(visibility: MilestoneVisibility, until?: number | [Milestone, number]): this;
|
|
82
|
+
setVisibility(visibility: MilestoneVisibility, until?: number | [Milestone, string | number]): this;
|
|
83
83
|
/**
|
|
84
84
|
* Sets this milestone to be unlockable in all game modes, and not disabled by mods.
|
|
85
85
|
*/
|
|
@@ -173,7 +173,14 @@ export interface IGameOptions {
|
|
|
173
173
|
*/
|
|
174
174
|
qualities: DefaultMap<Quality, IGameOptionsItemQuality>;
|
|
175
175
|
};
|
|
176
|
+
/**
|
|
177
|
+
* Controls random island events (excluding curse events).
|
|
178
|
+
*/
|
|
176
179
|
randomEvents: boolean;
|
|
180
|
+
/**
|
|
181
|
+
* Controls curse events
|
|
182
|
+
*/
|
|
183
|
+
curseEvents: boolean;
|
|
177
184
|
}
|
|
178
185
|
export declare enum UnlockedRecipesStrategy {
|
|
179
186
|
StartWithNone = 0,
|
|
@@ -55,7 +55,8 @@ export declare enum ReferenceType {
|
|
|
55
55
|
Quality = 17,
|
|
56
56
|
Magic = 18,
|
|
57
57
|
Status = 19,
|
|
58
|
-
Damage = 20
|
|
58
|
+
Damage = 20,
|
|
59
|
+
MagicCurse = 21
|
|
59
60
|
}
|
|
60
61
|
export declare const enumRefTypes: {
|
|
61
62
|
8: typeof SkillType;
|
|
@@ -910,6 +911,14 @@ export declare const enumRefTypes: {
|
|
|
910
911
|
RuneOfEvilSplinters: ItemTypeExtra.RuneOfEvilSplinters;
|
|
911
912
|
RuneOfGoodCharred: ItemTypeExtra.RuneOfGoodCharred;
|
|
912
913
|
TallySticks: ItemTypeExtra.TallySticks;
|
|
914
|
+
JackOLantern2: ItemTypeExtra.JackOLantern2;
|
|
915
|
+
JackOLantern3: ItemTypeExtra.JackOLantern3;
|
|
916
|
+
StrawScarecrow2: ItemTypeExtra.StrawScarecrow2;
|
|
917
|
+
StrawScarecrow3: ItemTypeExtra.StrawScarecrow3;
|
|
918
|
+
CactusScarecrow2: ItemTypeExtra.CactusScarecrow2;
|
|
919
|
+
CactusScarecrow3: ItemTypeExtra.CactusScarecrow3;
|
|
920
|
+
SnowScarecrow2: ItemTypeExtra.SnowScarecrow2;
|
|
921
|
+
SnowScarecrow3: ItemTypeExtra.SnowScarecrow3;
|
|
913
922
|
};
|
|
914
923
|
12: typeof ItemType;
|
|
915
924
|
13: typeof Stat;
|
|
@@ -919,6 +928,7 @@ export declare const enumRefTypes: {
|
|
|
919
928
|
16: typeof Deity;
|
|
920
929
|
17: typeof Quality;
|
|
921
930
|
18: boolean;
|
|
931
|
+
21: boolean;
|
|
922
932
|
20: typeof DamageType;
|
|
923
933
|
};
|
|
924
934
|
export type EnumReferenceTypes = keyof typeof enumRefTypes;
|
|
@@ -949,6 +959,7 @@ export interface IReferenceTypeMap {
|
|
|
949
959
|
[ReferenceType.Deity]: [ReferenceType.Deity, Deity];
|
|
950
960
|
[ReferenceType.Quality]: [ReferenceType.Quality, Quality];
|
|
951
961
|
[ReferenceType.Magic]: [ReferenceType.Magic, MagicalPropertyIdentityHash];
|
|
962
|
+
[ReferenceType.MagicCurse]: [ReferenceType.MagicCurse, MagicalPropertyIdentityHash];
|
|
952
963
|
[ReferenceType.Status]: [ReferenceType.Status, StatusType];
|
|
953
964
|
[ReferenceType.Damage]: [ReferenceType.Damage, DamageType];
|
|
954
965
|
}
|
|
@@ -26,6 +26,7 @@ import type TileEvent from "@wayward/game/game/tile/TileEvent";
|
|
|
26
26
|
import type { ISerializedTranslation } from "@wayward/game/language/ITranslation";
|
|
27
27
|
import type { IModdable } from "@wayward/game/mod/ModRegistry";
|
|
28
28
|
import type { IVector3 } from "@wayward/game/utilities/math/IVector";
|
|
29
|
+
import type { DistanceType } from "@wayward/game/utilities/math/Vector2";
|
|
29
30
|
import type { IColorFul, IRGB, IRGBA } from "@wayward/utilities/Color";
|
|
30
31
|
export interface ITerrainDescription extends IModdable {
|
|
31
32
|
passable?: boolean;
|
|
@@ -364,33 +365,13 @@ export declare enum FindPathRangeType {
|
|
|
364
365
|
InfiniteRange = 3
|
|
365
366
|
}
|
|
366
367
|
export type FindPathRange = FindPathRangeType | IFindPathRange;
|
|
367
|
-
export declare enum FindPathDistanceAlgorithm {
|
|
368
|
-
/**
|
|
369
|
-
* The number of adjacent grid cell movements needed to get from A to B.
|
|
370
|
-
*
|
|
371
|
-
* This distance formula covers a diamond pattern on a grid.
|
|
372
|
-
*/
|
|
373
|
-
Manhattan = 0,
|
|
374
|
-
/**
|
|
375
|
-
* The measure of a straight line between points A and B.
|
|
376
|
-
*
|
|
377
|
-
* This distance formula covers a circular pattern on a grid.
|
|
378
|
-
*/
|
|
379
|
-
Euclidean = 1,
|
|
380
|
-
/**
|
|
381
|
-
* The greater of the distances from points A and B on each axis.
|
|
382
|
-
*
|
|
383
|
-
* This distance formula covers a square pattern on a grid.
|
|
384
|
-
*/
|
|
385
|
-
Chebyshev = 2
|
|
386
|
-
}
|
|
387
368
|
export interface IFindPathRange {
|
|
388
369
|
distance: number;
|
|
389
370
|
noLoSRequirement?: true;
|
|
390
371
|
/**
|
|
391
|
-
* Defaults to {@link
|
|
372
|
+
* Defaults to {@link DistanceType.Euclidean}.
|
|
392
373
|
*
|
|
393
374
|
* (The measure of a straight line between points A and B, or what would cover a circular pattern on a grid.)
|
|
394
375
|
*/
|
|
395
|
-
algorithm?:
|
|
376
|
+
algorithm?: DistanceType;
|
|
396
377
|
}
|
|
@@ -39,6 +39,7 @@ import type { IFieldOfViewOrigin } from "@wayward/game/renderer/fieldOfView/IFie
|
|
|
39
39
|
import { CanASeeBType } from "@wayward/game/renderer/fieldOfView/IFieldOfView";
|
|
40
40
|
import { Direction } from "@wayward/game/utilities/math/Direction";
|
|
41
41
|
import type { IVector2, IVector3 } from "@wayward/game/utilities/math/IVector";
|
|
42
|
+
import { DistanceType } from "@wayward/game/utilities/math/Vector2";
|
|
42
43
|
import type { IVector4 } from "@wayward/game/utilities/math/Vector4";
|
|
43
44
|
import type { IRGB } from "@wayward/utilities/Color";
|
|
44
45
|
import WorldZ from "@wayward/utilities/game/WorldZ";
|
|
@@ -152,6 +153,7 @@ export default class Tile implements IVector4, Partial<ITileContainer>, IFieldOf
|
|
|
152
153
|
* Gets the primary/first blocking entity on this tile.
|
|
153
154
|
*/
|
|
154
155
|
get entity(): Entity | undefined;
|
|
156
|
+
get entities(): Entity[];
|
|
155
157
|
/**
|
|
156
158
|
* Gets well data on this tile.
|
|
157
159
|
*/
|
|
@@ -466,8 +468,8 @@ export default class Tile implements IVector4, Partial<ITileContainer>, IFieldOf
|
|
|
466
468
|
* - Prefers the facing tile if it has the same penalty as others
|
|
467
469
|
*/
|
|
468
470
|
getPreferredAdjacentTile(human: Human, clientSide: boolean): Tile | undefined;
|
|
469
|
-
tilesInRange(range: number, includeCurrentTile?: boolean): Tile[];
|
|
470
|
-
openTileInRange(range: number, includeCurrentTile?: boolean, excludeWater?: boolean): Tile | undefined;
|
|
471
|
+
tilesInRange(type: DistanceType, range: number, includeCurrentTile?: boolean): Tile[];
|
|
472
|
+
openTileInRange(type: DistanceType, range: number, includeCurrentTile?: boolean, excludeWater?: boolean): Tile | undefined;
|
|
471
473
|
/**
|
|
472
474
|
* Array version of tilesAround
|
|
473
475
|
*/
|
|
@@ -12,10 +12,11 @@ import type { PartOfDayGranular, TimeString } from "@wayward/game/game/time/ITim
|
|
|
12
12
|
import { DayQuarter, TimeFormat } from "@wayward/game/game/time/ITimeManager";
|
|
13
13
|
import type TranslationImpl from "@wayward/game/language/impl/TranslationImpl";
|
|
14
14
|
export default class TimeManager {
|
|
15
|
-
dayLength
|
|
15
|
+
private dayLength;
|
|
16
16
|
dayPercent: number;
|
|
17
17
|
frozenTime?: number;
|
|
18
18
|
private _ticks;
|
|
19
|
+
private dayAnchor;
|
|
19
20
|
private readonly transitionPercent;
|
|
20
21
|
get dayStart(): number;
|
|
21
22
|
constructor(turns: number);
|
|
@@ -31,6 +32,7 @@ export default class TimeManager {
|
|
|
31
32
|
* Returns which day it is. Starts at 1.
|
|
32
33
|
*/
|
|
33
34
|
get day(): number;
|
|
35
|
+
getDayLength(): number;
|
|
34
36
|
/**
|
|
35
37
|
* Returns whether time is frozen.
|
|
36
38
|
*/
|
|
@@ -131,6 +133,7 @@ export default class TimeManager {
|
|
|
131
133
|
* Used exclusively for save conversion.
|
|
132
134
|
*/
|
|
133
135
|
restoreFromDayNight(dayNight: number, dayNightSwitch: 0 | 1): void;
|
|
136
|
+
setDayLength(value: number): void;
|
|
134
137
|
/**
|
|
135
138
|
* Sets the time.
|
|
136
139
|
* @param time A number between `0` and `1`, where `0` is the start of the day and `1` is the end.
|
|
@@ -1013,6 +1013,14 @@ declare const dictionaryMap: {
|
|
|
1013
1013
|
RuneOfEvilSplinters: ItemTypeExtra.RuneOfEvilSplinters;
|
|
1014
1014
|
RuneOfGoodCharred: ItemTypeExtra.RuneOfGoodCharred;
|
|
1015
1015
|
TallySticks: ItemTypeExtra.TallySticks;
|
|
1016
|
+
JackOLantern2: ItemTypeExtra.JackOLantern2;
|
|
1017
|
+
JackOLantern3: ItemTypeExtra.JackOLantern3;
|
|
1018
|
+
StrawScarecrow2: ItemTypeExtra.StrawScarecrow2;
|
|
1019
|
+
StrawScarecrow3: ItemTypeExtra.StrawScarecrow3;
|
|
1020
|
+
CactusScarecrow2: ItemTypeExtra.CactusScarecrow2;
|
|
1021
|
+
CactusScarecrow3: ItemTypeExtra.CactusScarecrow3;
|
|
1022
|
+
SnowScarecrow2: ItemTypeExtra.SnowScarecrow2;
|
|
1023
|
+
SnowScarecrow3: ItemTypeExtra.SnowScarecrow3;
|
|
1016
1024
|
};
|
|
1017
1025
|
65: {
|
|
1018
1026
|
Bow: ItemType.Bow;
|
|
@@ -1863,6 +1871,14 @@ declare const dictionaryMap: {
|
|
|
1863
1871
|
RuneOfEvilSplinters: ItemTypeExtra.RuneOfEvilSplinters;
|
|
1864
1872
|
RuneOfGoodCharred: ItemTypeExtra.RuneOfGoodCharred;
|
|
1865
1873
|
TallySticks: ItemTypeExtra.TallySticks;
|
|
1874
|
+
JackOLantern2: ItemTypeExtra.JackOLantern2;
|
|
1875
|
+
JackOLantern3: ItemTypeExtra.JackOLantern3;
|
|
1876
|
+
StrawScarecrow2: ItemTypeExtra.StrawScarecrow2;
|
|
1877
|
+
StrawScarecrow3: ItemTypeExtra.StrawScarecrow3;
|
|
1878
|
+
CactusScarecrow2: ItemTypeExtra.CactusScarecrow2;
|
|
1879
|
+
CactusScarecrow3: ItemTypeExtra.CactusScarecrow3;
|
|
1880
|
+
SnowScarecrow2: ItemTypeExtra.SnowScarecrow2;
|
|
1881
|
+
SnowScarecrow3: ItemTypeExtra.SnowScarecrow3;
|
|
1866
1882
|
};
|
|
1867
1883
|
66: typeof ItemTypeExtra;
|
|
1868
1884
|
67: typeof ItemTypeGroup;
|
|
@@ -2847,6 +2863,14 @@ export declare const strictDictionaries: {
|
|
|
2847
2863
|
RuneOfEvilSplinters: ItemTypeExtra.RuneOfEvilSplinters;
|
|
2848
2864
|
RuneOfGoodCharred: ItemTypeExtra.RuneOfGoodCharred;
|
|
2849
2865
|
TallySticks: ItemTypeExtra.TallySticks;
|
|
2866
|
+
JackOLantern2: ItemTypeExtra.JackOLantern2;
|
|
2867
|
+
JackOLantern3: ItemTypeExtra.JackOLantern3;
|
|
2868
|
+
StrawScarecrow2: ItemTypeExtra.StrawScarecrow2;
|
|
2869
|
+
StrawScarecrow3: ItemTypeExtra.StrawScarecrow3;
|
|
2870
|
+
CactusScarecrow2: ItemTypeExtra.CactusScarecrow2;
|
|
2871
|
+
CactusScarecrow3: ItemTypeExtra.CactusScarecrow3;
|
|
2872
|
+
SnowScarecrow2: ItemTypeExtra.SnowScarecrow2;
|
|
2873
|
+
SnowScarecrow3: ItemTypeExtra.SnowScarecrow3;
|
|
2850
2874
|
};
|
|
2851
2875
|
65: {
|
|
2852
2876
|
Bow: ItemType.Bow;
|
|
@@ -3697,6 +3721,14 @@ export declare const strictDictionaries: {
|
|
|
3697
3721
|
RuneOfEvilSplinters: ItemTypeExtra.RuneOfEvilSplinters;
|
|
3698
3722
|
RuneOfGoodCharred: ItemTypeExtra.RuneOfGoodCharred;
|
|
3699
3723
|
TallySticks: ItemTypeExtra.TallySticks;
|
|
3724
|
+
JackOLantern2: ItemTypeExtra.JackOLantern2;
|
|
3725
|
+
JackOLantern3: ItemTypeExtra.JackOLantern3;
|
|
3726
|
+
StrawScarecrow2: ItemTypeExtra.StrawScarecrow2;
|
|
3727
|
+
StrawScarecrow3: ItemTypeExtra.StrawScarecrow3;
|
|
3728
|
+
CactusScarecrow2: ItemTypeExtra.CactusScarecrow2;
|
|
3729
|
+
CactusScarecrow3: ItemTypeExtra.CactusScarecrow3;
|
|
3730
|
+
SnowScarecrow2: ItemTypeExtra.SnowScarecrow2;
|
|
3731
|
+
SnowScarecrow3: ItemTypeExtra.SnowScarecrow3;
|
|
3700
3732
|
};
|
|
3701
3733
|
66: typeof ItemTypeExtra;
|
|
3702
3734
|
67: typeof ItemTypeGroup;
|
|
@@ -76,7 +76,6 @@ export default class LanguageManager extends EventEmitter.Host<ILanguageEvents>
|
|
|
76
76
|
*/
|
|
77
77
|
private loadAdditionalLanguages;
|
|
78
78
|
shouldUseAlternateFontStyle(): boolean;
|
|
79
|
-
refreshUiTranslations(): void;
|
|
80
79
|
getTranslation(dictionary: Dictionary, entry: number | string, ignoreInvalid?: boolean): string[] | undefined;
|
|
81
80
|
add(provider: TranslationsProvider): void;
|
|
82
81
|
remove(provider: TranslationsProvider): void;
|
|
@@ -99,7 +98,6 @@ export default class LanguageManager extends EventEmitter.Host<ILanguageEvents>
|
|
|
99
98
|
private setDebug;
|
|
100
99
|
private debugFor;
|
|
101
100
|
private debugLog;
|
|
102
|
-
private refreshUiTranslation;
|
|
103
101
|
}
|
|
104
102
|
export interface ITranslationInjection {
|
|
105
103
|
selector: string;
|
|
@@ -135,6 +135,7 @@ declare namespace Translation {
|
|
|
135
135
|
export const deity: Translator<Deity, [color?: boolean | undefined]>;
|
|
136
136
|
export let action: Translator<ActionType | UsableActionType>;
|
|
137
137
|
export let magic: Translator<MagicalPropertyType, [color?: boolean, obscured?: boolean]>;
|
|
138
|
+
export let magicCurse: Translator<MagicalPropertyType, [color?: boolean, obscured?: boolean]>;
|
|
138
139
|
export const equipSlot: Translator<EquipType, [type?: EquipSlotTranslation | undefined]>;
|
|
139
140
|
export const quality: Translator<Quality, [color?: any]>;
|
|
140
141
|
export const qualityList: (qualities: ArrayOr<Quality>, color?: boolean, ender?: ListEnder | false) => Translation;
|