@wayward/types 2.15.5-beta.dev.20260426.1 → 2.15.5-beta.dev.20260427.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.
|
@@ -112,7 +112,6 @@ export default abstract class Entity<DescriptionType = unknown, TypeType extends
|
|
|
112
112
|
*/
|
|
113
113
|
get isWithinHumanBounds(): boolean;
|
|
114
114
|
setHumansWithinBound(humansWithinBound: IHumanBound[]): void;
|
|
115
|
-
getHumansWithinBound(): Human[];
|
|
116
115
|
/**
|
|
117
116
|
* Returns humans within this entities fov & that they can see
|
|
118
117
|
*/
|
|
@@ -356,8 +356,4 @@ export default class Island extends EventEmitter.Host<IIslandEvents> implements
|
|
|
356
356
|
*/
|
|
357
357
|
getMaximumTravelTime(): number;
|
|
358
358
|
canMelt(terrainType: TerrainType, tile: Tile): boolean;
|
|
359
|
-
/**
|
|
360
|
-
* Gets the decay bonus based on the item or doodad's quality.
|
|
361
|
-
*/
|
|
362
|
-
getDecayQualityBonus(quality?: Quality): number;
|
|
363
359
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2011-2025 Unlok
|
|
3
|
+
* https://www.unlok.ca
|
|
4
|
+
*
|
|
5
|
+
* Credits & Thanks:
|
|
6
|
+
* https://www.unlok.ca/credits-thanks/
|
|
7
|
+
*
|
|
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
|
+
* https://github.com/WaywardGame/types/wiki
|
|
10
|
+
*/
|
|
11
|
+
import { Quality } from "@wayward/game/game/IObject";
|
|
12
|
+
declare namespace Decay {
|
|
13
|
+
/**
|
|
14
|
+
* Gets the decay bonus based on the item or doodad's quality.
|
|
15
|
+
*/
|
|
16
|
+
function getDecayQualityBonus(quality?: Quality): number;
|
|
17
|
+
}
|
|
18
|
+
export default Decay;
|
package/package.json
CHANGED