@wayward/types 2.15.0-beta.dev.20251019.1 → 2.15.0-beta.dev.20251021.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/IObject.d.ts +2 -1
- package/definitions/game/game/curse/Curse.d.ts +9 -2
- package/definitions/game/game/doodad/Doodad.d.ts +4 -4
- package/definitions/game/game/doodad/IDoodad.d.ts +1 -1
- package/definitions/game/game/entity/Human.d.ts +5 -4
- package/definitions/game/game/entity/IEntity.d.ts +2 -1
- package/definitions/game/game/entity/IHuman.d.ts +3 -53
- package/definitions/game/game/entity/StatDescriptions.d.ts +1 -1
- package/definitions/game/game/entity/action/ActionExecutor.d.ts +1 -1
- package/definitions/game/game/entity/action/IAction.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Attack.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Gather.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/SetCreatureAi.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/SetCreatureAiAll.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/SetTitle.d.ts +2 -2
- package/definitions/game/game/entity/creature/corpse/ICorpse.d.ts +1 -1
- package/definitions/game/game/entity/data/DataComponent.d.ts +2 -1
- package/definitions/game/game/entity/player/IPlayer.d.ts +2 -1
- package/definitions/game/game/entity/player/Player.d.ts +1 -1
- package/definitions/game/game/entity/player/quest/Requirements.d.ts +1 -1
- package/definitions/game/game/entity/player/quest/requirement/LearnSkillRequirement.d.ts +1 -1
- package/definitions/game/game/entity/skill/ISkills.d.ts +36 -1
- package/definitions/game/game/entity/skill/SkillManager.d.ts +1 -1
- package/definitions/game/game/entity/status/StatusEffectList.d.ts +1 -1
- package/definitions/game/game/inspection/infoProviders/MagicalPropertyValue.d.ts +1 -1
- package/definitions/game/game/inspection/infoProviders/ObscuredValue.d.ts +1 -1
- package/definitions/game/game/inspection/infoProviders/item/SkillSourceTooltip.d.ts +1 -1
- package/definitions/game/game/inspection/infoProviders/item/use/ItemBuildInfo.d.ts +2 -1
- package/definitions/game/game/inspection/infoProviders/item/use/ItemConsumeInfo.d.ts +1 -1
- package/definitions/game/game/inspection/infoProviders/item/use/ItemEquipInfo.d.ts +3 -2
- package/definitions/game/game/inspection/infoProviders/skill/MagicalItemBonuses.d.ts +1 -1
- package/definitions/game/game/inspection/inspections/SkillInspection.d.ts +1 -1
- package/definitions/game/game/island/Island.d.ts +2 -1
- package/definitions/game/game/item/IItem.d.ts +1 -1
- package/definitions/game/game/item/Item.d.ts +4 -4
- package/definitions/game/game/item/recipe/Recipe.d.ts +1 -1
- package/definitions/game/game/magic/MagicalPropertyDescriptions.d.ts +63 -0
- package/definitions/game/game/magic/MagicalPropertyType.d.ts +4 -55
- package/definitions/game/game/milestones/IMilestone.d.ts +8 -3
- package/definitions/game/game/milestones/MilestoneDefinition.d.ts +7 -3
- package/definitions/game/game/milestones/milestone/Runekeeper.d.ts +1 -1
- package/definitions/game/game/options/GameOptions.d.ts +1 -1
- package/definitions/game/game/options/IGameOptions.d.ts +7 -2
- package/definitions/game/game/options/modifiers/challenge/IChallenge.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/MilestoneModifiersManager.d.ts +2 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Oblivious.d.ts +17 -0
- package/definitions/game/game/reference/IReferenceManager.d.ts +2 -1
- package/definitions/game/game/temperature/ITemperature.d.ts +17 -3
- package/definitions/game/game/tile/ITerrain.d.ts +1 -1
- package/definitions/game/game/tile/TileEvent.d.ts +1 -1
- package/definitions/game/game/tile/events/MeltingTile.d.ts +0 -1
- package/definitions/game/language/DictionaryMap.d.ts +2 -1
- package/definitions/game/language/Translation.d.ts +2 -1
- package/definitions/game/language/dictionary/Message.d.ts +6 -6
- package/definitions/game/language/dictionary/UiTranslation.d.ts +860 -864
- package/definitions/game/language/english/player/Skills.d.ts +1 -1
- package/definitions/game/mod/ModRegistry.d.ts +3 -14
- package/definitions/game/save/upgrade/versions/beta2.15.0/beta2.15.0-dev20251020.d.ts +12 -0
- package/definitions/game/ui/component/dropdown/SkillDropdown.d.ts +1 -1
- package/definitions/game/ui/screen/screens/game/dialog/SkillsDialog.d.ts +1 -1
- package/definitions/game/ui/screen/screens/game/static/menubar/descriptions/IslandsButtonDescription.d.ts +1 -1
- package/definitions/game/ui/screen/screens/game/static/stats/IStatDisplayDescription.d.ts +3 -1
- package/definitions/game/ui/screen/screens/game/static/stats/component/StatComponent.d.ts +7 -1
- package/definitions/hosts/shared/interfaces.d.ts +1 -1
- package/definitions/test/core/applicationDom.d.ts +1 -1
- package/definitions/test/core/applicationManager.d.ts +10 -0
- package/definitions/utilities/random/Random.d.ts +1 -0
- package/package.json +1 -1
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://github.com/WaywardGame/types/wiki
|
|
10
10
|
*/
|
|
11
11
|
import type { BiomeType } from "@wayward/game/game/biome/IBiome";
|
|
12
|
-
import type { SkillType } from "
|
|
12
|
+
import type { SkillType } from "./entity/skill/ISkills";
|
|
13
13
|
import type { ItemType } from "@wayward/game/game/item/IItem";
|
|
14
14
|
import type { TerrainType } from "@wayward/game/game/tile/ITerrain";
|
|
15
15
|
import type { ISerializedTranslation } from "@wayward/game/language/ITranslation";
|
|
@@ -80,6 +80,7 @@ export declare enum Quality {
|
|
|
80
80
|
Relic = 6
|
|
81
81
|
}
|
|
82
82
|
export type QualityNatural = Exclude<Quality, Quality.Random | Quality.Mastercrafted>;
|
|
83
|
+
export type QualityReal = Exclude<Quality, Quality.Random>;
|
|
83
84
|
export interface IQualityEvents {
|
|
84
85
|
qualityChange(quality: Quality, oldQuality: Quality): any;
|
|
85
86
|
}
|
|
@@ -12,7 +12,7 @@ import type { CurseEvent, CurseEventContext } from "@wayward/game/game/curse/Cur
|
|
|
12
12
|
import { CurseEventSubscriber } from "@wayward/game/game/curse/CurseEvent";
|
|
13
13
|
import { CurseCategory, CurseComponent, CurseEventDisplayMode, CurseEventType } from "@wayward/game/game/curse/ICurse";
|
|
14
14
|
import type Human from "@wayward/game/game/entity/Human";
|
|
15
|
-
import { SkillType } from "@wayward/game/game/entity/
|
|
15
|
+
import { SkillType } from "@wayward/game/game/entity/skill/ISkills";
|
|
16
16
|
import type Island from "@wayward/game/game/island/Island";
|
|
17
17
|
import type { IVector2 } from "@wayward/game/utilities/math/IVector";
|
|
18
18
|
import { IRange, IRangeRange } from "@wayward/utilities/math/Range";
|
|
@@ -37,6 +37,11 @@ export declare const CumulativeKilling: DataComponent<number, number>;
|
|
|
37
37
|
export declare const Sleeplessness: DataComponent<number, number>;
|
|
38
38
|
export declare const HighestAttack: DataComponent.Live<number>;
|
|
39
39
|
export declare const HighestDefense: DataComponent.Live<number>;
|
|
40
|
+
export interface Obliviousness {
|
|
41
|
+
days: number;
|
|
42
|
+
thisNightInvalidated: boolean;
|
|
43
|
+
}
|
|
44
|
+
export declare const Obliviousness: DataComponent<Obliviousness, Obliviousness>;
|
|
40
45
|
/**
|
|
41
46
|
* Gets the highest value of either current or max skill multiplied by the "evilness" of each skill (from rune chance)
|
|
42
47
|
* (Basically, high values in any of the evil-er skills make curse go brrrr)
|
|
@@ -101,11 +106,13 @@ declare namespace Curse {
|
|
|
101
106
|
function canWarnAboutIncomingEvents(island: Island): boolean;
|
|
102
107
|
function getCooldownMultiplier(island: Island, humans?: Human<unknown, number, import("../reference/IReferenceManager").ReferenceType.NPC | import("../reference/IReferenceManager").ReferenceType.Player, unknown>[]): number;
|
|
103
108
|
function clearCooldown(island: Island): void;
|
|
109
|
+
function resetCooldown(island: Island): void;
|
|
104
110
|
function tickCurse(island: Island, humans: Human[]): void;
|
|
105
|
-
function reload(island: Island): void;
|
|
111
|
+
function reload(island: Island, isNew?: boolean): void;
|
|
106
112
|
function spawnCurseEvents(island: Island, humans: Human[]): void;
|
|
107
113
|
function attemptCurseEventSpawn(category: CurseCategory, human: Human, curse: number, humans: Human[], events: CurseEventInstance[]): CurseEventInstance | undefined;
|
|
108
114
|
function attemptSpecificCurseEventSpawn(human: Human, type: CurseEventType, humans: Human[], curse?: number): CurseEventInstance | undefined;
|
|
115
|
+
function attemptSpecificCurseEventSpawnOnPlayer(player: Human, curseType: CurseEventType): CurseEventInstance | undefined;
|
|
109
116
|
function unload(island: Island): void;
|
|
110
117
|
function cleanup(island: Island, humans?: Human[], isMorning?: boolean): void;
|
|
111
118
|
function cleanupEphemerals(island: Island): void;
|
|
@@ -19,7 +19,7 @@ import EntityMovable from "@wayward/game/game/entity/EntityMovable";
|
|
|
19
19
|
import type Human from "@wayward/game/game/entity/Human";
|
|
20
20
|
import type { IEntityConstructorOptions } from "@wayward/game/game/entity/IEntity";
|
|
21
21
|
import { EntityType } from "@wayward/game/game/entity/IEntity";
|
|
22
|
-
import { SkillType } from "@wayward/game/game/entity/
|
|
22
|
+
import { SkillType } from "@wayward/game/game/entity/skill/ISkills";
|
|
23
23
|
import type { EquipType } from "@wayward/game/game/entity/IHuman";
|
|
24
24
|
import { ActionType } from "@wayward/game/game/entity/action/IAction";
|
|
25
25
|
import type Creature from "@wayward/game/game/entity/creature/Creature";
|
|
@@ -34,7 +34,7 @@ import type Item from "@wayward/game/game/item/Item";
|
|
|
34
34
|
import type { IHasMagic } from "@wayward/game/game/magic/IMagicalProperty";
|
|
35
35
|
import MagicalPropertyManager from "@wayward/game/game/magic/MagicalPropertyManager";
|
|
36
36
|
import type { Reference, ReferenceType } from "@wayward/game/game/reference/IReferenceManager";
|
|
37
|
-
import type { IHasInsulation, TempType } from "@wayward/game/game/temperature/ITemperature";
|
|
37
|
+
import type { IHasInsulation, IInsulationResult, TempType } from "@wayward/game/game/temperature/ITemperature";
|
|
38
38
|
import type Tile from "@wayward/game/game/tile/Tile";
|
|
39
39
|
import type TileEvent from "@wayward/game/game/tile/TileEvent";
|
|
40
40
|
import FireStage from "@wayward/game/game/tile/events/fire/FireStage";
|
|
@@ -233,7 +233,7 @@ export default class Doodad extends EntityMovable<IDoodadDescription, DoodadType
|
|
|
233
233
|
removeMagic(): void;
|
|
234
234
|
unhitch(): void;
|
|
235
235
|
damage(forceBreak?: boolean, skipDropAsItem?: boolean, skipSound?: boolean, skipResources?: boolean, damage?: number): void;
|
|
236
|
-
getDefaultDurability(random?: import("@wayward/utilities/random/Random").Random<import("@wayward/utilities/random/generators/
|
|
236
|
+
getDefaultDurability(random?: import("@wayward/utilities/random/Random").Random<import("@wayward/utilities/random/generators/PCGSeededGenerator").PCGSeededGenerator | import("@wayward/utilities/random/generators/LegacySeededGenerator").LegacySeededGenerator>): number;
|
|
237
237
|
/**
|
|
238
238
|
* Gets the container to use for doodad executed actions
|
|
239
239
|
*/
|
|
@@ -276,7 +276,7 @@ export default class Doodad extends EntityMovable<IDoodadDescription, DoodadType
|
|
|
276
276
|
*/
|
|
277
277
|
getLiquidGatherType(): keyof ILiquidGather | undefined;
|
|
278
278
|
getProducedTemperature(): number | undefined;
|
|
279
|
-
getInsulation(type: TempType):
|
|
279
|
+
getInsulation(type: TempType): IInsulationResult | undefined;
|
|
280
280
|
isIslandPort(): boolean;
|
|
281
281
|
/**
|
|
282
282
|
* Refills solar stills when they are on shallow water automatically.
|
|
@@ -13,7 +13,7 @@ import type Doodad from "@wayward/game/game/doodad/Doodad";
|
|
|
13
13
|
import type { ActionType } from "@wayward/game/game/entity/action/IAction";
|
|
14
14
|
import type Human from "@wayward/game/game/entity/Human";
|
|
15
15
|
import type { ICausesDamage, ICausesStatus } from "@wayward/game/game/entity/IEntity";
|
|
16
|
-
import type { SkillType } from "
|
|
16
|
+
import type { SkillType } from "../entity/skill/ISkills";
|
|
17
17
|
import type { IDecayTemperatureRange } from "@wayward/game/game/IGame";
|
|
18
18
|
import type { ILootItem } from "@wayward/game/game/ILoot";
|
|
19
19
|
import type { IObjectDescription, IObjectOptions } from "@wayward/game/game/IObject";
|
|
@@ -17,8 +17,9 @@ import type Entity from "@wayward/game/game/entity/Entity";
|
|
|
17
17
|
import EntityWithStats from "@wayward/game/game/entity/EntityWithStats";
|
|
18
18
|
import type { IAttack, ICausesDamage, IEntityConstructorOptions, IMovingData, MoveFlag } from "@wayward/game/game/entity/IEntity";
|
|
19
19
|
import { AttackType, DamageType, IStatChangeInfo, StatusChangeReason } from "@wayward/game/game/entity/IEntity";
|
|
20
|
-
import type { HumanTag, ICheckUnderOptions, ICrafted, ICustomizations, IHumanEvents, ILoadOnIslandOptions, IRestData, IVoyageInfo, WalkToChangeReason } from "@wayward/game/game/entity/IHuman";
|
|
21
|
-
import { EquipType, RestCancelReason
|
|
20
|
+
import type { HumanTag, ICheckUnderOptions as ICheckUnderOptions, ICrafted, ICustomizations, IHumanEvents, ILoadOnIslandOptions, IRestData, IVoyageInfo, WalkToChangeReason } from "@wayward/game/game/entity/IHuman";
|
|
21
|
+
import { EquipType, RestCancelReason } from "@wayward/game/game/entity/IHuman";
|
|
22
|
+
import { SkillType } from "@wayward/game/game/entity/skill/ISkills";
|
|
22
23
|
import type { IStat } from "@wayward/game/game/entity/IStats";
|
|
23
24
|
import { Stat } from "@wayward/game/game/entity/IStats";
|
|
24
25
|
import type { StatChangeTimerFactory } from "@wayward/game/game/entity/StatFactory";
|
|
@@ -48,7 +49,7 @@ import { Milestone } from "@wayward/game/game/milestones/IMilestone";
|
|
|
48
49
|
import Runekeeper from "@wayward/game/game/milestones/milestone/Runekeeper";
|
|
49
50
|
import type { IGameOptionsPartial, IGameOptionsPlayer } from "@wayward/game/game/options/IGameOptions";
|
|
50
51
|
import type { Reference, ReferenceType } from "@wayward/game/game/reference/IReferenceManager";
|
|
51
|
-
import type { IHasInsulation } from "@wayward/game/game/temperature/ITemperature";
|
|
52
|
+
import type { IHasInsulation, IInsulationResult } from "@wayward/game/game/temperature/ITemperature";
|
|
52
53
|
import { TempType } from "@wayward/game/game/temperature/ITemperature";
|
|
53
54
|
import type { FindPathRange } from "@wayward/game/game/tile/ITerrain";
|
|
54
55
|
import type Tile from "@wayward/game/game/tile/Tile";
|
|
@@ -435,7 +436,7 @@ export default abstract class Human<DescriptionType = unknown, TypeType extends
|
|
|
435
436
|
*/
|
|
436
437
|
getBarteringBonus(baseCredits: number): number;
|
|
437
438
|
getProducedTemperature(): number | undefined;
|
|
438
|
-
getInsulation(type: TempType):
|
|
439
|
+
getInsulation(type: TempType): IInsulationResult;
|
|
439
440
|
resetStatTimers(type?: StatChangeCurrentTimerStrategy, isNPC?: boolean): void;
|
|
440
441
|
resetChangeTimers(): void;
|
|
441
442
|
private getBaseStatBonuses;
|
|
@@ -12,7 +12,8 @@ import type { IMovementTime } from "@wayward/game/game/IGame";
|
|
|
12
12
|
import type Doodad from "@wayward/game/game/doodad/Doodad";
|
|
13
13
|
import type Entity from "@wayward/game/game/entity/Entity";
|
|
14
14
|
import type Human from "@wayward/game/game/entity/Human";
|
|
15
|
-
import type { Delay, MovingState
|
|
15
|
+
import type { Delay, MovingState } from "@wayward/game/game/entity/IHuman";
|
|
16
|
+
import type { SkillType } from "./skill/ISkills";
|
|
16
17
|
import type { ActionType } from "@wayward/game/game/entity/action/IAction";
|
|
17
18
|
import type Creature from "@wayward/game/game/entity/creature/Creature";
|
|
18
19
|
import type Corpse from "@wayward/game/game/entity/creature/corpse/Corpse";
|
|
@@ -19,6 +19,7 @@ import type { CreatureType, IDamageInfo } from "@wayward/game/game/entity/creatu
|
|
|
19
19
|
import type NPC from "@wayward/game/game/entity/npc/NPC";
|
|
20
20
|
import type { IMovementIntent, WalkTo, WeightStatus } from "@wayward/game/game/entity/player/IPlayer";
|
|
21
21
|
import type PlayerDefense from "@wayward/game/game/entity/player/PlayerDefense";
|
|
22
|
+
import { SkillType } from "@wayward/game/game/entity/skill/ISkills";
|
|
22
23
|
import type { ISkillEvents } from "@wayward/game/game/entity/skill/SkillManager";
|
|
23
24
|
import type { IslandId } from "@wayward/game/game/island/IIsland";
|
|
24
25
|
import type Island from "@wayward/game/game/island/Island";
|
|
@@ -355,22 +356,6 @@ export declare const EQUIP_SLOTS: EquipType[];
|
|
|
355
356
|
export declare const EQUIP_SLOTS_FREE: EquipType[];
|
|
356
357
|
export declare const EQUIP_SLOT_ITEM_GROUPS: Record<EquipType, ItemTypeGroup | undefined>;
|
|
357
358
|
export declare const equipmentRenderOrder: EquipType[];
|
|
358
|
-
export type InsulationWeight = number | [number, "onlyWhenEquipped"];
|
|
359
|
-
export declare const equipSlotInsulationWeights: Record<TempType, PartialRecord<EquipType, InsulationWeight>>;
|
|
360
|
-
export interface IExcludedWhenLowering {
|
|
361
|
-
excludeIfLowering: true;
|
|
362
|
-
}
|
|
363
|
-
/**
|
|
364
|
-
* @param weight The weight of this slot in the calculation. Compare this number to the weights of other slots.
|
|
365
|
-
* @param insulation The insulation value of the item in this slot.
|
|
366
|
-
* @param excluded Whether this slot's insulation should be excluded if it lowers the resulting insulation value.
|
|
367
|
-
*/
|
|
368
|
-
export type CalculatedEquipSlotInsulation = [
|
|
369
|
-
weight: number,
|
|
370
|
-
insulation: number,
|
|
371
|
-
excluded?: IExcludedWhenLowering
|
|
372
|
-
];
|
|
373
|
-
export declare function calculateEquipSlotInsulation(type: TempType, slot: EquipType, equipped?: Item): CalculatedEquipSlotInsulation;
|
|
374
359
|
export declare const insulationRangeWhenSwimming: Record<TempType, IRange>;
|
|
375
360
|
export declare enum HairColor {
|
|
376
361
|
"#e7c978" = 0,// blonde
|
|
@@ -435,48 +420,13 @@ export declare enum RestType {
|
|
|
435
420
|
Resting = 0,
|
|
436
421
|
Sleeping = 1
|
|
437
422
|
}
|
|
438
|
-
export declare enum SkillType {
|
|
439
|
-
None = 0,
|
|
440
|
-
Chemistry = 1,
|
|
441
|
-
Anatomy = 2,
|
|
442
|
-
Marksmanship = 3,
|
|
443
|
-
Blacksmithing = 4,
|
|
444
|
-
Botany = 5,
|
|
445
|
-
Camping = 6,
|
|
446
|
-
Cartography = 7,
|
|
447
|
-
Claythrowing = 8,
|
|
448
|
-
Cooking = 9,
|
|
449
|
-
Fishing = 10,
|
|
450
|
-
Fletching = 11,
|
|
451
|
-
Glassblowing = 12,
|
|
452
|
-
Leatherworking = 13,
|
|
453
|
-
Lockpicking = 14,
|
|
454
|
-
Lumberjacking = 15,
|
|
455
|
-
Mining = 16,
|
|
456
|
-
Mycology = 17,
|
|
457
|
-
Parrying = 18,
|
|
458
|
-
Stonecrafting = 19,
|
|
459
|
-
Swimming = 20,
|
|
460
|
-
Tactics = 21,
|
|
461
|
-
Tailoring = 22,
|
|
462
|
-
Throwing = 23,
|
|
463
|
-
Tinkering = 24,
|
|
464
|
-
Trapping = 25,
|
|
465
|
-
Woodworking = 26,
|
|
466
|
-
Taming = 27,
|
|
467
|
-
Horticulture = 28,
|
|
468
|
-
Bartering = 29,
|
|
469
|
-
Seafaring = 30,
|
|
470
|
-
Thaumaturgy = 31,
|
|
471
|
-
DualWielding = 32,
|
|
472
|
-
Theurgy = 33
|
|
473
|
-
}
|
|
474
423
|
export interface ICrafted {
|
|
475
424
|
unlockTime: number;
|
|
476
425
|
newUnlock: boolean;
|
|
477
426
|
}
|
|
478
427
|
export interface ICheckUnderOptions {
|
|
479
|
-
|
|
428
|
+
skipDoodadsAndTileEvents?: boolean;
|
|
429
|
+
doItemCrushing?: boolean;
|
|
480
430
|
burned?: boolean;
|
|
481
431
|
}
|
|
482
432
|
export declare const craftingChances: Descriptions<RecipeLevel, number>;
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://github.com/WaywardGame/types/wiki
|
|
10
10
|
*/
|
|
11
11
|
import type Human from "@wayward/game/game/entity/Human";
|
|
12
|
-
import type { SkillType } from "
|
|
12
|
+
import type { SkillType } from "./skill/ISkills";
|
|
13
13
|
import { Stat } from "@wayward/game/game/entity/IStats";
|
|
14
14
|
export interface IStatGainInfo {
|
|
15
15
|
amount?: number;
|
|
@@ -12,7 +12,7 @@ import type { SfxType } from "@wayward/game/audio/IAudio";
|
|
|
12
12
|
import type { DeityReal } from "@wayward/game/game/deity/Deity";
|
|
13
13
|
import type Entity from "@wayward/game/game/entity/Entity";
|
|
14
14
|
import type Human from "@wayward/game/game/entity/Human";
|
|
15
|
-
import type { SkillType } from "
|
|
15
|
+
import type { SkillType } from "../skill/ISkills";
|
|
16
16
|
import type { ActionArguments, ActionExecutorEvents, AnyActionDescription, IActionApi, IActionArgumentTypeMap, IActionConfirmerApi, IActionDescription, IActionExample, IActionParticle, IActionSoundEffect, IActionUsable, IProtectedItems, SkillGain } from "@wayward/game/game/entity/action/IAction";
|
|
17
17
|
import { ActionArgument, ActionType, BlockFlag, IActionNotUsable } from "@wayward/game/game/entity/action/IAction";
|
|
18
18
|
import IActionContext from "@wayward/game/game/entity/action/IActionContext";
|
|
@@ -15,7 +15,7 @@ import type Doodad from "@wayward/game/game/doodad/Doodad";
|
|
|
15
15
|
import type Entity from "@wayward/game/game/entity/Entity";
|
|
16
16
|
import type Human from "@wayward/game/game/entity/Human";
|
|
17
17
|
import type { EntityType } from "@wayward/game/game/entity/IEntity";
|
|
18
|
-
import type { SkillType } from "
|
|
18
|
+
import type { SkillType } from "../skill/ISkills";
|
|
19
19
|
import type { Action } from "@wayward/game/game/entity/action/Action";
|
|
20
20
|
import type IActionContext from "@wayward/game/game/entity/action/IActionContext";
|
|
21
21
|
import type { INotUsableMessage } from "@wayward/game/game/entity/action/actions/helper/NotUsableMessage";
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
*/
|
|
11
11
|
import type Human from "@wayward/game/game/entity/Human";
|
|
12
12
|
import { AttackType } from "@wayward/game/game/entity/IEntity";
|
|
13
|
-
import { SkillType } from "@wayward/game/game/entity/
|
|
13
|
+
import { SkillType } from "@wayward/game/game/entity/skill/ISkills";
|
|
14
14
|
import { Action } from "@wayward/game/game/entity/action/Action";
|
|
15
15
|
import type { IActionUsable } from "@wayward/game/game/entity/action/IAction";
|
|
16
16
|
import { ActionArgument, ActionType } from "@wayward/game/game/entity/action/IAction";
|
|
@@ -14,7 +14,7 @@ import type Doodad from "@wayward/game/game/doodad/Doodad";
|
|
|
14
14
|
import type { IDoodadDescription } from "@wayward/game/game/doodad/IDoodad";
|
|
15
15
|
import { GrowingStage } from "@wayward/game/game/doodad/IDoodad";
|
|
16
16
|
import type Human from "@wayward/game/game/entity/Human";
|
|
17
|
-
import { SkillType } from "@wayward/game/game/entity/
|
|
17
|
+
import { SkillType } from "@wayward/game/game/entity/skill/ISkills";
|
|
18
18
|
import { Action } from "@wayward/game/game/entity/action/Action";
|
|
19
19
|
import type { IActionUsable } from "@wayward/game/game/entity/action/IAction";
|
|
20
20
|
import { ActionArgument, ActionType } from "@wayward/game/game/entity/action/IAction";
|
|
@@ -19,5 +19,5 @@ export interface ISetCreatureAiCanUse extends IActionUsable {
|
|
|
19
19
|
creatures: Creature[];
|
|
20
20
|
}
|
|
21
21
|
export declare function hasSkillToSetCreatureAi(human: Human, creatureDescription: ICreatureDescription | undefined, ai: AiType): boolean;
|
|
22
|
-
declare const _default: Action<[[arg1: ActionArgument.Undefined, ActionArgument.Creature], [arg1: ActionArgument.Undefined, ActionArgument.ItemInventory], import("../argument/ActionArgumentEnum").default<AiType, "None" | "Attack" | "
|
|
22
|
+
declare const _default: Action<[[arg1: ActionArgument.Undefined, ActionArgument.Creature], [arg1: ActionArgument.Undefined, ActionArgument.ItemInventory], import("../argument/ActionArgumentEnum").default<AiType, "None" | "Attack" | "Idle" | "Neutral" | "Scared" | "Hostile" | "Fearless" | "HostileFearless" | "Alerted" | "Waiting" | "Hidden" | "Pacified" | "CanSwapWith" | "CanSwapLayers" | "FollowClose" | "FollowFar" | "Stay" | "AttackAdjacent" | "AttackInSight" | "Defend" | "Heel">], ActionType.SetCreatureAi, Human<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, ISetCreatureAiCanUse, [Creature | undefined, import("../../../item/Item").default | undefined, AiType]>;
|
|
23
23
|
export default _default;
|
|
@@ -9,5 +9,5 @@
|
|
|
9
9
|
* https://github.com/WaywardGame/types/wiki
|
|
10
10
|
*/
|
|
11
11
|
import { ActionType } from "@wayward/game/game/entity/action/IAction";
|
|
12
|
-
declare const _default: import("../Action").Action<[[arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.Creature], [arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemInventory], import("../argument/ActionArgumentEnum").default<import("../../ai/AI").AiType, "None" | "Attack" | "
|
|
12
|
+
declare const _default: import("../Action").Action<[[arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.Creature], [arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemInventory], import("../argument/ActionArgumentEnum").default<import("../../ai/AI").AiType, "None" | "Attack" | "Idle" | "Neutral" | "Scared" | "Hostile" | "Fearless" | "HostileFearless" | "Alerted" | "Waiting" | "Hidden" | "Pacified" | "CanSwapWith" | "CanSwapLayers" | "FollowClose" | "FollowFar" | "Stay" | "AttackAdjacent" | "AttackInSight" | "Defend" | "Heel">], ActionType.SetCreatureAiAll, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, import("@wayward/game/game/entity/action/actions/SetCreatureAi").ISetCreatureAiCanUse, [import("../../creature/Creature").default | undefined, import("../../../item/Item").default | undefined, import("../../ai/AI").AiType]>;
|
|
13
13
|
export default _default;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* Wayward is a copyrighted and licensed work. Modification and/or distribution of any source files is prohibited. If you wish to modify the game in any way, please refer to the modding guide:
|
|
9
9
|
* https://github.com/WaywardGame/types/wiki
|
|
10
10
|
*/
|
|
11
|
-
import { SkillType } from "@wayward/game/game/entity/
|
|
11
|
+
import { SkillType } from "@wayward/game/game/entity/skill/ISkills";
|
|
12
12
|
import { Action } from "@wayward/game/game/entity/action/Action";
|
|
13
13
|
import { ActionArgument, ActionType } from "@wayward/game/game/entity/action/IAction";
|
|
14
14
|
import { Milestone } from "@wayward/game/game/milestones/IMilestone";
|
|
@@ -16,5 +16,5 @@ export declare enum TitleType {
|
|
|
16
16
|
Milestone = 0,
|
|
17
17
|
Skill = 1
|
|
18
18
|
}
|
|
19
|
-
declare const _default: Action<[[ActionArgument.Undefined, import("../argument/ActionArgumentEnum").default<TitleType, "
|
|
19
|
+
declare const _default: Action<[[ActionArgument.Undefined, import("../argument/ActionArgumentEnum").default<TitleType, "Milestone" | "Skill">], [arg1: ActionArgument.Undefined, import("../argument/ActionArgumentEnum").default<Milestone, "Navigator" | "Abnormalizer" | "Merchant" | "Cursed" | "Prepared" | "Chef" | "Exterminator" | "Crafter" | "Gardener" | "Gatherer" | "Hunter" | "Locksmith" | "ReaperOfSouls" | "Survivor" | "Pitcher" | "Trapsetter" | "TreasureHunter" | "Collector" | "Explorer" | "Grandmaster" | "Doctor" | "Artificer" | "Returned" | "DragonSlayer" | "Treasurer" | "Pulchritudinous" | "Friendly" | "Malevolent" | "Benevolent" | "Boundless" | "Talented" | "Weathered" | "Seasoned" | "Pacifier" | "Notekeeper" | "Operator" | "Huntsman" | "Contender" | "Challenger" | "DestroyerOfMagi" | "Helmsman" | "Multitasker" | "Apocryphal" | "Diverse" | "InternalDiscoveredBoats" | "Traitor" | "MasterOfAll" | "Rouseabout" | "Murderer" | "Retailer" | "Masochist" | "Versatile" | "InternalStatDiscovery" | "Dedicated" | "Hounded" | "Serene" | "InternalRuneOrAltarDiscovery" | "Curator" | "Thaumaturgic" | "Runekeeper" | "InternalDeityDiscovery" | "InternalMerchantsDiscovery" | "InternalCurseSystemDiscovery" | "Invoker" | "InternalDeityInvoked" | "InternalInsulationDiscovery" | "Turbulent" | "Statistician" | "Afflicted" | "Exsanguinated" | "InternalItemDiscovered" | "Cursebreaker" | "Oblivious">, import("../argument/ActionArgumentEnum").default<SkillType, "None" | "Taming" | "Mining" | "Swimming" | "Chemistry" | "Anatomy" | "Marksmanship" | "Blacksmithing" | "Botany" | "Camping" | "Cartography" | "Claythrowing" | "Cooking" | "Fishing" | "Fletching" | "Glassblowing" | "Leatherworking" | "Lockpicking" | "Lumberjacking" | "Mycology" | "Parrying" | "Stonecrafting" | "Tactics" | "Tailoring" | "Throwing" | "Tinkering" | "Trapping" | "Woodworking" | "Horticulture" | "Bartering" | "Seafaring" | "Thaumaturgy" | "DualWielding" | "Theurgy">]], ActionType.SetTitle, import("../../player/Player").default, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [(TitleType | undefined)?, (Milestone | SkillType | undefined)?]>;
|
|
20
20
|
export default _default;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* Wayward is a copyrighted and licensed work. Modification and/or distribution of any source files is prohibited. If you wish to modify the game in any way, please refer to the modding guide:
|
|
9
9
|
* https://github.com/WaywardGame/types/wiki
|
|
10
10
|
*/
|
|
11
|
-
import type { SkillType } from "
|
|
11
|
+
import type { SkillType } from "../../skill/ISkills";
|
|
12
12
|
import type { ItemType } from "@wayward/game/game/item/IItem";
|
|
13
13
|
import type { TerrainType } from "@wayward/game/game/tile/ITerrain";
|
|
14
14
|
import type { TileEventType } from "@wayward/game/game/tile/ITileEvent";
|
|
@@ -15,7 +15,8 @@ export declare enum DataComponentType {
|
|
|
15
15
|
CurseCumulativeEvilCrafting = 2,
|
|
16
16
|
CurseCumulativeKilling = 3,
|
|
17
17
|
CurseHighestAttack = 4,
|
|
18
|
-
CurseHighestDefense = 5
|
|
18
|
+
CurseHighestDefense = 5,
|
|
19
|
+
CurseMilestoneObliviousness = 6
|
|
19
20
|
}
|
|
20
21
|
interface DataComponent<T, DEFAULT_VALUE extends T | undefined = undefined> {
|
|
21
22
|
readonly type: DataComponentType;
|
|
@@ -10,7 +10,8 @@
|
|
|
10
10
|
*/
|
|
11
11
|
import type Entity from "@wayward/game/game/entity/Entity";
|
|
12
12
|
import type Human from "@wayward/game/game/entity/Human";
|
|
13
|
-
import type { HairColor, HairStyle,
|
|
13
|
+
import type { HairColor, HairStyle, SkinColor } from "@wayward/game/game/entity/IHuman";
|
|
14
|
+
import type { SkillType } from "../skill/ISkills";
|
|
14
15
|
import type { TitleType } from "@wayward/game/game/entity/action/actions/SetTitle";
|
|
15
16
|
import type { IMessage } from "@wayward/game/game/entity/player/IMessageManager";
|
|
16
17
|
import type MessageManager from "@wayward/game/game/entity/player/MessageManager";
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
import { TileUpdateType } from "@wayward/game/game/IGame";
|
|
12
12
|
import Human from "@wayward/game/game/entity/Human";
|
|
13
13
|
import { EntityType } from "@wayward/game/game/entity/IEntity";
|
|
14
|
-
import { SkillType } from "@wayward/game/game/entity/
|
|
14
|
+
import { SkillType } from "@wayward/game/game/entity/skill/ISkills";
|
|
15
15
|
import IActionContext from "@wayward/game/game/entity/action/IActionContext";
|
|
16
16
|
import type { IDamageInfo } from "@wayward/game/game/entity/creature/ICreature";
|
|
17
17
|
import { CreatureType } from "@wayward/game/game/entity/creature/ICreature";
|
|
@@ -15,7 +15,7 @@ declare const requirements: {
|
|
|
15
15
|
2: QuestRequirement<[import("../../creature/ICreature").CreatureType, number], import("@wayward/game/game/entity/player/quest/requirement/KillCreatureRequirement").IKillCreatureRequirement>;
|
|
16
16
|
3: QuestRequirement<[number], import("@wayward/game/game/entity/player/quest/requirement/KillCreaturesRequirement").IKillCreaturesRequirement>;
|
|
17
17
|
1: QuestRequirement<[(import("../../../item/IItem").ItemType | import("../../../item/IItem").ItemTypeGroup)[], number], {}>;
|
|
18
|
-
4: QuestRequirement<[import("../../
|
|
18
|
+
4: QuestRequirement<[import("../../skill/ISkills").SkillType, number], {}>;
|
|
19
19
|
5: QuestRequirement<[number], {}>;
|
|
20
20
|
6: QuestRequirement<[number], {}>;
|
|
21
21
|
7: QuestRequirement<[import("../../IHuman").EquipType[], import("../../../item/IItem").ItemTypeGroup[]], {}>;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* Wayward is a copyrighted and licensed work. Modification and/or distribution of any source files is prohibited. If you wish to modify the game in any way, please refer to the modding guide:
|
|
9
9
|
* https://github.com/WaywardGame/types/wiki
|
|
10
10
|
*/
|
|
11
|
-
import type { SkillType } from "
|
|
11
|
+
import type { SkillType } from "../../../skill/ISkills";
|
|
12
12
|
import { QuestRequirement } from "@wayward/game/game/entity/player/quest/requirement/Requirement";
|
|
13
13
|
declare const _default: QuestRequirement<[SkillType, number], {}>;
|
|
14
14
|
export default _default;
|
|
@@ -10,9 +10,44 @@
|
|
|
10
10
|
*/
|
|
11
11
|
import type { RuneChance } from "@wayward/game/game/deity/IDeities";
|
|
12
12
|
import { DamageType } from "@wayward/game/game/entity/IEntity";
|
|
13
|
-
import { SkillType } from "@wayward/game/game/entity/IHuman";
|
|
14
13
|
import { Stat } from "@wayward/game/game/entity/IStats";
|
|
15
14
|
import type { IModdable } from "@wayward/game/mod/ModRegistry";
|
|
15
|
+
export declare enum SkillType {
|
|
16
|
+
None = 0,
|
|
17
|
+
Chemistry = 1,
|
|
18
|
+
Anatomy = 2,
|
|
19
|
+
Marksmanship = 3,
|
|
20
|
+
Blacksmithing = 4,
|
|
21
|
+
Botany = 5,
|
|
22
|
+
Camping = 6,
|
|
23
|
+
Cartography = 7,
|
|
24
|
+
Claythrowing = 8,
|
|
25
|
+
Cooking = 9,
|
|
26
|
+
Fishing = 10,
|
|
27
|
+
Fletching = 11,
|
|
28
|
+
Glassblowing = 12,
|
|
29
|
+
Leatherworking = 13,
|
|
30
|
+
Lockpicking = 14,
|
|
31
|
+
Lumberjacking = 15,
|
|
32
|
+
Mining = 16,
|
|
33
|
+
Mycology = 17,
|
|
34
|
+
Parrying = 18,
|
|
35
|
+
Stonecrafting = 19,
|
|
36
|
+
Swimming = 20,
|
|
37
|
+
Tactics = 21,
|
|
38
|
+
Tailoring = 22,
|
|
39
|
+
Throwing = 23,
|
|
40
|
+
Tinkering = 24,
|
|
41
|
+
Trapping = 25,
|
|
42
|
+
Woodworking = 26,
|
|
43
|
+
Taming = 27,
|
|
44
|
+
Horticulture = 28,
|
|
45
|
+
Bartering = 29,
|
|
46
|
+
Seafaring = 30,
|
|
47
|
+
Thaumaturgy = 31,
|
|
48
|
+
DualWielding = 32,
|
|
49
|
+
Theurgy = 33
|
|
50
|
+
}
|
|
16
51
|
export interface ISkillLevel {
|
|
17
52
|
bonus: number;
|
|
18
53
|
core: number;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* Wayward is a copyrighted and licensed work. Modification and/or distribution of any source files is prohibited. If you wish to modify the game in any way, please refer to the modding guide:
|
|
9
9
|
* https://github.com/WaywardGame/types/wiki
|
|
10
10
|
*/
|
|
11
|
-
import { SkillType } from "
|
|
11
|
+
import { SkillType } from "./ISkills";
|
|
12
12
|
import type { ISkillLevel } from "@wayward/game/game/entity/skill/ISkills";
|
|
13
13
|
import type Island from "@wayward/game/game/island/Island";
|
|
14
14
|
import type EventEmitter from "@wayward/utilities/event/EventEmitter";
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* Wayward is a copyrighted and licensed work. Modification and/or distribution of any source files is prohibited. If you wish to modify the game in any way, please refer to the modding guide:
|
|
9
9
|
* https://github.com/WaywardGame/types/wiki
|
|
10
10
|
*/
|
|
11
|
-
import type { SkillType } from "
|
|
11
|
+
import type { SkillType } from "../skill/ISkills";
|
|
12
12
|
import type { StatusEffect, StatusEffectTypeArguments } from "@wayward/game/game/entity/status/IStatus";
|
|
13
13
|
import { StatusEffectType } from "@wayward/game/game/entity/status/IStatus";
|
|
14
14
|
import type IStatusContext from "@wayward/game/game/entity/status/IStatusContext";
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* Wayward is a copyrighted and licensed work. Modification and/or distribution of any source files is prohibited. If you wish to modify the game in any way, please refer to the modding guide:
|
|
9
9
|
* https://github.com/WaywardGame/types/wiki
|
|
10
10
|
*/
|
|
11
|
-
import type { SkillType } from "
|
|
11
|
+
import type { SkillType } from "../../entity/skill/ISkills";
|
|
12
12
|
import { InfoProvider } from "@wayward/game/game/inspection/InfoProvider";
|
|
13
13
|
import type { Quality } from "@wayward/game/game/IObject";
|
|
14
14
|
import type { MagicalNormalPropertyTypes, MagicalSubPropertyTypes } from "@wayward/game/game/magic/IMagicalProperty";
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://github.com/WaywardGame/types/wiki
|
|
10
10
|
*/
|
|
11
11
|
import type { IHasBuilder } from "@wayward/game/game/doodad/IDoodad";
|
|
12
|
-
import type { SkillType } from "
|
|
12
|
+
import type { SkillType } from "../../entity/skill/ISkills";
|
|
13
13
|
import type Player from "@wayward/game/game/entity/player/Player";
|
|
14
14
|
import { InfoProvider } from "@wayward/game/game/inspection/InfoProvider";
|
|
15
15
|
import type { InfoProviderContext } from "@wayward/game/game/inspection/InfoProviderContext";
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* Wayward is a copyrighted and licensed work. Modification and/or distribution of any source files is prohibited. If you wish to modify the game in any way, please refer to the modding guide:
|
|
9
9
|
* https://github.com/WaywardGame/types/wiki
|
|
10
10
|
*/
|
|
11
|
-
import type { SkillType } from "@wayward/game/game/entity/
|
|
11
|
+
import type { SkillType } from "@wayward/game/game/entity/skill/ISkills";
|
|
12
12
|
import type TranslationImpl from "@wayward/game/language/impl/TranslationImpl";
|
|
13
13
|
declare function SkillSourceTooltip(type: SkillType): TranslationImpl | undefined;
|
|
14
14
|
export default SkillSourceTooltip;
|
|
@@ -14,6 +14,7 @@ import UseInfo from "@wayward/game/game/inspection/infoProviders/UseInfo";
|
|
|
14
14
|
import type Item from "@wayward/game/game/item/Item";
|
|
15
15
|
import { MagicalPropertyEntry } from "@wayward/game/game/magic/IMagicalProperty";
|
|
16
16
|
import MagicalPropertyType from "@wayward/game/game/magic/MagicalPropertyType";
|
|
17
|
+
import type { IInsulationResult } from "@wayward/game/game/temperature/ITemperature";
|
|
17
18
|
import { TempType } from "@wayward/game/game/temperature/ITemperature";
|
|
18
19
|
declare const _default: UseInfo<{
|
|
19
20
|
doodadContainer: import("../../../../doodad/IDoodad").IDoodadDescription | undefined;
|
|
@@ -27,5 +28,5 @@ declare const _default: UseInfo<{
|
|
|
27
28
|
action: ActionType.Build;
|
|
28
29
|
union: import("@wayward/game/game/inspection/infoProviders/UseInfo").IUseInfoBase<Item, ActionType.Build>;
|
|
29
30
|
details: Set<symbol>;
|
|
30
|
-
}, ActionType.Build, Record<"getWeightCapacity", () => LabelledValue | undefined> & Record<"formatInsulation", (insulation:
|
|
31
|
+
}, ActionType.Build, Record<"getWeightCapacity", () => LabelledValue | undefined> & Record<"formatInsulation", (insulation: IInsulationResult, type?: TempType | undefined) => LabelledValue> & Record<"getInsulationOfType", (type: TempType) => LabelledValue | undefined> & Record<"getInsulation", () => (LabelledValue | undefined)[]> & Record<"getPreservationChance", () => LabelledValue | undefined> & Record<"getCivilizationScore", () => LabelledValue | undefined> & Record<"scareRadius", () => LabelledValue | undefined> & Record<"getMagicalBuildTypes", () => Set<MagicalPropertyType>> & Record<"getMagicEffect", (magic: MagicalPropertyEntry) => LabelledValue> & Record<"getDoodadSkill", () => LabelledValue[]> & Record<"getCraftingBonus", () => LabelledValue | undefined>, Item>;
|
|
31
32
|
export default _default;
|
|
@@ -15,7 +15,7 @@ import type Item from "@wayward/game/game/item/Item";
|
|
|
15
15
|
import type Tooltip from "@wayward/game/ui/tooltip/Tooltip";
|
|
16
16
|
declare const _default: UseInfo<{
|
|
17
17
|
onConsume: [Stat, number][];
|
|
18
|
-
skill: import("../../../../entity/
|
|
18
|
+
skill: import("../../../../entity/skill/ISkills").SkillType | undefined;
|
|
19
19
|
entityType: import("../../../../entity/IEntity").EntityType.Item;
|
|
20
20
|
value?: Item | undefined;
|
|
21
21
|
type: import("@wayward/game/game/item/IItem").ItemType;
|
|
@@ -13,10 +13,11 @@ import UseInfo from "@wayward/game/game/inspection/infoProviders/UseInfo";
|
|
|
13
13
|
import type Item from "@wayward/game/game/item/Item";
|
|
14
14
|
import { MagicalPropertyEntry } from "@wayward/game/game/magic/IMagicalProperty";
|
|
15
15
|
import MagicalPropertyType from "@wayward/game/game/magic/MagicalPropertyType";
|
|
16
|
+
import type { IInsulationResult } from "@wayward/game/game/temperature/ITemperature";
|
|
16
17
|
import { TempType } from "@wayward/game/game/temperature/ITemperature";
|
|
17
18
|
import UiTranslation from "@wayward/game/language/dictionary/UiTranslation";
|
|
18
19
|
declare const _default: UseInfo<{
|
|
19
|
-
equip: import("
|
|
20
|
+
equip: import("../../../../entity/IHuman").EquipType;
|
|
20
21
|
entityType: import("../../../../entity/IEntity").EntityType.Item;
|
|
21
22
|
value?: Item | undefined;
|
|
22
23
|
type: import("@wayward/game/game/item/IItem").ItemType;
|
|
@@ -25,5 +26,5 @@ declare const _default: UseInfo<{
|
|
|
25
26
|
action: ActionType.Equip;
|
|
26
27
|
union: import("@wayward/game/game/inspection/infoProviders/UseInfo").IUseInfoBase<Item, ActionType.Equip>;
|
|
27
28
|
details: Set<symbol>;
|
|
28
|
-
}, ActionType.Equip, Record<"getMagicalEquipTypes", () => Set<MagicalPropertyType>> & Record<"getMagicalPropertyLabels", () => Map<MagicalPropertyType, UiTranslation>> & Record<"isMagicalPropertyPercentage", (property: MagicalPropertyType) => boolean> & Record<"isMagicalPropertyPercentagePremultiplied", (property: MagicalPropertyType) => boolean> & Record<"getAttack", () => import("@wayward/game/game/inspection/InfoProvider").SimpleInfoProvider | undefined> & Record<"getDefense", () => import("../../../../../language/impl/TranslationImpl").default[]> & Record<"formatInsulation", (insulation?:
|
|
29
|
+
}, ActionType.Equip, Record<"getMagicalEquipTypes", () => Set<MagicalPropertyType>> & Record<"getMagicalPropertyLabels", () => Map<MagicalPropertyType, UiTranslation>> & Record<"isMagicalPropertyPercentage", (property: MagicalPropertyType) => boolean> & Record<"isMagicalPropertyPercentagePremultiplied", (property: MagicalPropertyType) => boolean> & Record<"getAttack", () => import("@wayward/game/game/inspection/InfoProvider").SimpleInfoProvider | undefined> & Record<"getDefense", () => import("../../../../../language/impl/TranslationImpl").default[]> & Record<"formatInsulation", (insulation?: IInsulationResult | undefined, type?: TempType | undefined) => import("../../../../../language/impl/TranslationImpl").default> & Record<"getInsulation", () => (import("../../../../../language/impl/TranslationImpl").default | undefined)[]> & Record<"getMagicEffect", (magic: MagicalPropertyEntry) => import("../../../../../language/impl/TranslationImpl").default> & Record<"getMagic", () => import("../../../../../language/impl/TranslationImpl").default[]>, Item>;
|
|
29
30
|
export default _default;
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://github.com/WaywardGame/types/wiki
|
|
10
10
|
*/
|
|
11
11
|
import type Human from "@wayward/game/game/entity/Human";
|
|
12
|
-
import type { SkillType } from "@wayward/game/game/entity/
|
|
12
|
+
import type { SkillType } from "@wayward/game/game/entity/skill/ISkills";
|
|
13
13
|
import type { SimpleInfoProvider } from "@wayward/game/game/inspection/InfoProvider";
|
|
14
14
|
import { InfoProvider } from "@wayward/game/game/inspection/InfoProvider";
|
|
15
15
|
import type TranslationImpl from "@wayward/game/language/impl/TranslationImpl";
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* Wayward is a copyrighted and licensed work. Modification and/or distribution of any source files is prohibited. If you wish to modify the game in any way, please refer to the modding guide:
|
|
9
9
|
* https://github.com/WaywardGame/types/wiki
|
|
10
10
|
*/
|
|
11
|
-
import { SkillType } from "@wayward/game/game/entity/
|
|
11
|
+
import { SkillType } from "@wayward/game/game/entity/skill/ISkills";
|
|
12
12
|
import { InspectType } from "@wayward/game/game/inspection/IInspection";
|
|
13
13
|
import type { SimpleInfoProvider } from "@wayward/game/game/inspection/InfoProvider";
|
|
14
14
|
import { InfoProvider } from "@wayward/game/game/inspection/InfoProvider";
|
|
@@ -15,7 +15,7 @@ import { TickHelper } from "@wayward/game/game/TickHelper";
|
|
|
15
15
|
import type { BiomeTypes, IBiomeDescription } from "@wayward/game/game/biome/IBiome";
|
|
16
16
|
import DoodadManager from "@wayward/game/game/doodad/DoodadManager";
|
|
17
17
|
import Human from "@wayward/game/game/entity/Human";
|
|
18
|
-
import type { SkillType } from "
|
|
18
|
+
import type { SkillType } from "../entity/skill/ISkills";
|
|
19
19
|
import Creature from "@wayward/game/game/entity/creature/Creature";
|
|
20
20
|
import CreatureManager from "@wayward/game/game/entity/creature/CreatureManager";
|
|
21
21
|
import type { IDamageInfo, IDamageOutcome, IDamageOutcomeInput } from "@wayward/game/game/entity/creature/ICreature";
|
|
@@ -343,4 +343,5 @@ export default class Island extends EventEmitter.Host<IIslandEvents> implements
|
|
|
343
343
|
* @returns number equal to the maximum travel time.
|
|
344
344
|
*/
|
|
345
345
|
getMaximumTravelTime(): number;
|
|
346
|
+
canMelt(terrainType: TerrainType, tile: Tile): boolean;
|
|
346
347
|
}
|
|
@@ -17,7 +17,7 @@ import type { RuneChance } from "@wayward/game/game/deity/IDeities";
|
|
|
17
17
|
import type { DoodadType, DoodadTypeGroup } from "@wayward/game/game/doodad/IDoodad";
|
|
18
18
|
import type Human from "@wayward/game/game/entity/Human";
|
|
19
19
|
import type { DamageType, Defense, EntityType, ICastable, MoveType } from "@wayward/game/game/entity/IEntity";
|
|
20
|
-
import type { SkillType } from "
|
|
20
|
+
import type { SkillType } from "../entity/skill/ISkills";
|
|
21
21
|
import { type Delay, type EquipType } from "@wayward/game/game/entity/IHuman";
|
|
22
22
|
import { Stat } from "@wayward/game/game/entity/IStats";
|
|
23
23
|
import type { IActionApi } from "@wayward/game/game/entity/action/IAction";
|