@wayward/types 2.11.5-beta.dev.20220301.1 → 2.11.5-beta.dev.20220303.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.
@@ -118,5 +118,11 @@ declare module TileHelpers {
118
118
  * Check if the tile is blocked (impassable terrain or doodads that cause blocked movement).
119
119
  */
120
120
  function isTileBlocked(island: Island, point: IVector3): boolean;
121
+ /**
122
+ * Checks whether a player can dig at a certain location or not.
123
+ * @param tile of the ITile to check where to dig.
124
+ * @returns True if a player can dig the tile.
125
+ */
126
+ function canDig(tile: ITile): boolean;
121
127
  }
122
128
  export default TileHelpers;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wayward/types",
3
3
  "description": "TypeScript declarations for Wayward, used for modding.",
4
- "version": "2.11.5-beta.dev.20220301.1",
4
+ "version": "2.11.5-beta.dev.20220303.1",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",