@wayward/types 2.11.2-beta.dev.20220105.2 → 2.11.2-beta.dev.20220109.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/audio/IAudio.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/SailToIsland.d.ts +4 -4
- package/definitions/game/game/island/Island.d.ts +1 -1
- package/definitions/game/game/tile/ITerrain.d.ts +2 -5
- package/definitions/game/game/tile/events/IFire.d.ts +2 -1
- package/package.json +1 -1
|
@@ -49,11 +49,11 @@ export declare const ISLAND_TRAVEL_TIME_SEAFARING_SKILL_REDUCTION_MULTIPLIER = 0
|
|
|
49
49
|
/**
|
|
50
50
|
* Metabolic stat loss is `travelTime * this multiplier`
|
|
51
51
|
*/
|
|
52
|
-
export declare const PLAYER_TRAVEL_METABOLIC_STAT_REDUCTION_MULTIPLIER = 0.
|
|
52
|
+
export declare const PLAYER_TRAVEL_METABOLIC_STAT_REDUCTION_MULTIPLIER = 0.2;
|
|
53
53
|
/**
|
|
54
54
|
* Stamina loss is `this reduction / Math.log2(boat tier)`
|
|
55
55
|
*/
|
|
56
|
-
export declare const PLAYER_TRAVEL_BOAT_STAMINA_STAT_REDUCTION =
|
|
56
|
+
export declare const PLAYER_TRAVEL_BOAT_STAMINA_STAT_REDUCTION = 40;
|
|
57
57
|
/**
|
|
58
58
|
* Stat loss is `this reduction / Math.log2(boat tier)`
|
|
59
59
|
*/
|
|
@@ -61,8 +61,8 @@ export declare const PLAYER_TRAVEL_CIVILIZATION_STAT_REDUCTION = 5;
|
|
|
61
61
|
/**
|
|
62
62
|
* Stamina loss is `lerp(this range, skill percentage)`
|
|
63
63
|
* This works out to:
|
|
64
|
-
* - 80% skill (required for swimming to another island) = ~
|
|
65
|
-
* - 100% skill =
|
|
64
|
+
* - 80% skill (required for swimming to another island) = ~108 stamina lost
|
|
65
|
+
* - 100% skill = 60 stamina lost
|
|
66
66
|
* - 125% skill = 0 stamina lost
|
|
67
67
|
*/
|
|
68
68
|
export declare const PLAYER_TRAVEL_SWIM_STAMINA_STAT_REDUCTION: IRange;
|
|
@@ -228,7 +228,7 @@ export default class Island extends EventEmitter.Host<IIslandEvents> implements
|
|
|
228
228
|
calculateTileLightLevel(tile: ITile, x: number, y: number, z: number): number;
|
|
229
229
|
getLightSourceAt(x: number, y: number, z: number): number;
|
|
230
230
|
fireBreath(x: number, y: number, z: number, facingDirection: Direction, itemName?: Translation, player?: boolean): void;
|
|
231
|
-
coolFires(requirements: IRequirementInfo): void;
|
|
231
|
+
coolFires(requirements: IRequirementInfo, human: Human): void;
|
|
232
232
|
isFlammable(x: number, y: number, z: number): boolean;
|
|
233
233
|
/**
|
|
234
234
|
* Converts shallow single bodies of fresh water into seawater.
|
|
@@ -27,7 +27,7 @@ import type { ILeftOverTile } from "game/tile/Terrains";
|
|
|
27
27
|
import type TileEvent from "game/tile/TileEvent";
|
|
28
28
|
import type { ISerializedTranslation } from "language/ITranslation";
|
|
29
29
|
import type { IModdable } from "mod/ModRegistry";
|
|
30
|
-
import type { IRGB } from "utilities/Color";
|
|
30
|
+
import type { IColorFul, IRGB } from "utilities/Color";
|
|
31
31
|
import type { IVector3 } from "utilities/math/IVector";
|
|
32
32
|
export interface ITerrainDescription extends IModdable {
|
|
33
33
|
passable?: boolean;
|
|
@@ -201,16 +201,13 @@ export interface ITemplateDoodad {
|
|
|
201
201
|
type: DoodadType;
|
|
202
202
|
growingStages: GrowingStage[];
|
|
203
203
|
}
|
|
204
|
-
export interface IOverlayInfo {
|
|
204
|
+
export interface IOverlayInfo extends Partial<IColorFul> {
|
|
205
205
|
type: OverlayType;
|
|
206
206
|
size?: number;
|
|
207
207
|
offsetX?: number;
|
|
208
208
|
offsetY?: number;
|
|
209
209
|
spriteOffsetX?: number;
|
|
210
210
|
spriteOffsetY?: number;
|
|
211
|
-
red?: number;
|
|
212
|
-
green?: number;
|
|
213
|
-
blue?: number;
|
|
214
211
|
alpha?: number;
|
|
215
212
|
}
|
|
216
213
|
export declare enum OverlayType {
|
|
@@ -17,7 +17,8 @@ import type Item from "game/item/Item";
|
|
|
17
17
|
import type { ITileContainer } from "game/tile/ITerrain";
|
|
18
18
|
import type TileEvent from "game/tile/TileEvent";
|
|
19
19
|
export declare enum FireStage {
|
|
20
|
-
|
|
20
|
+
Extinguished = 0,
|
|
21
|
+
Embers = 1,
|
|
21
22
|
AlmostExtinguished = 150,
|
|
22
23
|
Struggling = 300,
|
|
23
24
|
Thriving = 450,
|
package/package.json
CHANGED