@wayward/types 2.15.0-beta.dev.20251007.1 → 2.15.0-beta.dev.20251008.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/game/curse/Curse.d.ts +10 -5
- package/definitions/game/game/entity/Entity.d.ts +7 -1
- package/definitions/game/game/entity/Human.d.ts +7 -3
- package/definitions/game/game/entity/IHuman.d.ts +3 -0
- package/definitions/game/game/entity/action/actions/Absorb.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/AddFuel.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/AddItemDiscovered.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Alter.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Apply.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/AscendDescend.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/AttachContainer.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Attack.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Build.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Butcher.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/CageCreature.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Cast.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Chop.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/CloseContainer.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/CloseDoor.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/ConsumeItem.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/CopyMap.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Craft.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/CraftNew.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/CreateControllableNPC.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Cure.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/DamageMap.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/DetachContainer.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Dig.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Disassemble.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/DiscoverRecipe.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Dismantle.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Dismount.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/DisplayItem.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/DrawMap.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/DrinkInFront.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/DrinkItem.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Drop.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/DumpItems.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Eat.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Enchant.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Enhance.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Equip.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/EquipFromArmorStand.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/ExcavateCollapse.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Extinguish.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Exude.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Fire.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Gather.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/GatherLiquid.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Grasp.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Harvest.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Heal.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/HealOther.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Hitch.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Idle.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Ignite.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Jump.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Kneel.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Learn.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Lockpick.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Melee.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Mine.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Move.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/MoveItem.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/MoveTo.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/NPCInteract.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Navigate.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Noclip.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Offer.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/OpenBottle.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/OpenContainer.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/OpenDoor.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/PackGround.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Pet.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/PickUp.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/PickUpAllItems.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/PickUpExcrement.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/PickUpItem.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/PlaceDown.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Plant.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Pour.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/PourOnYourself.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Preserve.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/PropOpenDoor.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/ProtectItem.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Read.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/ReadMap.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Refine.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Reinforce.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Release.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/RemoveControllableNPC.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Rename.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/RenameIsland.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Repair.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/ResetItemDiscovered.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Reshape.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Rest.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/RestCancel.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Ride.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Rotate.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/SailToIsland.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/SetCreatureAi.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/SetCreatureAiAll.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/SetDown.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/ShipToIsland.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Shoot.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Sleep.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/SmotherFire.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Squeeze.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Squish.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/StartFire.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/StokeFire.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Summon.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/SwapWithArmorStand.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/TakeFromArmorStand.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Tame.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Teleport.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/TellTime.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/TestDepth.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Throw.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Till.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/ToggleContainer.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/ToggleDoor.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/ToggleHitch.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/ToggleProtectItem.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/ToggleTilled.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/ToggleVehicle.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Trade.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Transmogrify.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Uncage.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Unequip.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Unhitch.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/UnprotectItem.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/UpdateDirection.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/UpdateGameOption.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/UpdateItemOrder.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/UpdateOption.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/UpdateWalkTo.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Upgrade.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/ViewItems.d.ts +1 -1
- package/definitions/game/game/entity/creature/Creature.d.ts +2 -1
- package/definitions/game/game/entity/creature/ICreature.d.ts +5 -0
- package/definitions/game/game/entity/creature/corpse/Corpse.d.ts +2 -2
- package/definitions/game/game/entity/creature/corpse/ICorpse.d.ts +3 -0
- package/definitions/game/game/entity/npc/INPC.d.ts +3 -0
- package/definitions/game/game/entity/npc/NPC.d.ts +2 -2
- package/definitions/game/game/entity/player/IPlayer.d.ts +3 -0
- package/definitions/game/game/entity/player/Player.d.ts +2 -2
- package/definitions/game/game/island/Island.d.ts +2 -2
- package/definitions/game/game/options/modifiers/milestone/MilestoneModifiersManager.d.ts +2 -2
- package/definitions/game/game/tile/ITileEvent.d.ts +3 -0
- package/definitions/game/game/tile/Tile.d.ts +2 -1
- package/definitions/game/game/tile/TileEvent.d.ts +2 -2
- package/definitions/game/renderer/fieldOfView/IFieldOfView.d.ts +4 -1
- package/package.json +1 -1
|
@@ -15,5 +15,5 @@ import type { IItemDescription } from "@wayward/game/game/item/IItem";
|
|
|
15
15
|
export interface IPourOnYourselfCanUse extends IActionUsable {
|
|
16
16
|
itemDescription: IItemDescription;
|
|
17
17
|
}
|
|
18
|
-
declare const _default: Action<[ActionArgument.ItemNearby], ActionType.PourOnYourself, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, IPourOnYourselfCanUse, [import("../../../item/Item").default]>;
|
|
18
|
+
declare const _default: Action<[ActionArgument.ItemNearby], ActionType.PourOnYourself, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, IPourOnYourselfCanUse, [import("../../../item/Item").default]>;
|
|
19
19
|
export default _default;
|
|
@@ -17,5 +17,5 @@ export interface IPreserveCanUse extends IActionUsable {
|
|
|
17
17
|
preservee: Item;
|
|
18
18
|
description: IItemDescription;
|
|
19
19
|
}
|
|
20
|
-
declare const _default: Action<[ActionArgument.ItemNearby, [arg1: ActionArgument.Undefined, ActionArgument.ItemNearby]], ActionType.Preserve, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, IPreserveCanUse, [Item, (Item | undefined)?]>;
|
|
20
|
+
declare const _default: Action<[ActionArgument.ItemNearby, [arg1: ActionArgument.Undefined, ActionArgument.ItemNearby]], ActionType.Preserve, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, IPreserveCanUse, [Item, (Item | undefined)?]>;
|
|
21
21
|
export default _default;
|
|
@@ -9,5 +9,5 @@
|
|
|
9
9
|
* https://github.com/WaywardGame/types/wiki
|
|
10
10
|
*/
|
|
11
11
|
import { ActionType } from "@wayward/game/game/entity/action/IAction";
|
|
12
|
-
declare const _default: import("../Action").Action<[[arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.DoodadNearby], [arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.Boolean]], ActionType.PropOpenDoor, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, boolean, import("@wayward/game/game/entity/action/actions/ToggleDoor").IToggleDoorCanUse, [(import("../../../doodad/Doodad").default | undefined)?, (boolean | undefined)?]>;
|
|
12
|
+
declare const _default: import("../Action").Action<[[arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.DoodadNearby], [arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.Boolean]], ActionType.PropOpenDoor, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, boolean, import("@wayward/game/game/entity/action/actions/ToggleDoor").IToggleDoorCanUse, [(import("../../../doodad/Doodad").default | undefined)?, (boolean | undefined)?]>;
|
|
13
13
|
export default _default;
|
|
@@ -9,5 +9,5 @@
|
|
|
9
9
|
* https://github.com/WaywardGame/types/wiki
|
|
10
10
|
*/
|
|
11
11
|
import { ActionType } from "@wayward/game/game/entity/action/IAction";
|
|
12
|
-
declare const _default: import("../Action").Action<[import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemNearby, import("@wayward/game/game/entity/action/IAction").ActionArgument.Boolean], ActionType.ProtectItem, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [import("../../../item/Item").default, boolean]>;
|
|
12
|
+
declare const _default: import("../Action").Action<[import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemNearby, import("@wayward/game/game/entity/action/IAction").ActionArgument.Boolean], ActionType.ProtectItem, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [import("../../../item/Item").default, boolean]>;
|
|
13
13
|
export default _default;
|
|
@@ -18,5 +18,5 @@ export interface IReadCanUse extends IActionUsable {
|
|
|
18
18
|
book: BookType;
|
|
19
19
|
basicBookName: TranslationImpl;
|
|
20
20
|
}
|
|
21
|
-
declare const _default: Action<[ActionArgument.ItemNearby], ActionType.Read, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, IReadCanUse, [Item]>;
|
|
21
|
+
declare const _default: Action<[ActionArgument.ItemNearby], ActionType.Read, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, IReadCanUse, [Item]>;
|
|
22
22
|
export default _default;
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
*/
|
|
11
11
|
import { Action } from "@wayward/game/game/entity/action/Action";
|
|
12
12
|
import { ActionArgument, ActionType } from "@wayward/game/game/entity/action/IAction";
|
|
13
|
-
declare const _default: Action<[ActionArgument.ItemNearby], ActionType.ReadMap, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, {
|
|
13
|
+
declare const _default: Action<[ActionArgument.ItemNearby], ActionType.ReadMap, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, {
|
|
14
14
|
usable: true;
|
|
15
15
|
}, [import("../../../item/Item").default]>;
|
|
16
16
|
export default _default;
|
|
@@ -15,5 +15,5 @@ import type Item from "@wayward/game/game/item/Item";
|
|
|
15
15
|
export interface IRefineCanUse extends IActionUsable {
|
|
16
16
|
refineTarget: Item;
|
|
17
17
|
}
|
|
18
|
-
declare const _default: Action<[ActionArgument.ItemNearby, [arg1: ActionArgument.Undefined, ActionArgument.ItemNearby]], ActionType.Refine, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, IRefineCanUse, [Item, (Item | undefined)?]>;
|
|
18
|
+
declare const _default: Action<[ActionArgument.ItemNearby, [arg1: ActionArgument.Undefined, ActionArgument.ItemNearby]], ActionType.Refine, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, IRefineCanUse, [Item, (Item | undefined)?]>;
|
|
19
19
|
export default _default;
|
|
@@ -18,5 +18,5 @@ export interface IReinforceCanUse extends IActionUsable {
|
|
|
18
18
|
actionTier: number;
|
|
19
19
|
reinforcee: Item;
|
|
20
20
|
}
|
|
21
|
-
declare const _default: Action<[ActionArgument.ItemNearby, [arg1: ActionArgument.Undefined, ActionArgument.ItemNearby]], ActionType.Reinforce, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, IReinforceCanUse, [Item, (Item | undefined)?]>;
|
|
21
|
+
declare const _default: Action<[ActionArgument.ItemNearby, [arg1: ActionArgument.Undefined, ActionArgument.ItemNearby]], ActionType.Reinforce, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, IReinforceCanUse, [Item, (Item | undefined)?]>;
|
|
22
22
|
export default _default;
|
|
@@ -18,5 +18,5 @@ export interface IReleaseCanUse extends IActionUsable {
|
|
|
18
18
|
/**
|
|
19
19
|
* Releases a creature from being tamed
|
|
20
20
|
*/
|
|
21
|
-
declare const _default: Action<[], ActionType.Release, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, IReleaseCanUse, []>;
|
|
21
|
+
declare const _default: Action<[], ActionType.Release, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, IReleaseCanUse, []>;
|
|
22
22
|
export default _default;
|
|
@@ -10,5 +10,5 @@
|
|
|
10
10
|
*/
|
|
11
11
|
import { Action } from "@wayward/game/game/entity/action/Action";
|
|
12
12
|
import { ActionArgument, ActionType } from "@wayward/game/game/entity/action/IAction";
|
|
13
|
-
declare const _default: Action<[ActionArgument.NPC], ActionType.RemoveControllableNPC, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [import("../../npc/NPC").default]>;
|
|
13
|
+
declare const _default: Action<[ActionArgument.NPC], ActionType.RemoveControllableNPC, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [import("../../npc/NPC").default]>;
|
|
14
14
|
export default _default;
|
|
@@ -11,5 +11,5 @@
|
|
|
11
11
|
import { Action } from "@wayward/game/game/entity/action/Action";
|
|
12
12
|
import { ActionArgument, ActionType } from "@wayward/game/game/entity/action/IAction";
|
|
13
13
|
import Creature from "@wayward/game/game/entity/creature/Creature";
|
|
14
|
-
declare const _default: Action<[[ActionArgument.ItemNearby, ActionArgument.Doodad, ActionArgument.Creature, ActionArgument.NPC], ActionArgument.String], ActionType.Rename, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [Creature | import("../../../doodad/Doodad").default | import("../../../item/Item").default | import("../../npc/NPC").default, string]>;
|
|
14
|
+
declare const _default: Action<[[ActionArgument.ItemNearby, ActionArgument.Doodad, ActionArgument.Creature, ActionArgument.NPC], ActionArgument.String], ActionType.Rename, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [Creature | import("../../../doodad/Doodad").default | import("../../../item/Item").default | import("../../npc/NPC").default, string]>;
|
|
15
15
|
export default _default;
|
|
@@ -10,5 +10,5 @@
|
|
|
10
10
|
*/
|
|
11
11
|
import { Action } from "@wayward/game/game/entity/action/Action";
|
|
12
12
|
import { ActionArgument, ActionType } from "@wayward/game/game/entity/action/IAction";
|
|
13
|
-
declare const _default: Action<[ActionArgument.Island, ActionArgument.String], ActionType.RenameIsland, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [import("../../../island/Island").default, string]>;
|
|
13
|
+
declare const _default: Action<[ActionArgument.Island, ActionArgument.String], ActionType.RenameIsland, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [import("../../../island/Island").default, string]>;
|
|
14
14
|
export default _default;
|
|
@@ -22,5 +22,5 @@ export interface IRepairCanUse extends IActionUsable {
|
|
|
22
22
|
repaireeIsItem: boolean;
|
|
23
23
|
}
|
|
24
24
|
export declare function getDurabilityReduction(repairee: Item | Doodad, actionTier: number): number;
|
|
25
|
-
declare const _default: Action<[ActionArgument.ItemNearby, [arg1: ActionArgument.Undefined, ActionArgument.ItemNearby, ActionArgument.DoodadNearby]], ActionType.Repair, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, IRepairCanUse, [Item, (Doodad | Item | undefined)?]>;
|
|
25
|
+
declare const _default: Action<[ActionArgument.ItemNearby, [arg1: ActionArgument.Undefined, ActionArgument.ItemNearby, ActionArgument.DoodadNearby]], ActionType.Repair, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, IRepairCanUse, [Item, (Doodad | Item | undefined)?]>;
|
|
26
26
|
export default _default;
|
|
@@ -10,5 +10,5 @@
|
|
|
10
10
|
*/
|
|
11
11
|
import { Action } from "@wayward/game/game/entity/action/Action";
|
|
12
12
|
import { ActionType } from "@wayward/game/game/entity/action/IAction";
|
|
13
|
-
declare const _default: Action<[], ActionType.ResetItemDiscovered, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, []>;
|
|
13
|
+
declare const _default: Action<[], ActionType.ResetItemDiscovered, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, []>;
|
|
14
14
|
export default _default;
|
|
@@ -15,5 +15,5 @@ import type Item from "@wayward/game/game/item/Item";
|
|
|
15
15
|
export interface IReshapeCanUse extends IActionUsable {
|
|
16
16
|
reshapeTarget: Item;
|
|
17
17
|
}
|
|
18
|
-
declare const _default: Action<[ActionArgument.ItemNearby, [arg1: ActionArgument.Undefined, ActionArgument.ItemNearby]], ActionType.Reshape, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, IReshapeCanUse, [Item, (Item | undefined)?]>;
|
|
18
|
+
declare const _default: Action<[ActionArgument.ItemNearby, [arg1: ActionArgument.Undefined, ActionArgument.ItemNearby]], ActionType.Reshape, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, IReshapeCanUse, [Item, (Item | undefined)?]>;
|
|
19
19
|
export default _default;
|
|
@@ -21,5 +21,5 @@ export interface IRestCanUse extends IActionUsable {
|
|
|
21
21
|
tileDescription?: ITerrainDescription;
|
|
22
22
|
tileType: TerrainType;
|
|
23
23
|
}
|
|
24
|
-
declare const _default: Action<[[arg1: ActionArgument.Undefined, ActionArgument.ItemNearby, ActionArgument.DoodadNearby], [ActionArgument.Undefined, import("../argument/ActionArgumentEnum").default<RestType, "Resting" | "Sleeping">]], ActionType.Rest, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, IRestCanUse, [(import("../../../doodad/Doodad").default | import("../../../item/Item").default | undefined)?, (RestType | undefined)?]>;
|
|
24
|
+
declare const _default: Action<[[arg1: ActionArgument.Undefined, ActionArgument.ItemNearby, ActionArgument.DoodadNearby], [ActionArgument.Undefined, import("../argument/ActionArgumentEnum").default<RestType, "Resting" | "Sleeping">]], ActionType.Rest, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, IRestCanUse, [(import("../../../doodad/Doodad").default | import("../../../item/Item").default | undefined)?, (RestType | undefined)?]>;
|
|
25
25
|
export default _default;
|
|
@@ -10,5 +10,5 @@
|
|
|
10
10
|
*/
|
|
11
11
|
import { Action } from "@wayward/game/game/entity/action/Action";
|
|
12
12
|
import { ActionType } from "@wayward/game/game/entity/action/IAction";
|
|
13
|
-
declare const _default: Action<[], ActionType.RestCancel, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, []>;
|
|
13
|
+
declare const _default: Action<[], ActionType.RestCancel, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, []>;
|
|
14
14
|
export default _default;
|
|
@@ -9,5 +9,5 @@
|
|
|
9
9
|
* https://github.com/WaywardGame/types/wiki
|
|
10
10
|
*/
|
|
11
11
|
import { ActionType } from "@wayward/game/game/entity/action/IAction";
|
|
12
|
-
declare const _default: import("../Action").Action<[[arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemNearby, import("@wayward/game/game/entity/action/IAction").ActionArgument.DoodadNearby]], ActionType.Ride, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/actions/ToggleVehicle").ToggleVehicleCanUse, [(import("../../../doodad/Doodad").default | import("../../../item/Item").default | undefined)?]>;
|
|
12
|
+
declare const _default: import("../Action").Action<[[arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemNearby, import("@wayward/game/game/entity/action/IAction").ActionArgument.DoodadNearby]], ActionType.Ride, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, import("@wayward/game/game/entity/action/actions/ToggleVehicle").ToggleVehicleCanUse, [(import("../../../doodad/Doodad").default | import("../../../item/Item").default | undefined)?]>;
|
|
13
13
|
export default _default;
|
|
@@ -15,5 +15,5 @@ import { ActionArgument, ActionType } from "@wayward/game/game/entity/action/IAc
|
|
|
15
15
|
export interface IRotate extends IActionUsable {
|
|
16
16
|
doodad: Doodad;
|
|
17
17
|
}
|
|
18
|
-
declare const _default: Action<[[arg1: ActionArgument.Undefined, ActionArgument.DoodadNearby]], ActionType.Rotate, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, boolean, IRotate, [(Doodad | undefined)?]>;
|
|
18
|
+
declare const _default: Action<[[arg1: ActionArgument.Undefined, ActionArgument.DoodadNearby]], ActionType.Rotate, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, boolean, IRotate, [(Doodad | undefined)?]>;
|
|
19
19
|
export default _default;
|
|
@@ -15,5 +15,5 @@ export interface ISailToIslandCanUse extends IActionUsable {
|
|
|
15
15
|
isLocalIslandSailing?: boolean;
|
|
16
16
|
distanceFromEdge?: number;
|
|
17
17
|
}
|
|
18
|
-
declare const _default: Action<[ActionArgument.Integer32, ActionArgument.Integer32, [arg1: ActionArgument.Undefined, ActionArgument.Integer32]], ActionType.SailToIsland, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, ISailToIslandCanUse, [number, number, (number | undefined)?]>;
|
|
18
|
+
declare const _default: Action<[ActionArgument.Integer32, ActionArgument.Integer32, [arg1: ActionArgument.Undefined, ActionArgument.Integer32]], ActionType.SailToIsland, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, ISailToIslandCanUse, [number, number, (number | undefined)?]>;
|
|
19
19
|
export default _default;
|
|
@@ -19,5 +19,5 @@ export interface ISetCreatureAiCanUse extends IActionUsable {
|
|
|
19
19
|
creatures: Creature[];
|
|
20
20
|
}
|
|
21
21
|
export declare function hasSkillToSetCreatureAi(human: Human, creatureDescription: ICreatureDescription | undefined, ai: AiType): boolean;
|
|
22
|
-
declare const _default: Action<[[arg1: ActionArgument.Undefined, ActionArgument.Creature], [arg1: ActionArgument.Undefined, ActionArgument.ItemInventory], import("../argument/ActionArgumentEnum").default<AiType, "None" | "Attack" | "Pacified" | "Hidden" | "Idle" | "Neutral" | "Scared" | "Hostile" | "Fearless" | "HostileFearless" | "Alerted" | "Waiting" | "CanSwapWith" | "CanSwapLayers" | "FollowClose" | "FollowFar" | "Stay" | "AttackAdjacent" | "AttackInSight" | "Defend" | "Heel">], ActionType.SetCreatureAi, Human<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, ISetCreatureAiCanUse, [Creature | undefined, import("../../../item/Item").default | undefined, AiType]>;
|
|
22
|
+
declare const _default: Action<[[arg1: ActionArgument.Undefined, ActionArgument.Creature], [arg1: ActionArgument.Undefined, ActionArgument.ItemInventory], import("../argument/ActionArgumentEnum").default<AiType, "None" | "Attack" | "Pacified" | "Hidden" | "Idle" | "Neutral" | "Scared" | "Hostile" | "Fearless" | "HostileFearless" | "Alerted" | "Waiting" | "CanSwapWith" | "CanSwapLayers" | "FollowClose" | "FollowFar" | "Stay" | "AttackAdjacent" | "AttackInSight" | "Defend" | "Heel">], ActionType.SetCreatureAi, Human<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, ISetCreatureAiCanUse, [Creature | undefined, import("../../../item/Item").default | undefined, AiType]>;
|
|
23
23
|
export default _default;
|
|
@@ -9,5 +9,5 @@
|
|
|
9
9
|
* https://github.com/WaywardGame/types/wiki
|
|
10
10
|
*/
|
|
11
11
|
import { ActionType } from "@wayward/game/game/entity/action/IAction";
|
|
12
|
-
declare const _default: import("../Action").Action<[[arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.Creature], [arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemInventory], import("../argument/ActionArgumentEnum").default<import("../../ai/AI").AiType, "None" | "Attack" | "Pacified" | "Hidden" | "Idle" | "Neutral" | "Scared" | "Hostile" | "Fearless" | "HostileFearless" | "Alerted" | "Waiting" | "CanSwapWith" | "CanSwapLayers" | "FollowClose" | "FollowFar" | "Stay" | "AttackAdjacent" | "AttackInSight" | "Defend" | "Heel">], ActionType.SetCreatureAiAll, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/actions/SetCreatureAi").ISetCreatureAiCanUse, [import("../../creature/Creature").default | undefined, import("../../../item/Item").default | undefined, import("../../ai/AI").AiType]>;
|
|
12
|
+
declare const _default: import("../Action").Action<[[arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.Creature], [arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemInventory], import("../argument/ActionArgumentEnum").default<import("../../ai/AI").AiType, "None" | "Attack" | "Pacified" | "Hidden" | "Idle" | "Neutral" | "Scared" | "Hostile" | "Fearless" | "HostileFearless" | "Alerted" | "Waiting" | "CanSwapWith" | "CanSwapLayers" | "FollowClose" | "FollowFar" | "Stay" | "AttackAdjacent" | "AttackInSight" | "Defend" | "Heel">], ActionType.SetCreatureAiAll, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, import("@wayward/game/game/entity/action/actions/SetCreatureAi").ISetCreatureAiCanUse, [import("../../creature/Creature").default | undefined, import("../../../item/Item").default | undefined, import("../../ai/AI").AiType]>;
|
|
13
13
|
export default _default;
|
|
@@ -20,5 +20,5 @@ export interface ISetDownCanUse extends IActionUsable {
|
|
|
20
20
|
setDownTileType: TerrainType;
|
|
21
21
|
tile: Tile;
|
|
22
22
|
}
|
|
23
|
-
declare const _default: Action<[ActionArgument.ItemInventory], ActionType.SetDown, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, ISetDownCanUse, [Item]>;
|
|
23
|
+
declare const _default: Action<[ActionArgument.ItemInventory], ActionType.SetDown, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, ISetDownCanUse, [Item]>;
|
|
24
24
|
export default _default;
|
|
@@ -22,5 +22,5 @@ export interface IShipToIslandCanUse extends IActionUsable {
|
|
|
22
22
|
port?: IIslandPort;
|
|
23
23
|
island?: Island;
|
|
24
24
|
}
|
|
25
|
-
declare const _default: Action<[ActionArgument.NPCNearby, [arg1: ActionArgument.Undefined, ActionArgument.Island, ActionArgument.Vector2], [arg1: ActionArgument.Undefined, ActionArgument.Integer32]], ActionType.ShipToIsland, Human<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, IShipToIslandCanUse, [import("../../npc/NPC").default, (Island | IVector2 | undefined)?, (number | undefined)?]>;
|
|
25
|
+
declare const _default: Action<[ActionArgument.NPCNearby, [arg1: ActionArgument.Undefined, ActionArgument.Island, ActionArgument.Vector2], [arg1: ActionArgument.Undefined, ActionArgument.Integer32]], ActionType.ShipToIsland, Human<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, IShipToIslandCanUse, [import("../../npc/NPC").default, (Island | IVector2 | undefined)?, (number | undefined)?]>;
|
|
26
26
|
export default _default;
|
|
@@ -18,5 +18,5 @@ export interface IShootCanUse extends IActionUsable {
|
|
|
18
18
|
/**
|
|
19
19
|
* Shooting a specific item (like an arrow)
|
|
20
20
|
*/
|
|
21
|
-
declare const _default: Action<[ActionArgument.ItemInventory], ActionType.Shoot, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, IShootCanUse, [Item]>;
|
|
21
|
+
declare const _default: Action<[ActionArgument.ItemInventory], ActionType.Shoot, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, IShootCanUse, [Item]>;
|
|
22
22
|
export default _default;
|
|
@@ -9,5 +9,5 @@
|
|
|
9
9
|
* https://github.com/WaywardGame/types/wiki
|
|
10
10
|
*/
|
|
11
11
|
import { ActionType } from "@wayward/game/game/entity/action/IAction";
|
|
12
|
-
declare const _default: import("../Action").Action<[[arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemNearby, import("@wayward/game/game/entity/action/IAction").ActionArgument.DoodadNearby], [import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("../argument/ActionArgumentEnum").default<import("../../IHuman").RestType, "Resting" | "Sleeping">]], ActionType.Sleep, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/actions/Rest").IRestCanUse, [(import("../../../doodad/Doodad").default | import("../../../item/Item").default | undefined)?, (import("../../IHuman").RestType | undefined)?]>;
|
|
12
|
+
declare const _default: import("../Action").Action<[[arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemNearby, import("@wayward/game/game/entity/action/IAction").ActionArgument.DoodadNearby], [import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("../argument/ActionArgumentEnum").default<import("../../IHuman").RestType, "Resting" | "Sleeping">]], ActionType.Sleep, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, import("@wayward/game/game/entity/action/actions/Rest").IRestCanUse, [(import("../../../doodad/Doodad").default | import("../../../item/Item").default | undefined)?, (import("../../IHuman").RestType | undefined)?]>;
|
|
13
13
|
export default _default;
|
|
@@ -25,5 +25,5 @@ export interface ISmotherFireCanUse extends IActionUsable {
|
|
|
25
25
|
fireTileEvent?: TileEvent;
|
|
26
26
|
smotherableDoodad?: Doodad;
|
|
27
27
|
}
|
|
28
|
-
declare const _default: Action<[ActionArgument.ItemInventory], ActionType.SmotherFire, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, ISmotherFireCanUse, [Item]>;
|
|
28
|
+
declare const _default: Action<[ActionArgument.ItemInventory], ActionType.SmotherFire, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, ISmotherFireCanUse, [Item]>;
|
|
29
29
|
export default _default;
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
*/
|
|
11
11
|
import { Action } from "@wayward/game/game/entity/action/Action";
|
|
12
12
|
import { ActionArgument, ActionType } from "@wayward/game/game/entity/action/IAction";
|
|
13
|
-
declare const _default: Action<[ActionArgument.ItemInventory], ActionType.Squeeze, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, {
|
|
13
|
+
declare const _default: Action<[ActionArgument.ItemInventory], ActionType.Squeeze, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, {
|
|
14
14
|
usable: true;
|
|
15
15
|
}, [import("../../../item/Item").default]>;
|
|
16
16
|
export default _default;
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
*/
|
|
11
11
|
import { Action } from "@wayward/game/game/entity/action/Action";
|
|
12
12
|
import { ActionArgument, ActionType } from "@wayward/game/game/entity/action/IAction";
|
|
13
|
-
declare const _default: Action<[ActionArgument.ItemInventory], ActionType.Squish, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, {
|
|
13
|
+
declare const _default: Action<[ActionArgument.ItemInventory], ActionType.Squish, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, {
|
|
14
14
|
usable: true;
|
|
15
15
|
}, [import("../../../item/Item").default]>;
|
|
16
16
|
export default _default;
|
|
@@ -29,5 +29,5 @@ export interface IStartFireCanUse extends IActionUsable {
|
|
|
29
29
|
candle?: Item;
|
|
30
30
|
tileEvent?: TileEvent;
|
|
31
31
|
}
|
|
32
|
-
declare const _default: Action<[ActionArgument.ItemInventory, [arg1: ActionArgument.Undefined, ActionArgument.ItemInventory], [arg1: ActionArgument.Undefined, ActionArgument.ItemNearby], [arg1: ActionArgument.Undefined, ActionArgument.ItemNearby], [arg1: ActionArgument.Undefined, ActionArgument.ItemNearby]], ActionType.StartFire, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, IStartFireCanUse, [Item, (Item | undefined)?, (Item | undefined)?, (Item | undefined)?, (Item | undefined)?]>;
|
|
32
|
+
declare const _default: Action<[ActionArgument.ItemInventory, [arg1: ActionArgument.Undefined, ActionArgument.ItemInventory], [arg1: ActionArgument.Undefined, ActionArgument.ItemNearby], [arg1: ActionArgument.Undefined, ActionArgument.ItemNearby], [arg1: ActionArgument.Undefined, ActionArgument.ItemNearby]], ActionType.StartFire, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, IStartFireCanUse, [Item, (Item | undefined)?, (Item | undefined)?, (Item | undefined)?, (Item | undefined)?]>;
|
|
33
33
|
export default _default;
|
|
@@ -21,5 +21,5 @@ export interface IStokeFireCanUse extends IActionUsable {
|
|
|
21
21
|
doodad?: Doodad;
|
|
22
22
|
tileEvent?: TileEvent;
|
|
23
23
|
}
|
|
24
|
-
declare const _default: Action<[ActionArgument.ItemNearby], ActionType.StokeFire, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, IStokeFireCanUse, [Item]>;
|
|
24
|
+
declare const _default: Action<[ActionArgument.ItemNearby], ActionType.StokeFire, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, IStokeFireCanUse, [Item]>;
|
|
25
25
|
export default _default;
|
|
@@ -19,5 +19,5 @@ export interface ISummonAction extends IActionUsable {
|
|
|
19
19
|
/**
|
|
20
20
|
* Summon a creature (golem) from an item.
|
|
21
21
|
*/
|
|
22
|
-
declare const _default: Action<[ActionArgument.ItemInventory], ActionType.Summon, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, ISummonAction, [Item]>;
|
|
22
|
+
declare const _default: Action<[ActionArgument.ItemInventory], ActionType.Summon, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, ISummonAction, [Item]>;
|
|
23
23
|
export default _default;
|
|
@@ -15,5 +15,5 @@ import { ActionArgument, ActionType } from "@wayward/game/game/entity/action/IAc
|
|
|
15
15
|
export interface ISwapEquipment extends IActionUsable {
|
|
16
16
|
doodad: Doodad;
|
|
17
17
|
}
|
|
18
|
-
declare const _default: Action<[[arg1: ActionArgument.Undefined, ActionArgument.DoodadNearby]], ActionType.SwapWithArmorStand, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, boolean, ISwapEquipment, [(Doodad | undefined)?]>;
|
|
18
|
+
declare const _default: Action<[[arg1: ActionArgument.Undefined, ActionArgument.DoodadNearby]], ActionType.SwapWithArmorStand, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, boolean, ISwapEquipment, [(Doodad | undefined)?]>;
|
|
19
19
|
export default _default;
|
|
@@ -9,5 +9,5 @@
|
|
|
9
9
|
* https://github.com/WaywardGame/types/wiki
|
|
10
10
|
*/
|
|
11
11
|
import { ActionType } from "@wayward/game/game/entity/action/IAction";
|
|
12
|
-
declare const _default: import("../Action").Action<[[arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.DoodadNearby]], ActionType.TakeFromArmorStand, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, boolean, import("@wayward/game/game/entity/action/actions/SwapWithArmorStand").ISwapEquipment, [(import("../../../doodad/Doodad").default | undefined)?]>;
|
|
12
|
+
declare const _default: import("../Action").Action<[[arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.DoodadNearby]], ActionType.TakeFromArmorStand, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, boolean, import("@wayward/game/game/entity/action/actions/SwapWithArmorStand").ISwapEquipment, [(import("../../../doodad/Doodad").default | undefined)?]>;
|
|
13
13
|
export default _default;
|
|
@@ -16,5 +16,5 @@ export interface ITameCanUse extends IActionUsable {
|
|
|
16
16
|
creature: Creature;
|
|
17
17
|
tamingDifficulty: number;
|
|
18
18
|
}
|
|
19
|
-
declare const _default: Action<[], ActionType.Tame, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, ITameCanUse, []>;
|
|
19
|
+
declare const _default: Action<[], ActionType.Tame, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, ITameCanUse, []>;
|
|
20
20
|
export default _default;
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
*/
|
|
11
11
|
import { Action } from "@wayward/game/game/entity/action/Action";
|
|
12
12
|
import { ActionArgument, ActionType } from "@wayward/game/game/entity/action/IAction";
|
|
13
|
-
declare const _default: Action<[ActionArgument.ItemInventory], ActionType.Teleport, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, {
|
|
13
|
+
declare const _default: Action<[ActionArgument.ItemInventory], ActionType.Teleport, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, {
|
|
14
14
|
usable: true;
|
|
15
15
|
}, [import("../../../item/Item").default]>;
|
|
16
16
|
export default _default;
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
*/
|
|
11
11
|
import { Action } from "@wayward/game/game/entity/action/Action";
|
|
12
12
|
import { ActionArgument, ActionType } from "@wayward/game/game/entity/action/IAction";
|
|
13
|
-
declare const _default: Action<[ActionArgument.ItemNearby], ActionType.TellTime, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, {
|
|
13
|
+
declare const _default: Action<[ActionArgument.ItemNearby], ActionType.TellTime, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, {
|
|
14
14
|
usable: true;
|
|
15
15
|
}, [import("../../../item/Item").default]>;
|
|
16
16
|
export default _default;
|
|
@@ -17,5 +17,5 @@ export interface ITestDepthCanUse extends IActionUsable {
|
|
|
17
17
|
doodad: Doodad;
|
|
18
18
|
tile: Tile;
|
|
19
19
|
}
|
|
20
|
-
declare const _default: Action<[[arg1: ActionArgument.Undefined, ActionArgument.ItemInventory]], ActionType.TestDepth, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, ITestDepthCanUse, [(import("../../../item/Item").default | undefined)?]>;
|
|
20
|
+
declare const _default: Action<[[arg1: ActionArgument.Undefined, ActionArgument.ItemInventory]], ActionType.TestDepth, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, ITestDepthCanUse, [(import("../../../item/Item").default | undefined)?]>;
|
|
21
21
|
export default _default;
|
|
@@ -9,5 +9,5 @@
|
|
|
9
9
|
* https://github.com/WaywardGame/types/wiki
|
|
10
10
|
*/
|
|
11
11
|
import { ActionType } from "@wayward/game/game/entity/action/IAction";
|
|
12
|
-
declare const _default: import("../Action").Action<[[arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemInventory], [import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("../argument/ActionArgumentEnum").default<import("../../IEntity").AttackType, "MeleeWeapon" | "HandToHand" | "RangedWeapon" | "ThrowItem">], [arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemInventory]], ActionType.Throw, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/actions/Attack").IAttackCanUse, [(import("../../../item/Item").default | undefined)?, (import("../../IEntity").AttackType | undefined)?, (import("../../../item/Item").default | undefined)?]>;
|
|
12
|
+
declare const _default: import("../Action").Action<[[arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemInventory], [import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("../argument/ActionArgumentEnum").default<import("../../IEntity").AttackType, "MeleeWeapon" | "HandToHand" | "RangedWeapon" | "ThrowItem">], [arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemInventory]], ActionType.Throw, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, import("@wayward/game/game/entity/action/actions/Attack").IAttackCanUse, [(import("../../../item/Item").default | undefined)?, (import("../../IEntity").AttackType | undefined)?, (import("../../../item/Item").default | undefined)?]>;
|
|
13
13
|
export default _default;
|
|
@@ -9,5 +9,5 @@
|
|
|
9
9
|
* https://github.com/WaywardGame/types/wiki
|
|
10
10
|
*/
|
|
11
11
|
import { ActionType } from "@wayward/game/game/entity/action/IAction";
|
|
12
|
-
declare const _default: import("../Action").Action<[[arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemInventory]], ActionType.Till, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/actions/ToggleTilled").ITillCanUse, [(import("../../../item/Item").default | undefined)?]>;
|
|
12
|
+
declare const _default: import("../Action").Action<[[arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemInventory]], ActionType.Till, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, import("@wayward/game/game/entity/action/actions/ToggleTilled").ITillCanUse, [(import("../../../item/Item").default | undefined)?]>;
|
|
13
13
|
export default _default;
|
|
@@ -17,5 +17,5 @@ export interface IToggleContainerCanUse extends IActionUsable {
|
|
|
17
17
|
container: IContainer;
|
|
18
18
|
entity: Entity;
|
|
19
19
|
}
|
|
20
|
-
declare const _default: Action<[[arg1: ActionArgument.Undefined, ActionArgument.Container, ActionArgument.NPCNearby], [arg1: ActionArgument.Undefined, ActionArgument.Boolean]], ActionType.ToggleContainer, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, IToggleContainerCanUse, [(import("../../npc/NPC").default | IContainer | undefined)?, (boolean | undefined)?]>;
|
|
20
|
+
declare const _default: Action<[[arg1: ActionArgument.Undefined, ActionArgument.Container, ActionArgument.NPCNearby], [arg1: ActionArgument.Undefined, ActionArgument.Boolean]], ActionType.ToggleContainer, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, IToggleContainerCanUse, [(import("../../npc/NPC").default | IContainer | undefined)?, (boolean | undefined)?]>;
|
|
21
21
|
export default _default;
|
|
@@ -19,5 +19,5 @@ export interface IToggleDoorCanUse extends IActionUsable {
|
|
|
19
19
|
tile: Tile;
|
|
20
20
|
changeType: DoodadType;
|
|
21
21
|
}
|
|
22
|
-
declare const _default: Action<[[arg1: ActionArgument.Undefined, ActionArgument.DoodadNearby], [arg1: ActionArgument.Undefined, ActionArgument.Boolean]], ActionType.ToggleDoor, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, boolean, IToggleDoorCanUse, [(Doodad | undefined)?, (boolean | undefined)?]>;
|
|
22
|
+
declare const _default: Action<[[arg1: ActionArgument.Undefined, ActionArgument.DoodadNearby], [arg1: ActionArgument.Undefined, ActionArgument.Boolean]], ActionType.ToggleDoor, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, boolean, IToggleDoorCanUse, [(Doodad | undefined)?, (boolean | undefined)?]>;
|
|
23
23
|
export default _default;
|
|
@@ -17,5 +17,5 @@ export interface IToggleHitchCanUse extends IActionUsable {
|
|
|
17
17
|
creature: Creature;
|
|
18
18
|
hitch?: Doodad;
|
|
19
19
|
}
|
|
20
|
-
declare const _default: Action<[], ActionType.ToggleHitch, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, IToggleHitchCanUse, []>;
|
|
20
|
+
declare const _default: Action<[], ActionType.ToggleHitch, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, IToggleHitchCanUse, []>;
|
|
21
21
|
export default _default;
|
|
@@ -10,5 +10,5 @@
|
|
|
10
10
|
*/
|
|
11
11
|
import { Action } from "@wayward/game/game/entity/action/Action";
|
|
12
12
|
import { ActionArgument } from "@wayward/game/game/entity/action/IAction";
|
|
13
|
-
declare const _default: Action<[ActionArgument.ItemNearby, ActionArgument.Boolean], import("@wayward/game/game/entity/action/IAction").ActionType, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [import("../../../item/Item").default, boolean]>;
|
|
13
|
+
declare const _default: Action<[ActionArgument.ItemNearby, ActionArgument.Boolean], import("@wayward/game/game/entity/action/IAction").ActionType, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [import("../../../item/Item").default, boolean]>;
|
|
14
14
|
export default _default;
|
|
@@ -19,5 +19,5 @@ export interface ITillCanUse extends IActionUsable {
|
|
|
19
19
|
tileType: TerrainType;
|
|
20
20
|
terrainDescription: ITerrainDescription;
|
|
21
21
|
}
|
|
22
|
-
declare const _default: Action<[[arg1: ActionArgument.Undefined, ActionArgument.ItemInventory]], ActionType.ToggleTilled, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, ITillCanUse, [(import("../../../item/Item").default | undefined)?]>;
|
|
22
|
+
declare const _default: Action<[[arg1: ActionArgument.Undefined, ActionArgument.ItemInventory]], ActionType.ToggleTilled, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, ITillCanUse, [(import("../../../item/Item").default | undefined)?]>;
|
|
23
23
|
export default _default;
|
|
@@ -29,5 +29,5 @@ export interface ToggleVehicleItemCanUse extends IActionUsable {
|
|
|
29
29
|
facingTile?: Tile;
|
|
30
30
|
}
|
|
31
31
|
export type ToggleVehicleCanUse = ToggleVehicleDoodadCanUse | ToggleVehicleItemCanUse;
|
|
32
|
-
declare const _default: Action<[[arg1: ActionArgument.Undefined, ActionArgument.ItemNearby, ActionArgument.DoodadNearby]], ActionType.ToggleVehicle, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, ToggleVehicleCanUse, [(Doodad | Item | undefined)?]>;
|
|
32
|
+
declare const _default: Action<[[arg1: ActionArgument.Undefined, ActionArgument.ItemNearby, ActionArgument.DoodadNearby]], ActionType.ToggleVehicle, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, ToggleVehicleCanUse, [(Doodad | Item | undefined)?]>;
|
|
33
33
|
export default _default;
|
|
@@ -11,5 +11,5 @@
|
|
|
11
11
|
import { Action } from "@wayward/game/game/entity/action/Action";
|
|
12
12
|
import { TradeArgument } from "@wayward/game/game/entity/action/actions/trade/TradeArgument";
|
|
13
13
|
import { ActionArgument, ActionType } from "@wayward/game/game/entity/action/IAction";
|
|
14
|
-
declare const _default: Action<[ActionArgument.NPCNearby, [arg1: ActionArgument.Undefined, TradeArgument]], ActionType.Trade, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/actions/NPCInteract").INPCInteractUsable, [import("../../npc/NPC").default, (import("@wayward/game/game/entity/action/actions/trade/TradeArgument").ITradeArgument | undefined)?]>;
|
|
14
|
+
declare const _default: Action<[ActionArgument.NPCNearby, [arg1: ActionArgument.Undefined, TradeArgument]], ActionType.Trade, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, import("@wayward/game/game/entity/action/actions/NPCInteract").INPCInteractUsable, [import("../../npc/NPC").default, (import("@wayward/game/game/entity/action/actions/trade/TradeArgument").ITradeArgument | undefined)?]>;
|
|
15
15
|
export default _default;
|
|
@@ -15,5 +15,5 @@ import type Item from "@wayward/game/game/item/Item";
|
|
|
15
15
|
export interface ITransmogrifyCanUse extends IActionUsable {
|
|
16
16
|
transmogrifyTarget: Item;
|
|
17
17
|
}
|
|
18
|
-
declare const _default: Action<[ActionArgument.ItemNearby, [arg1: ActionArgument.Undefined, ActionArgument.ItemNearby]], ActionType.Transmogrify, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, ITransmogrifyCanUse, [Item, (Item | undefined)?]>;
|
|
18
|
+
declare const _default: Action<[ActionArgument.ItemNearby, [arg1: ActionArgument.Undefined, ActionArgument.ItemNearby]], ActionType.Transmogrify, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, ITransmogrifyCanUse, [Item, (Item | undefined)?]>;
|
|
19
19
|
export default _default;
|
|
@@ -22,5 +22,5 @@ export interface IUncageCanUse extends IActionUsable {
|
|
|
22
22
|
/**
|
|
23
23
|
* Releases a creature from a cage
|
|
24
24
|
*/
|
|
25
|
-
declare const _default: Action<[ActionArgument.ItemInventory], ActionType.Uncage, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, IUncageCanUse, [import("../../../item/Item").default]>;
|
|
25
|
+
declare const _default: Action<[ActionArgument.ItemInventory], ActionType.Uncage, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, IUncageCanUse, [import("../../../item/Item").default]>;
|
|
26
26
|
export default _default;
|
|
@@ -10,5 +10,5 @@
|
|
|
10
10
|
*/
|
|
11
11
|
import { Action } from "@wayward/game/game/entity/action/Action";
|
|
12
12
|
import { ActionArgument, ActionType } from "@wayward/game/game/entity/action/IAction";
|
|
13
|
-
declare const _default: Action<[[arg1: ActionArgument.Undefined, ActionArgument.ItemInventory]], ActionType.Unequip, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [(import("../../../item/Item").default | undefined)?]>;
|
|
13
|
+
declare const _default: Action<[[arg1: ActionArgument.Undefined, ActionArgument.ItemInventory]], ActionType.Unequip, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [(import("../../../item/Item").default | undefined)?]>;
|
|
14
14
|
export default _default;
|
|
@@ -9,5 +9,5 @@
|
|
|
9
9
|
* https://github.com/WaywardGame/types/wiki
|
|
10
10
|
*/
|
|
11
11
|
import { ActionType } from "@wayward/game/game/entity/action/IAction";
|
|
12
|
-
declare const _default: import("../Action").Action<[], ActionType.Unhitch, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/actions/ToggleHitch").IToggleHitchCanUse, []>;
|
|
12
|
+
declare const _default: import("../Action").Action<[], ActionType.Unhitch, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, import("@wayward/game/game/entity/action/actions/ToggleHitch").IToggleHitchCanUse, []>;
|
|
13
13
|
export default _default;
|
|
@@ -9,5 +9,5 @@
|
|
|
9
9
|
* https://github.com/WaywardGame/types/wiki
|
|
10
10
|
*/
|
|
11
11
|
import { ActionType } from "@wayward/game/game/entity/action/IAction";
|
|
12
|
-
declare const _default: import("../Action").Action<[import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemNearby, import("@wayward/game/game/entity/action/IAction").ActionArgument.Boolean], ActionType.UnProtectItem, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [import("../../../item/Item").default, boolean]>;
|
|
12
|
+
declare const _default: import("../Action").Action<[import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemNearby, import("@wayward/game/game/entity/action/IAction").ActionArgument.Boolean], ActionType.UnProtectItem, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [import("../../../item/Item").default, boolean]>;
|
|
13
13
|
export default _default;
|
|
@@ -12,7 +12,7 @@ import { Action } from "@wayward/game/game/entity/action/Action";
|
|
|
12
12
|
import { ActionArgument, ActionType } from "@wayward/game/game/entity/action/IAction";
|
|
13
13
|
import type Human from "@wayward/game/game/entity/Human";
|
|
14
14
|
import { Direction } from "@wayward/game/utilities/math/Direction";
|
|
15
|
-
declare const _default: Action<[ActionArgument.Direction, [arg1: ActionArgument.Undefined, ActionArgument.Integer32], [arg1: ActionArgument.Undefined, ActionArgument.Boolean]], ActionType.UpdateDirection, Human<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, {
|
|
15
|
+
declare const _default: Action<[ActionArgument.Direction, [arg1: ActionArgument.Undefined, ActionArgument.Integer32], [arg1: ActionArgument.Undefined, ActionArgument.Boolean]], ActionType.UpdateDirection, Human<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, {
|
|
16
16
|
usable: true;
|
|
17
17
|
}, [Direction.None | Direction.East | Direction.North | Direction.West | Direction.South, (number | undefined)?, (boolean | undefined)?]>;
|
|
18
18
|
export default _default;
|
|
@@ -10,5 +10,5 @@
|
|
|
10
10
|
*/
|
|
11
11
|
import { Action } from "@wayward/game/game/entity/action/Action";
|
|
12
12
|
import { ActionArgument, ActionType } from "@wayward/game/game/entity/action/IAction";
|
|
13
|
-
declare const _default: Action<[ActionArgument.Object], ActionType.UpdateGameOption, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [any?]>;
|
|
13
|
+
declare const _default: Action<[ActionArgument.Object], ActionType.UpdateGameOption, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [any?]>;
|
|
14
14
|
export default _default;
|
|
@@ -18,5 +18,5 @@ export declare class ActionArgumentItemSort extends ActionArgumentCustom<IContai
|
|
|
18
18
|
read(): IContainerSort;
|
|
19
19
|
write(executor: Entity | undefined, value: IContainerSort): void;
|
|
20
20
|
}
|
|
21
|
-
declare const _default: Action<[ActionArgument.Container, [ActionArgument.UnsignedInteger32NumberArray, ActionArgumentItemSort]], ActionType.UpdateItemOrder, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [import("@wayward/game/game/item/IItem").IContainer, number[] | IContainerSort]>;
|
|
21
|
+
declare const _default: Action<[ActionArgument.Container, [ActionArgument.UnsignedInteger32NumberArray, ActionArgumentItemSort]], ActionType.UpdateItemOrder, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [import("@wayward/game/game/item/IItem").IContainer, number[] | IContainerSort]>;
|
|
22
22
|
export default _default;
|