Skip to content

Commit 2bbc060

Browse files
committed
Update for 2.15.0-beta.dev.20250919.1
1 parent e561b22 commit 2bbc060

9 files changed

Lines changed: 169 additions & 142 deletions

File tree

definitions/game/game/entity/creature/ICreature.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,11 @@ export interface ICreatureDescription extends IModdable, ITemperatureDescription
359359
* Defaults to CREATURE_DEFAULT_ALERTED_DISTANCE_SQ
360360
*/
361361
alertedRadius?: number;
362+
/**
363+
* Set to false if you want the creature to not be slowed by cobwebs
364+
* Defaults to true (or undefined, which is treated as true)
365+
*/
366+
slowedByCobwebs?: boolean;
362367
}
363368
export interface ICreatureLoot {
364369
item: ItemType;

definitions/game/game/tile/ITileEvent.d.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import type { IObjectDescription } from "@wayward/game/game/IObject";
1515
import type Island from "@wayward/game/game/island/Island";
1616
import type { ItemType } from "@wayward/game/game/item/IItem";
1717
import type { ITemperatureSource } from "@wayward/game/game/temperature/ITemperature";
18-
import type { TerrainType } from "@wayward/game/game/tile/ITerrain";
18+
import { TerrainType } from "@wayward/game/game/tile/ITerrain";
1919
import type Tile from "@wayward/game/game/tile/Tile";
2020
import type TileEvent from "@wayward/game/game/tile/TileEvent";
2121
import type { IModdable } from "@wayward/game/mod/ModRegistry";
@@ -95,7 +95,12 @@ export interface ITileEventDescription extends IObjectDescription, IModdable, IC
9595
* If the tile event is a liquid and slowsEntities is set to true, then no slipping can occur.
9696
*/
9797
slowsEntities?: boolean;
98+
/**
99+
* If set to true, picking up (or gathering) this tile event will cause the player to skip their turn and lose 1 stamina.
100+
*/
101+
pickUpSlowsPlayer?: boolean;
98102
}
103+
export declare const TILE_EVENTS_WATER_UNPASSABLE_TERRAIN_EXCLUSIONS: TerrainType[];
99104
export declare enum TileEventType {
100105
None = 0,
101106
Fire = 1,
@@ -120,5 +125,6 @@ export declare enum TileEventType {
120125
PuddleOfCoconutWater = 20,
121126
PuddleOfSwampWater = 21,
122127
PuddleOfFilteredWater = 22,
123-
SlimePatch = 23
128+
SlimePatch = 23,
129+
Cobweb = 24
124130
}

definitions/game/game/tile/TileEvent.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,10 @@ export default class TileEvent extends EntityMovable<ITileEventDescription, Tile
9696
protected updateTileWhenMoving(fromTile: Tile, toTile: Tile): boolean;
9797
addToTile(tile: Tile): void;
9898
removeFromTile(updateTile: boolean): void;
99+
/**
100+
* Damages the tile event by 1 durability. If durability reaches 0, the tile event is removed and all items are dropped.
101+
*/
102+
damage(): void;
99103
/**
100104
* Gets the builder/creator of this event, or `undefined` if the tile event is creatorless.
101105
*/

definitions/game/game/tile/TileEvents.d.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
* 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:
99
* https://github.com/WaywardGame/types/wiki
1010
*/
11-
import { TerrainType } from "@wayward/game/game/tile/ITerrain";
1211
import type { ITileEventDescription } from "@wayward/game/game/tile/ITileEvent";
1312
import { TileEventType } from "@wayward/game/game/tile/ITileEvent";
14-
export declare const TILE_EVENTS_LIQUID_TERRAIN_EXCLUSIONS: TerrainType[];
1513
export declare const tileEventDescriptions: OptionalDescriptions<TileEventType, ITileEventDescription>;
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
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 { type ITileEventDescription } from "@wayward/game/game/tile/ITileEvent";
12+
export declare const cobweb: ITileEventDescription;

definitions/game/game/tile/events/Puddles.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* https://github.com/WaywardGame/types/wiki
1010
*/
1111
import { LiquidType } from "@wayward/game/game/island/IIsland";
12-
import type { ITileEventDescription } from "@wayward/game/game/tile/ITileEvent";
12+
import { type ITileEventDescription } from "@wayward/game/game/tile/ITileEvent";
1313
import type TileEvent from "@wayward/game/game/tile/TileEvent";
1414
export declare function puddleUpdate(tileEvent: TileEvent, description: ITileEventDescription, liquidType: LiquidType, ticks: number): void;
1515
export declare const puddleOfFreshWater: ITileEventDescription;

definitions/game/game/tile/events/SlimePatch.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@
88
* 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:
99
* https://github.com/WaywardGame/types/wiki
1010
*/
11-
import type { ITileEventDescription } from "@wayward/game/game/tile/ITileEvent";
11+
import { type ITileEventDescription } from "@wayward/game/game/tile/ITileEvent";
1212
export declare const slimePatch: ITileEventDescription;

definitions/game/language/dictionary/Message.d.ts

Lines changed: 137 additions & 135 deletions
Original file line numberDiff line numberDiff line change
@@ -741,140 +741,142 @@ declare enum Message {
741741
Transmogrified = 729,
742742
TrapMissed = 730,
743743
TrapStoppedYou = 731,
744-
Traveling = 732,
745-
Treasure = 733,
746-
TreasureIsBlocked = 734,
747-
UiActionCannotUseInaccessibleItem = 735,
748-
UiActionCannotUseInThisSituation = 736,
749-
UiActionCannotUseNoItemHovered = 737,
750-
UiActionCannotUseNotInRange = 738,
751-
UiActionCannotUseOnThisIsland = 739,
752-
UiActionCannotUseRequiresCreature = 740,
753-
UiActionCannotUseRequiresDoodad = 741,
754-
UiActionCannotUseRequiresItem = 742,
755-
UiActionCannotUseRequiresNPC = 743,
756-
UiActionCannotUseRequiresVehicle = 744,
757-
UiDialogTradeIndicateTradeAlreadyTradedBuyDialogue1 = 745,
758-
UiDialogTradeIndicateTradeAlreadyTradedBuyDialogue2 = 746,
759-
UiDialogTradeIndicateTradeAlreadyTradedBuyDialogue3 = 747,
760-
UiDialogTradeIndicateTradeAlreadyTradedSellDialogue1 = 748,
761-
UiDialogTradeIndicateTradeAlreadyTradedSellDialogue2 = 749,
762-
UiDialogTradeIndicateTradeAlreadyTradedSellDialogue3 = 750,
763-
UiDialogTradeIndicateTradeTooMuchTradesDialogue1 = 751,
764-
UiDialogTradeIndicateTradeTooMuchTradesDialogue2 = 752,
765-
UiDialogTradeIndicateTradeTooMuchTradesDialogue3 = 753,
766-
UnhitchCreature = 754,
767-
Unknown = 755,
768-
Unlimited = 756,
769-
UnlockedChest = 757,
770-
UnpurifiedFreshWater = 758,
771-
UnpurifiedWaterInStill = 759,
772-
UnpurifiedWaterInTop = 760,
773-
Use = 761,
774-
UsingBareHands = 762,
775-
VehicleDefense = 763,
776-
Vulnerable = 764,
777-
Water = 765,
778-
WaterGathering = 766,
779-
WaterPutOutFire = 767,
780-
WellIsDry = 768,
781-
WellIsFull = 769,
782-
WildGoatRefusedToBeMilked = 770,
783-
WorkingYourselfIntoExhaustion = 771,
784-
WorkingYourselfIntoExhaustionAndDrowning = 772,
785-
WorldContainer = 773,
786-
You = 774,
787-
YouAbsorb = 775,
788-
YouApplied = 776,
789-
YouAreAlready = 777,
790-
YouAte = 778,
791-
YouBeginResting = 779,
792-
YouCannotDoThatYet = 780,
793-
YouCanNowCombatTheTides = 781,
794-
YouCrafted = 782,
795-
YouDoNotFindTreasureYet = 783,
796-
YouDrank = 784,
797-
YouDropTheTorch = 785,
798-
YouEnchant = 786,
799-
YouEquip = 787,
800-
YouExude = 788,
801-
YouExudeSome = 789,
802-
YouExudeSomeReasonConflicting = 790,
803-
YouExudeSomeReasonMax = 791,
804-
YouExudeSomeReasonProperties = 792,
805-
YouFailedTo = 793,
806-
YouFailedToExtinguishedFireFully = 794,
807-
YouFailedToHeal = 795,
808-
YouFailedToHealOther = 796,
809-
YouFire = 797,
810-
YouGathered = 798,
811-
YouHarvested = 799,
812-
YouHave = 800,
813-
YouHaveAlreadyLearned = 801,
814-
YouHaveBeenCut = 802,
815-
YouHaveCaged = 803,
816-
YouHaveCommanded = 804,
817-
YouHaveDied = 805,
818-
YouHaveHealedOther = 806,
819-
YouHaveKilled = 807,
820-
YouHaveNotCommanded = 808,
821-
YouHaveReleased = 809,
822-
YouHaveSummoned = 810,
823-
YouHaveTamed = 811,
824-
YouHaveUncaged = 812,
825-
YouNoticeBarren = 813,
826-
YouNoticeBecomeEnraged = 814,
827-
YouNoticeDying = 815,
828-
YouNoticeFertilityDecreasing = 816,
829-
YouNoticeFertilityIncreasing = 817,
830-
YouNoticeGrowing = 818,
831-
YouNoticeLavaCooling = 819,
832-
YouNoticeLavaHardening = 820,
833-
YouNoticePerish = 821,
834-
YouNoticePlantDamage = 822,
835-
YouNoticePlantRegenerated = 823,
836-
YouNoticeRegrowing = 824,
837-
YouNoticeStumbleInjureItself = 825,
838-
YouNoticeTakeFromGround = 826,
839-
YouNoticeWoundsClosing = 827,
840-
YouOfferedToCreature = 828,
841-
YouOfferedToCreatureRejects = 829,
842-
YouOpen = 830,
843-
YouPacked = 831,
844-
YouPickedUp = 832,
845-
YouRefine = 833,
846-
YouReinforce = 834,
847-
YouRepair = 835,
848-
YouReturnFromCivilizationWith = 836,
849-
YourFist = 837,
850-
YourHands = 838,
851-
YourInventory = 839,
852-
YourIsland = 840,
853-
YouSeeALivingMushroomSpore = 841,
854-
YouSeeASkeletonCollapse = 842,
855-
YouSeeASlimeCombine = 843,
856-
YouSeeAZombieBleeding = 844,
857-
YouSeeCoolDown = 845,
858-
YouSeeDrop = 846,
859-
YouSeeEngulfFire = 847,
860-
YouSeeFireSpread = 848,
861-
YouSeeHelpingPlant = 849,
862-
YouSeeLay = 850,
863-
YouSeeLayingTrap = 851,
864-
YouSeeSpewLava = 852,
865-
YouSeeSpitAcid = 853,
866-
YouSeeSpringForth = 854,
867-
YouSeeSummon = 855,
868-
YouSeeSwampFlood = 856,
869-
YouSeeTrampling = 857,
870-
YouSetTheTrapOff = 858,
871-
YouStokeTheCreature = 859,
872-
YouSwapMainHandAndOffHand = 860,
873-
YouThrew = 861,
874-
YouTilled = 862,
875-
YouUnequip = 863,
876-
YouUsed = 864,
877-
YouViewTheItemsOn = 865,
878-
YouWhileTraveling = 866
744+
ActionGatherSlowed = 732,
745+
Traveling = 733,
746+
Treasure = 734,
747+
TreasureIsBlocked = 735,
748+
UiActionCannotUseInaccessibleItem = 736,
749+
UiActionCannotUseInThisSituation = 737,
750+
UiActionCannotUseNoItemHovered = 738,
751+
UiActionCannotUseNotInRange = 739,
752+
UiActionCannotUseOnThisIsland = 740,
753+
UiActionCannotUseRequiresCreature = 741,
754+
UiActionCannotUseRequiresDoodad = 742,
755+
UiActionCannotUseRequiresItem = 743,
756+
UiActionCannotUseRequiresNPC = 744,
757+
UiActionCannotUseRequiresVehicle = 745,
758+
UiDialogTradeIndicateTradeAlreadyTradedBuyDialogue1 = 746,
759+
UiDialogTradeIndicateTradeAlreadyTradedBuyDialogue2 = 747,
760+
UiDialogTradeIndicateTradeAlreadyTradedBuyDialogue3 = 748,
761+
UiDialogTradeIndicateTradeAlreadyTradedSellDialogue1 = 749,
762+
UiDialogTradeIndicateTradeAlreadyTradedSellDialogue2 = 750,
763+
UiDialogTradeIndicateTradeAlreadyTradedSellDialogue3 = 751,
764+
UiDialogTradeIndicateTradeTooMuchTradesDialogue1 = 752,
765+
UiDialogTradeIndicateTradeTooMuchTradesDialogue2 = 753,
766+
UiDialogTradeIndicateTradeTooMuchTradesDialogue3 = 754,
767+
UnhitchCreature = 755,
768+
Unknown = 756,
769+
Unlimited = 757,
770+
UnlockedChest = 758,
771+
UnpurifiedFreshWater = 759,
772+
UnpurifiedWaterInStill = 760,
773+
UnpurifiedWaterInTop = 761,
774+
Use = 762,
775+
UsingBareHands = 763,
776+
VehicleDefense = 764,
777+
Vulnerable = 765,
778+
Water = 766,
779+
WaterGathering = 767,
780+
WaterPutOutFire = 768,
781+
WellIsDry = 769,
782+
WellIsFull = 770,
783+
WildGoatRefusedToBeMilked = 771,
784+
WorkingYourselfIntoExhaustion = 772,
785+
WorkingYourselfIntoExhaustionAndDrowning = 773,
786+
WorldContainer = 774,
787+
You = 775,
788+
YouAbsorb = 776,
789+
YouApplied = 777,
790+
YouAreAlready = 778,
791+
YouAte = 779,
792+
YouBeginResting = 780,
793+
YouCannotDoThatYet = 781,
794+
YouCanNowCombatTheTides = 782,
795+
YouCrafted = 783,
796+
YouDoNotFindTreasureYet = 784,
797+
YouDrank = 785,
798+
YouDropTheTorch = 786,
799+
YouEnchant = 787,
800+
YouEquip = 788,
801+
YouExude = 789,
802+
YouExudeSome = 790,
803+
YouExudeSomeReasonConflicting = 791,
804+
YouExudeSomeReasonMax = 792,
805+
YouExudeSomeReasonProperties = 793,
806+
YouFailedTo = 794,
807+
YouFailedToExtinguishedFireFully = 795,
808+
YouFailedToHeal = 796,
809+
YouFailedToHealOther = 797,
810+
YouFire = 798,
811+
YouGathered = 799,
812+
YouHarvested = 800,
813+
YouHave = 801,
814+
YouHaveAlreadyLearned = 802,
815+
YouHaveBeenCut = 803,
816+
YouHaveCaged = 804,
817+
YouHaveCommanded = 805,
818+
YouHaveDied = 806,
819+
YouHaveHealedOther = 807,
820+
YouHaveKilled = 808,
821+
YouHaveNotCommanded = 809,
822+
YouHaveReleased = 810,
823+
YouHaveSummoned = 811,
824+
YouHaveTamed = 812,
825+
YouHaveUncaged = 813,
826+
YouNoticeBarren = 814,
827+
YouNoticeBecomeEnraged = 815,
828+
YouNoticeDying = 816,
829+
YouNoticeFertilityDecreasing = 817,
830+
YouNoticeFertilityIncreasing = 818,
831+
YouNoticeGrowing = 819,
832+
YouNoticeLavaCooling = 820,
833+
YouNoticeLavaHardening = 821,
834+
YouNoticePerish = 822,
835+
YouNoticePlantDamage = 823,
836+
YouNoticePlantRegenerated = 824,
837+
YouNoticeRegrowing = 825,
838+
YouNoticeStumbleInjureItself = 826,
839+
YouNoticeTakeFromGround = 827,
840+
YouNoticeWoundsClosing = 828,
841+
YouOfferedToCreature = 829,
842+
YouOfferedToCreatureRejects = 830,
843+
YouOpen = 831,
844+
YouPacked = 832,
845+
YouPickedUp = 833,
846+
YouRefine = 834,
847+
YouReinforce = 835,
848+
YouRepair = 836,
849+
YouReturnFromCivilizationWith = 837,
850+
YourFist = 838,
851+
YourHands = 839,
852+
YourInventory = 840,
853+
YourIsland = 841,
854+
YouSeeALivingMushroomSpore = 842,
855+
YouSeeASkeletonCollapse = 843,
856+
YouSeeASlimeCombine = 844,
857+
YouSeeAZombieBleeding = 845,
858+
YouSeeCoolDown = 846,
859+
YouSeeDrop = 847,
860+
YouSeeEngulfFire = 848,
861+
YouSeeSpiderSpin = 849,
862+
YouSeeFireSpread = 850,
863+
YouSeeHelpingPlant = 851,
864+
YouSeeLay = 852,
865+
YouSeeLayingTrap = 853,
866+
YouSeeSpewLava = 854,
867+
YouSeeSpitAcid = 855,
868+
YouSeeSpringForth = 856,
869+
YouSeeSummon = 857,
870+
YouSeeSwampFlood = 858,
871+
YouSeeTrampling = 859,
872+
YouSetTheTrapOff = 860,
873+
YouStokeTheCreature = 861,
874+
YouSwapMainHandAndOffHand = 862,
875+
YouThrew = 863,
876+
YouTilled = 864,
877+
YouUnequip = 865,
878+
YouUsed = 866,
879+
YouViewTheItemsOn = 867,
880+
YouWhileTraveling = 868
879881
}
880882
export default Message;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@wayward/types",
33
"description": "TypeScript declarations for Wayward, used for modding.",
4-
"version": "2.15.0-beta.dev.20250917.1",
4+
"version": "2.15.0-beta.dev.20250919.1",
55
"license": "MIT",
66
"repository": {
77
"type": "git",

0 commit comments

Comments
 (0)