@wayward/types 2.14.4-beta.dev.20250212.1 → 2.14.4-beta.dev.20250218.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.
@@ -21,5 +21,6 @@ export interface IRepairCanUse extends IActionUsable {
|
|
21
21
|
itemDescription?: IItemDescription;
|
22
22
|
repaireeIsItem: boolean;
|
23
23
|
}
|
24
|
+
export declare function getDurabilityReduction(repairee: Item | Doodad, actionTier: number): number;
|
24
25
|
declare const _default: Action<[ActionArgument.ItemNearby, [arg1: ActionArgument.Undefined, ActionArgument.ItemNearby, ActionArgument.Doodad]], import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, IRepairCanUse, [Item, (Doodad | Item | undefined)?]>;
|
25
26
|
export default _default;
|
@@ -292,11 +292,8 @@ export default class ItemManager extends EntityManager<Item, IItemRemoveOptions>
|
|
292
292
|
* @returns A traslantion for the efficacy or undefined if not enough skill
|
293
293
|
*/
|
294
294
|
getEfficacyTranslation(human: Human, qualityBonus: number, maxQualityBonus: number, recipe: IRecipe, ui?: boolean): TranslationImpl | undefined;
|
295
|
-
updateItems(ticks: number, playerIds: Set<number>,
|
296
|
-
|
297
|
-
skipUiUpdates?: boolean;
|
298
|
-
}): boolean;
|
299
|
-
updateItem(ticks: number, item: Item, isInInventory: boolean, skipUiUpdates?: boolean): boolean;
|
295
|
+
updateItems(ticks: number, playerIds: Set<number>, skipHumanItems?: boolean): boolean;
|
296
|
+
updateItem(ticks: number, item: Item, isInInventory: boolean): boolean;
|
300
297
|
getPlayerWithItemInInventory(containable: IContainable): Player | undefined;
|
301
298
|
getAbsentPlayerWithItemInInventory(containable: IContainable): Player | undefined;
|
302
299
|
getNPCWithItemInInventory(containable: IContainable): NPC | undefined;
|
@@ -11,7 +11,7 @@
|
|
11
11
|
import type { ITileEventDescription } from "@wayward/game/game/tile/ITileEvent";
|
12
12
|
import type TileEvent from "@wayward/game/game/tile/TileEvent";
|
13
13
|
interface IFireDescription extends ITileEventDescription {
|
14
|
-
spread(tileEvent: TileEvent): void;
|
14
|
+
spread(tileEvent: TileEvent, ticks: number): void;
|
15
15
|
}
|
16
16
|
declare const fire: IFireDescription;
|
17
17
|
export default fire;
|
package/package.json
CHANGED