@wayward/types 2.14.7-beta.dev.20250820.1 → 2.15.0-beta
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/audio/IAudio.d.ts +70 -61
- package/definitions/game/event/EventBuses.d.ts +58 -54
- package/definitions/game/event/EventManager.d.ts +28 -27
- package/definitions/game/game/Game.d.ts +4 -1
- package/definitions/game/game/IGame.d.ts +2 -7
- package/definitions/game/game/ILoot.d.ts +3 -1
- package/definitions/game/game/IObject.d.ts +2 -1
- package/definitions/game/game/biome/arid/mapGen/2.15.0.d.ts +12 -0
- package/definitions/game/game/biome/coastal/mapGen/2.15.0.d.ts +12 -0
- package/definitions/game/game/biome/iceCap/mapGen/2.15.0.d.ts +12 -0
- package/definitions/game/game/biome/volcanic/mapGen/2.15.0.d.ts +12 -0
- package/definitions/game/game/biome/wetlands/mapGen/2.15.0.d.ts +12 -0
- package/definitions/game/game/curse/Curse.d.ts +164 -0
- package/definitions/game/game/curse/CurseEvent.d.ts +209 -0
- package/definitions/game/game/curse/CurseEventDefinitions.d.ts +14 -0
- package/definitions/game/game/curse/ICurse.d.ts +90 -0
- package/definitions/game/game/curse/event/CurseEventCraftingInspiration.d.ts +16 -0
- package/definitions/game/game/curse/event/CurseEventFrigidNight.d.ts +16 -0
- package/definitions/game/game/curse/event/CurseEventHatedByTheWilds.d.ts +18 -0
- package/definitions/game/game/curse/event/CurseEventHeatWave.d.ts +16 -0
- package/definitions/game/game/curse/event/CurseEventHorde.d.ts +20 -0
- package/definitions/game/game/curse/event/CurseEventLovedByTheWilds.d.ts +18 -0
- package/definitions/game/game/curse/event/CurseEventLucky.d.ts +15 -0
- package/definitions/game/game/curse/event/CurseEventNewPlants.d.ts +17 -0
- package/definitions/game/game/curse/event/CurseEventPlantDeath.d.ts +17 -0
- package/definitions/game/game/curse/event/CurseEventShadows.d.ts +20 -0
- package/definitions/game/game/curse/event/CurseEventSwarm.d.ts +18 -0
- package/definitions/game/game/curse/event/CurseEventUnlucky.d.ts +15 -0
- package/definitions/game/game/deity/Deity.d.ts +0 -2
- package/definitions/game/game/doodad/Doodad.d.ts +25 -17
- package/definitions/game/game/doodad/DoodadManager.d.ts +5 -4
- package/definitions/game/game/doodad/DoodadUtilities.d.ts +3 -1
- package/definitions/game/game/doodad/Doodads.d.ts +2 -1
- package/definitions/game/game/doodad/IDoodad.d.ts +59 -10
- package/definitions/game/game/entity/CombatStrengthManager.d.ts +2 -21
- package/definitions/game/game/entity/Entity.d.ts +9 -3
- package/definitions/game/game/entity/EntityMovable.d.ts +4 -0
- package/definitions/game/game/entity/Human.d.ts +24 -18
- package/definitions/game/game/entity/ICombatStrength.d.ts +30 -0
- package/definitions/game/game/entity/IEntity.d.ts +13 -1
- package/definitions/game/game/entity/IHuman.d.ts +25 -57
- package/definitions/game/game/entity/IStats.d.ts +17 -42
- package/definitions/game/game/entity/StatDescriptions.d.ts +1 -1
- package/definitions/game/game/entity/Stats.d.ts +1 -0
- package/definitions/game/game/entity/action/Action.d.ts +12 -27
- package/definitions/game/game/entity/action/ActionExecutor.d.ts +3 -2
- package/definitions/game/game/entity/action/ActionsRegistration.d.ts +1 -189
- package/definitions/game/game/entity/action/IAction.d.ts +3 -1
- package/definitions/game/game/entity/action/IActionContext.d.ts +2 -0
- package/definitions/game/game/entity/action/actions/Absorb.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/AddFuel.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/AddItemDiscovered.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Alter.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Apply.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/AscendDescend.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/AttachContainer.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Attack.d.ts +3 -3
- package/definitions/game/game/entity/action/actions/Build.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/Butcher.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/CageCreature.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Cast.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Chop.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/ClearMessages.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/CloseContainer.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/CloseDoor.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/Consecrate.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/ConsumeItem.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/CopyMap.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Craft.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/CraftNew.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/CreateControllableNPC.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Cure.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/DamageMap.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/DetachContainer.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Dig.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Disassemble.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/DiscoverRecipe.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Dismantle.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Dismount.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/DisplayItem.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/DrawMap.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/DrinkInFront.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/DrinkItem.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/Drop.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/DumpItems.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Eat.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/Enchant.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Enhance.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Equip.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/EquipFromArmorStand.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/ExcavateCollapse.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Extinguish.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Exude.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Fire.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Gather.d.ts +3 -3
- package/definitions/game/game/entity/action/actions/GatherLiquid.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Grasp.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Harvest.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Heal.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/HealOther.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Hitch.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/Idle.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/Ignite.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Invoke.d.ts +6 -2
- package/definitions/game/game/entity/action/actions/Jump.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/Kneel.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Learn.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Lockpick.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Melee.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/Mine.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/Move.d.ts +3 -7
- package/definitions/game/game/entity/action/actions/MoveItem.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/MoveTo.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/NPCInteract.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Navigate.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Noclip.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Offer.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/OpenBottle.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/OpenContainer.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/OpenDoor.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/PackGround.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/Pet.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/PickUp.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/PickUpAllItems.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/PickUpExcrement.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/PickUpItem.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/PlaceDown.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/Plant.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Pour.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/PourOnYourself.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Preserve.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/PromptResponse.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/PropOpenDoor.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/ProtectItem.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/Read.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/ReadMap.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Refine.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Reinforce.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Release.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/RemoveControllableNPC.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Rename.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/RenameIsland.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Repair.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/ResetItemDiscovered.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/Reshape.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Respawn.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/Rest.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/RestCancel.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/Ride.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/Rotate.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/SailToCivilization.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/SailToIsland.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/SetCreatureAi.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/SetCreatureAiAll.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/SetDown.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/SetTitle.d.ts +3 -3
- package/definitions/game/game/entity/action/actions/ShipToIsland.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Shoot.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Sleep.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/SmotherFire.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Squeeze.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Squish.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Stack.d.ts +3 -3
- package/definitions/game/game/entity/action/actions/StartFire.d.ts +4 -2
- package/definitions/game/game/entity/action/actions/StokeFire.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Summon.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/SwapWithArmorStand.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/TakeFromArmorStand.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/Tame.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/Teleport.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/TellTime.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/TestDepth.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Throw.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/Till.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/ToggleContainer.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/ToggleDoor.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/ToggleHitch.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/ToggleProtectItem.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/ToggleTilled.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/ToggleVehicle.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Trade.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Transmogrify.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Uncage.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Unequip.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Unhitch.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/UnprotectItem.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/UpdateDirection.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/UpdateGameOption.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/UpdateItemOrder.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/UpdateOption.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/UpdateWalkTo.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Upgrade.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/ViewItems.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/helper/MoveUtilities.d.ts +17 -0
- package/definitions/game/game/entity/action/actions/moveItem/MoveItemMerchant.d.ts +1 -1
- package/definitions/game/game/entity/action/usable/UsableAction.d.ts +2 -2
- package/definitions/game/game/entity/action/usable/actions/UsableActionsWorld.d.ts +1 -1
- package/definitions/game/game/entity/ai/AI.d.ts +12 -8
- package/definitions/game/game/entity/creature/Creature.d.ts +11 -3
- package/definitions/game/game/entity/creature/CreatureManager.d.ts +8 -11
- package/definitions/game/game/entity/creature/ICreature.d.ts +37 -1
- package/definitions/game/game/entity/creature/corpse/Corpse.d.ts +3 -3
- package/definitions/game/game/entity/creature/corpse/CorpseManager.d.ts +1 -1
- package/definitions/game/game/entity/creature/corpse/ICorpse.d.ts +4 -1
- package/definitions/game/game/entity/creature/zone/ICreatureZone.d.ts +17 -0
- package/definitions/game/game/entity/creature/zone/zones/arid/AridCreatureCombos.d.ts +13 -0
- package/definitions/game/game/entity/creature/zone/zones/coastal/CoastalCreatureCombos.d.ts +13 -0
- package/definitions/game/game/entity/creature/zone/zones/iceCap/IceCapCreatureCombos.d.ts +13 -0
- package/definitions/game/game/entity/creature/zone/zones/volcanic/VolcanicCreatureCombos.d.ts +13 -0
- package/definitions/game/game/entity/creature/zone/zones/wetlands/WetlandsCreatureCombos.d.ts +13 -0
- package/definitions/game/game/entity/data/DataComponent.d.ts +39 -0
- package/definitions/game/game/entity/npc/INPC.d.ts +3 -0
- package/definitions/game/game/entity/npc/NPC.d.ts +3 -3
- package/definitions/game/game/entity/npc/NPCManager.d.ts +1 -0
- package/definitions/game/game/entity/player/IMessageManager.d.ts +5 -1
- package/definitions/game/game/entity/player/IPlayer.d.ts +5 -1
- package/definitions/game/game/entity/player/MessageManager.d.ts +1 -1
- package/definitions/game/game/entity/player/Player.d.ts +3 -3
- package/definitions/game/game/entity/player/quest/Requirements.d.ts +1 -1
- package/definitions/game/game/entity/player/quest/requirement/LearnSkillRequirement.d.ts +1 -1
- package/definitions/game/game/entity/skill/ISkills.d.ts +37 -1
- package/definitions/game/game/entity/skill/SkillManager.d.ts +2 -2
- package/definitions/game/game/entity/status/IStatus.d.ts +88 -18
- package/definitions/game/game/entity/status/IStatusContext.d.ts +5 -4
- package/definitions/game/game/entity/status/Status.d.ts +4 -20
- package/definitions/game/game/entity/status/StatusEffectList.d.ts +3 -1
- package/definitions/game/game/entity/status/handler/BadTemperatureEffect.d.ts +3 -0
- package/definitions/game/game/entity/status/statuses/Cursed.d.ts +13 -0
- package/definitions/game/game/entity/status/statuses/Runekeeper.d.ts +13 -0
- package/definitions/game/game/entity/status/statuses/Statistician.d.ts +13 -0
- package/definitions/game/game/inspection/IInfoProvider.d.ts +2 -1
- package/definitions/game/game/inspection/IInspection.d.ts +5 -3
- package/definitions/game/game/inspection/InspectionTypeMap.d.ts +4 -2
- package/definitions/game/game/inspection/infoProviders/MagicalCurseProperties.d.ts +30 -0
- package/definitions/game/game/inspection/infoProviders/MagicalPropertyValue.d.ts +2 -1
- package/definitions/game/game/inspection/infoProviders/ObscuredValue.d.ts +1 -1
- package/definitions/game/game/inspection/infoProviders/doodad/StillWater.d.ts +2 -0
- package/definitions/game/game/inspection/infoProviders/item/MagicalSourceTooltip.d.ts +3 -3
- package/definitions/game/game/inspection/infoProviders/item/SkillSourceTooltip.d.ts +1 -1
- package/definitions/game/game/inspection/infoProviders/item/use/ItemBuildInfo.d.ts +3 -2
- package/definitions/game/game/inspection/infoProviders/item/use/ItemConsumeInfo.d.ts +1 -1
- package/definitions/game/game/inspection/infoProviders/item/use/ItemEquipInfo.d.ts +3 -2
- package/definitions/game/game/inspection/infoProviders/skill/MagicalItemBonuses.d.ts +1 -1
- package/definitions/game/game/inspection/infoProviders/stat/TemperatureInfo.d.ts +18 -0
- package/definitions/game/game/inspection/inspections/DeityInspection.d.ts +1 -0
- package/definitions/game/game/inspection/inspections/MagicCurseInspection.d.ts +29 -0
- package/definitions/game/game/inspection/inspections/SkillInspection.d.ts +1 -1
- package/definitions/game/game/inspection/inspections/StatusInspection.d.ts +5 -2
- package/definitions/game/game/inspection/inspections/utility/EffectRadiusRegistry.d.ts +24 -0
- package/definitions/game/game/island/Island.d.ts +11 -4
- package/definitions/game/game/item/IItem.d.ts +67 -15
- package/definitions/game/game/item/Item.d.ts +30 -15
- package/definitions/game/game/item/ItemManager.d.ts +13 -5
- package/definitions/game/game/item/Items.d.ts +9 -1
- package/definitions/game/game/item/recipe/Recipe.d.ts +1 -1
- package/definitions/game/game/item/recipe/output/ItemOutput.d.ts +2 -0
- package/definitions/game/game/item/template/FoodItem.d.ts +15 -0
- package/definitions/game/game/magic/IMagicalProperty.d.ts +7 -2
- package/definitions/game/game/magic/MagicalPropertyDescriptions.d.ts +63 -0
- package/definitions/game/game/magic/MagicalPropertyManager.d.ts +39 -5
- package/definitions/game/game/magic/MagicalPropertyType.d.ts +4 -44
- package/definitions/game/game/mapgen/version/2.15.0.d.ts +19 -0
- package/definitions/game/game/milestones/IMilestone.d.ts +11 -4
- package/definitions/game/game/milestones/MilestoneDefinition.d.ts +9 -4
- package/definitions/game/game/milestones/milestone/Runekeeper.d.ts +7 -4
- package/definitions/game/game/options/GameOptions.d.ts +1 -1
- package/definitions/game/game/options/IGameOptions.d.ts +23 -1
- package/definitions/game/game/options/modifiers/challenge/IChallenge.d.ts +2 -1
- package/definitions/game/game/options/modifiers/custom/CustomModifierDefinitions.d.ts +117 -0
- package/definitions/game/game/options/modifiers/custom/ICustomModifier.d.ts +78 -0
- package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierCreatureSpawnLimit.d.ts +13 -0
- package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierCreatureSpawnRate.d.ts +13 -0
- package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierCreatures.d.ts +15 -0
- package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierCreaturesOther.d.ts +13 -0
- package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierItemDecay.d.ts +13 -0
- package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierItemDurability.d.ts +13 -0
- package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierSkills.d.ts +15 -0
- package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierSkillsGainMultiplierGlobal.d.ts +13 -0
- package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierSkillsInitialValueGlobal.d.ts +13 -0
- package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierSkillsStartCount.d.ts +13 -0
- package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierStartingBiome.d.ts +14 -0
- package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierStatGeneric.d.ts +15 -0
- package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierStatLuck.d.ts +13 -0
- package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierStatStrength.d.ts +13 -0
- package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierStatusGeneric.d.ts +15 -0
- package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierTimeDayLength.d.ts +13 -0
- package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierTimeDayPercent.d.ts +13 -0
- package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierTimeInitial.d.ts +13 -0
- package/definitions/game/game/options/modifiers/island/IIslandModifier.d.ts +13 -0
- package/definitions/game/game/options/modifiers/island/IslandModifier.d.ts +1 -3
- package/definitions/game/game/options/modifiers/island/IslandModifiers.d.ts +1 -1
- package/definitions/game/game/options/modifiers/milestone/IMilestoneModifier.d.ts +25 -0
- package/definitions/game/game/options/modifiers/milestone/MilestoneModifier.d.ts +1 -14
- package/definitions/game/game/options/modifiers/milestone/MilestoneModifiersManager.d.ts +7 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Abnormalizer.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Afflicted.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Apocryphal.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Artificer.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Boundless.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Challenger.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Chef.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Collector.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Contender.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Crafter.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Curator.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Cursebreaker.d.ts +17 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Cursed.d.ts +17 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Dedicated.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/DestroyerOfMagi.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Diverse.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Doctor.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/DragonSlayer.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Explorer.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Exsanguinated.d.ts +3 -2
- package/definitions/game/game/options/modifiers/milestone/modifiers/Exterminator.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Gardener.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Gatherer.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Grandmaster.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Helmsman.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Hounded.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Hunter.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Huntsman.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Invoker.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Locksmith.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Masochist.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/MasterOfAll.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Merchant.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Multitasker.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Murderer.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Navigator.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Notekeeper.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Oblivious.d.ts +17 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Operator.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Prepared.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Pulchritudinous.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/ReaperOfSouls.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Retailer.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Rouseabout.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/RunekeeperModifier.d.ts +3 -2
- package/definitions/game/game/options/modifiers/milestone/modifiers/Seafarer.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Serene.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Statistician.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Talented.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Thaumaturgic.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Thrower.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Traitor.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Trapper.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/TreasureHunter.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Treasurer.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Versatile.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/shared/DeityInvokeMilestoneModifier.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/shared/StatBonusMilestoneModifier.d.ts +2 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/shared/TamedCreatureMilestoneModifier.d.ts +2 -1
- package/definitions/game/game/reference/IReferenceManager.d.ts +33 -2
- package/definitions/game/game/temperature/ITemperature.d.ts +17 -3
- package/definitions/game/game/temperature/TemperatureManager.d.ts +4 -1
- package/definitions/game/game/tile/ITerrain.d.ts +4 -23
- package/definitions/game/game/tile/ITileEvent.d.ts +17 -2
- package/definitions/game/game/tile/Tile.d.ts +13 -6
- package/definitions/game/game/tile/TileEvent.d.ts +13 -5
- package/definitions/game/game/tile/TileEventManager.d.ts +2 -1
- package/definitions/game/game/tile/TileEvents.d.ts +0 -2
- package/definitions/game/game/tile/events/Cobweb.d.ts +12 -0
- package/definitions/game/game/tile/events/Fire.d.ts +1 -1
- package/definitions/game/game/tile/events/MeltingTile.d.ts +0 -1
- package/definitions/game/game/tile/events/PileOfLeaves.d.ts +12 -0
- package/definitions/game/game/tile/events/Puddles.d.ts +1 -1
- package/definitions/game/game/tile/events/SlimePatch.d.ts +1 -1
- package/definitions/game/game/tile/events/{IFire.d.ts → fire/FireHelper.d.ts} +2 -17
- package/definitions/game/game/tile/events/fire/FireStage.d.ts +27 -0
- package/definitions/game/game/time/ITimeManager.d.ts +1 -0
- package/definitions/game/game/time/TimeManager.d.ts +10 -5
- package/definitions/game/language/Dictionary.d.ts +112 -108
- package/definitions/game/language/DictionaryMap.d.ts +340 -220
- package/definitions/game/language/ITranslation.d.ts +18 -0
- package/definitions/game/language/LanguageManager.d.ts +0 -2
- package/definitions/game/language/Translation.d.ts +11 -26
- package/definitions/game/language/dictionary/Message.d.ts +846 -831
- package/definitions/game/language/dictionary/Misc.d.ts +78 -62
- package/definitions/game/language/dictionary/UiTranslation.d.ts +761 -788
- package/definitions/game/language/english/game/CombatDangerLevels.d.ts +1 -1
- package/definitions/game/language/english/game/CombatStrengths.d.ts +1 -1
- package/definitions/game/language/english/game/CurseEventGroups.d.ts +13 -0
- package/definitions/game/language/english/game/CurseEvents.d.ts +13 -0
- package/definitions/game/language/english/game/CustomModifiers.d.ts +13 -0
- package/definitions/game/language/english/game/FireStages.d.ts +1 -1
- package/definitions/game/language/english/game/GameOptionsIcons.d.ts +13 -0
- package/definitions/game/language/english/game/IslandModifiers.d.ts +1 -1
- package/definitions/game/language/english/game/islandName/IslandNameModifierDescriptors.d.ts +1 -1
- package/definitions/game/language/english/item/DoodadsExtra.d.ts +2 -2
- package/definitions/game/language/english/item/ItemsExtra.d.ts +2 -2
- package/definitions/game/language/english/item/MagicalPropertyTypes.d.ts +1 -1
- package/definitions/game/language/english/player/Skills.d.ts +1 -1
- package/definitions/game/language/english/ui/CurseComponents.d.ts +1 -1
- package/definitions/game/language/english/ui/MilestoneModifierGroups.d.ts +1 -1
- package/definitions/game/language/utility/TranslationListBuilder.d.ts +7 -4
- package/definitions/game/language/utility/TranslationSorter.d.ts +22 -11
- package/definitions/game/language/utility/TranslationUtility.d.ts +15 -0
- package/definitions/game/mod/Mod.d.ts +15 -0
- package/definitions/game/mod/ModInformation.d.ts +2 -2
- package/definitions/game/mod/ModRegistry.d.ts +3 -14
- package/definitions/game/multiplayer/packets/shared/ActionPacketBase.d.ts +1 -0
- package/definitions/game/renderer/RenderersNotifiers.d.ts +1 -1
- package/definitions/game/renderer/fieldOfView/FieldOfView.d.ts +2 -0
- package/definitions/game/renderer/fieldOfView/IFieldOfView.d.ts +7 -1
- package/definitions/game/renderer/notifier/INotifier.d.ts +6 -2
- package/definitions/game/renderer/notifier/Notifier.d.ts +1 -1
- package/definitions/game/renderer/overlay/EffectRadiusOverlay.d.ts +36 -0
- package/definitions/game/renderer/world/WorldRenderer.d.ts +4 -1
- package/definitions/game/resource/IResourceLoader.d.ts +44 -42
- package/definitions/game/save/data/ISaveDataGlobal.d.ts +1 -0
- package/definitions/game/save/upgrade/UpgradeVersion.d.ts +4 -0
- package/definitions/game/save/upgrade/versions/beta2.14.7/beta2.14.7-dev20250821.d.ts +12 -0
- package/definitions/game/save/upgrade/versions/beta2.15.0/beta2.15.0-dev20250930.d.ts +12 -0
- package/definitions/game/save/upgrade/versions/beta2.15.0/beta2.15.0-dev20251012.d.ts +12 -0
- package/definitions/game/save/upgrade/versions/beta2.15.0/beta2.15.0-dev20251016.d.ts +12 -0
- package/definitions/game/save/upgrade/versions/beta2.15.0/beta2.15.0-dev20251018.d.ts +12 -0
- package/definitions/game/save/upgrade/versions/beta2.15.0/beta2.15.0-dev20251020.d.ts +12 -0
- package/definitions/game/ui/Ui.d.ts +6 -0
- package/definitions/game/ui/component/GameIcons.d.ts +5 -4
- package/definitions/game/ui/component/dropdown/SkillDropdown.d.ts +1 -1
- package/definitions/game/ui/input/Bind.d.ts +1 -1
- package/definitions/game/ui/input/Bindable.d.ts +24 -23
- package/definitions/game/ui/input/BindableManager.d.ts +4 -1
- package/definitions/game/ui/input/Bindables.d.ts +1 -0
- package/definitions/game/ui/input/Defaults.d.ts +12 -2
- package/definitions/game/ui/input/InputInfo.d.ts +34 -0
- package/definitions/game/ui/input/InputManager.d.ts +1 -22
- package/definitions/game/ui/input/Macros.d.ts +4 -1
- package/definitions/game/ui/old/OldUi.d.ts +2 -0
- package/definitions/game/ui/screen/screens/GameScreen.d.ts +5 -1
- package/definitions/game/ui/screen/screens/game/InspectionsTooltipHandler.d.ts +2 -0
- package/definitions/game/ui/screen/screens/game/component/ContainerBucket.d.ts +5 -42
- package/definitions/game/ui/screen/screens/game/component/GameDetails.d.ts +5 -5
- package/definitions/game/ui/screen/screens/game/component/ItemComponent.d.ts +5 -25
- package/definitions/game/ui/screen/screens/game/component/container/ContainerBucketItemList.d.ts +4 -1
- package/definitions/game/ui/screen/screens/game/component/container/ContainerBucketManager.d.ts +42 -0
- package/definitions/game/ui/screen/screens/game/component/container/IContainerBucket.d.ts +25 -0
- package/definitions/game/ui/screen/screens/game/component/item/IItemComponent.d.ts +23 -0
- package/definitions/game/ui/screen/screens/game/component/item/ItemComponentEventBus.d.ts +1 -1
- package/definitions/game/ui/screen/screens/game/component/item/ItemComponentTradeManager.d.ts +1 -1
- package/definitions/game/ui/screen/screens/game/dialog/ContainerDialog.d.ts +1 -2
- package/definitions/game/ui/screen/screens/game/dialog/EquipmentDialog.d.ts +3 -2
- package/definitions/game/ui/screen/screens/game/dialog/SkillsDialog.d.ts +1 -1
- package/definitions/game/ui/screen/screens/game/dialog/TradeDialog.d.ts +3 -4
- package/definitions/game/ui/screen/screens/game/static/ActionBar.d.ts +0 -18
- package/definitions/game/ui/screen/screens/game/static/Stats.d.ts +3 -1
- package/definitions/game/ui/screen/screens/game/static/actions/IActionBar.d.ts +18 -0
- package/definitions/game/ui/screen/screens/game/static/menubar/descriptions/IslandsButtonDescription.d.ts +1 -1
- package/definitions/game/ui/screen/screens/game/static/stats/IStatDisplayDescription.d.ts +19 -5
- package/definitions/game/ui/screen/screens/game/static/stats/TemperatureDisplay.d.ts +13 -0
- package/definitions/game/ui/screen/screens/game/static/stats/component/IStatuses.d.ts +29 -0
- package/definitions/game/ui/screen/screens/game/static/stats/component/StatComponent.d.ts +16 -4
- package/definitions/game/ui/screen/screens/game/static/stats/component/StatusContext.d.ts +2 -1
- package/definitions/game/ui/screen/screens/game/static/stats/component/StatusIcon.d.ts +2 -1
- package/definitions/game/ui/screen/screens/game/static/stats/component/Statuses.d.ts +4 -22
- package/definitions/game/ui/screen/screens/game/util/item/ItemStylesheet.d.ts +1 -1
- package/definitions/game/ui/screen/screens/menu/menus/HelpArticleMenu.d.ts +3 -0
- package/definitions/game/ui/screen/screens/menu/menus/MainMenu.d.ts +7 -1
- package/definitions/game/ui/screen/screens/menu/menus/help/HelpArticleDescriptions.d.ts +0 -2
- package/definitions/game/ui/screen/screens/menu/menus/mods/ModRow.d.ts +3 -0
- package/definitions/game/ui/screen/screens/menu/menus/newgame/CustomGameOptionsMenu.d.ts +4 -3
- package/definitions/game/ui/screen/screens/menu/menus/newgame/TabGameMode.d.ts +1 -1
- package/definitions/game/ui/screen/screens/menu/menus/newgame/customgameoptions/CustomGameOptionsTab.d.ts +12 -2
- package/definitions/game/ui/screen/screens/menu/menus/newgame/customgameoptions/TabCreatures.d.ts +2 -3
- package/definitions/game/ui/screen/screens/menu/menus/newgame/customgameoptions/TabGeneral.d.ts +2 -2
- package/definitions/game/ui/screen/screens/menu/menus/newgame/customgameoptions/TabItems.d.ts +2 -2
- package/definitions/game/ui/screen/screens/menu/menus/newgame/customgameoptions/TabSkills.d.ts +2 -3
- package/definitions/game/ui/screen/screens/menu/menus/newgame/customgameoptions/TabStats.d.ts +2 -2
- package/definitions/game/ui/screen/screens/menu/menus/newgame/customgameoptions/TabStatuses.d.ts +2 -2
- package/definitions/game/ui/screen/screens/menu/menus/newgame/customgameoptions/TabTime.d.ts +2 -5
- package/definitions/game/ui/screen/screens/menu/menus/newgame/customgameoptions/TabTravel.d.ts +2 -2
- package/definitions/game/ui/screen/screens/menu/menus/options/TabPerformance.d.ts +1 -0
- package/definitions/game/ui/screen/screens/menu/menus/options/TabVideo.d.ts +2 -0
- package/definitions/game/ui/screen/screens/menu/menus/pause/GameOptionsIcons.d.ts +2 -11
- package/definitions/game/ui/tooltip/TooltipManager.d.ts +1 -0
- package/definitions/game/ui/util/ImagePath.d.ts +1 -0
- package/definitions/{utilities/class → game/utilities}/Inject.d.ts +3 -2
- package/definitions/game/utilities/Observer.d.ts +2 -0
- package/definitions/game/utilities/collection/map/DefaultMap.d.ts +5 -1
- package/definitions/game/utilities/dev/Debug.d.ts +1 -1
- package/definitions/game/utilities/math/Vector2.d.ts +25 -5
- package/definitions/game/utilities/object/Merge.d.ts +10 -2
- package/definitions/game/utilities/random/RandomValueGenerator.d.ts +4 -1
- package/definitions/game/utilities/random/generators/specific/RandomRange.d.ts +4 -1
- package/definitions/hosts/shared/globalTypes.d.ts +16 -13
- package/definitions/hosts/shared/globals.d.ts +3 -3
- package/definitions/hosts/shared/interfaces.d.ts +1 -1
- package/definitions/test/core/applicationDom.d.ts +1 -1
- package/definitions/test/core/applicationManager.d.ts +10 -0
- package/definitions/utilities/Errors.d.ts +1 -1
- package/definitions/utilities/Log.d.ts +0 -14
- package/definitions/utilities/event/EventBusManager.d.ts +4 -3
- package/definitions/utilities/log/ErrorReporting.d.ts +31 -0
- package/definitions/utilities/math/Math2.d.ts +1 -0
- package/definitions/utilities/math/Range.d.ts +14 -6
- package/definitions/utilities/object/Objects.d.ts +1 -0
- package/definitions/utilities/random/Random.d.ts +15 -1
- package/definitions/utilities/types/Objects.d.ts +3 -0
- package/package.json +1 -1
- package/definitions/game/game/deity/Curse.d.ts +0 -40
- /package/definitions/game/save/upgrade/versions/beta2.14.4/{beta.2.14.4-dev20250422.d.ts → beta2.14.4-dev20250422.d.ts} +0 -0
|
@@ -11,67 +11,76 @@
|
|
|
11
11
|
export declare enum SfxType {
|
|
12
12
|
Boat = 0,
|
|
13
13
|
Bow = 1,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
14
|
+
Break = 2,
|
|
15
|
+
Chat = 3,
|
|
16
|
+
Craft = 4,
|
|
17
|
+
CraftFail = 5,
|
|
18
|
+
CreatureHit = 6,
|
|
19
|
+
CreatureNoise = 7,
|
|
20
|
+
Curse = 8,
|
|
21
|
+
CurseEventNewPlants = 9,
|
|
22
|
+
CurseEventPlantDeath = 10,// Reversed CurseEventNewPlants sound
|
|
23
|
+
CurseWarning = 11,
|
|
24
|
+
Damaged = 12,
|
|
25
|
+
DangerousMove = 13,
|
|
26
|
+
Death = 14,
|
|
27
|
+
Eating = 15,
|
|
28
|
+
Encumbered = 16,
|
|
29
|
+
Exceptional = 17,
|
|
30
|
+
Extinguish = 18,
|
|
31
|
+
Exude = 19,// Reversed GeneralMagicalAction sound
|
|
32
|
+
Fail = 20,
|
|
33
|
+
FluteNoteA = 21,
|
|
34
|
+
FluteNoteB = 22,
|
|
35
|
+
FluteNoteC = 23,
|
|
36
|
+
FluteNoteD = 24,
|
|
37
|
+
FluteNoteE = 25,
|
|
38
|
+
FluteNoteF = 26,
|
|
39
|
+
FluteNoteG = 27,
|
|
40
|
+
FluteNoteH = 28,
|
|
41
|
+
FluteNoteI = 29,
|
|
42
|
+
GeneralAction = 30,
|
|
43
|
+
GeneralMagicalAction = 31,
|
|
44
|
+
GraniteHit = 32,
|
|
45
|
+
Hit = 33,
|
|
46
|
+
Hurt = 34,
|
|
47
|
+
InvokeChaos = 35,
|
|
48
|
+
InvokeEvil = 36,
|
|
49
|
+
InvokeGood = 37,
|
|
50
|
+
Minecart = 38,
|
|
51
|
+
Miss = 39,
|
|
52
|
+
Overburdened = 40,
|
|
53
|
+
PickUp = 41,
|
|
54
|
+
Sacrifice = 42,
|
|
55
|
+
SandstoneHit = 43,
|
|
56
|
+
Slip = 44,
|
|
57
|
+
Swim = 45,
|
|
58
|
+
Throw = 46,
|
|
59
|
+
Trample = 47,
|
|
60
|
+
TreeHit = 48,
|
|
61
|
+
UiActivate = 49,
|
|
62
|
+
UiChoose = 50,
|
|
63
|
+
UiClose = 51,
|
|
64
|
+
UiDisable = 52,
|
|
65
|
+
UiEnable = 53,
|
|
66
|
+
UiEquip = 54,
|
|
67
|
+
UiInput = 55,
|
|
68
|
+
UiInputdelete = 56,
|
|
69
|
+
UiInvalid = 57,
|
|
70
|
+
UiOpen = 58,
|
|
71
|
+
UiOpensmall = 59,
|
|
72
|
+
UiProtect = 60,
|
|
73
|
+
UiReorder = 61,
|
|
74
|
+
UiSelect = 62,
|
|
75
|
+
UiSort = 63,
|
|
76
|
+
UiStack = 64,
|
|
77
|
+
UiTrade = 65,
|
|
78
|
+
UiUnequip = 66,
|
|
79
|
+
UiUnprotect = 67,
|
|
80
|
+
UiUnstack = 68,
|
|
81
|
+
Walk = 69,
|
|
82
|
+
Water = 70,
|
|
83
|
+
Wheelbarrow = 71
|
|
75
84
|
}
|
|
76
85
|
export type SfxUi = Extract<keyof typeof SfxType, `Ui${string}`> extends `Ui${infer RESULT}` ? Lowercase<RESULT> : never;
|
|
77
86
|
export declare enum Music {
|
|
@@ -30,6 +30,7 @@ import type PlayerManager from "@wayward/game/game/entity/player/PlayerManager";
|
|
|
30
30
|
import type Island from "@wayward/game/game/island/Island";
|
|
31
31
|
import type Item from "@wayward/game/game/item/Item";
|
|
32
32
|
import type ItemManager from "@wayward/game/game/item/ItemManager";
|
|
33
|
+
import type MagicalPropertyManager from "@wayward/game/game/magic/MagicalPropertyManager";
|
|
33
34
|
import type Loading from "@wayward/game/game/meta/Loading";
|
|
34
35
|
import type Prompts from "@wayward/game/game/meta/prompt/Prompts";
|
|
35
36
|
import type { MilestoneManager } from "@wayward/game/game/milestones/MilestoneManager";
|
|
@@ -74,33 +75,34 @@ export declare enum EventBus {
|
|
|
74
75
|
Loading = 17,
|
|
75
76
|
LocalIsland = 18,
|
|
76
77
|
LocalPlayer = 19,
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
78
|
+
Magic = 20,
|
|
79
|
+
MerchantNPCs = 21,
|
|
80
|
+
Milestones = 22,
|
|
81
|
+
Mods = 23,
|
|
82
|
+
Multiplayer = 24,
|
|
83
|
+
NPCManager = 25,
|
|
84
|
+
NPCs = 26,
|
|
85
|
+
PlayerManager = 27,
|
|
86
|
+
Players = 28,
|
|
87
|
+
Prompt = 29,
|
|
88
|
+
Renderer = 30,
|
|
89
|
+
SaveManager = 31,
|
|
90
|
+
ScreenManager = 32,
|
|
91
|
+
Steamworks = 33,
|
|
92
|
+
TileEventManager = 34,
|
|
93
|
+
TileEvents = 35,
|
|
94
|
+
Ui = 36,
|
|
95
|
+
UiActionBar = 37,
|
|
96
|
+
UiActionMenuHandler = 38,
|
|
97
|
+
UiGameScreen = 39,
|
|
98
|
+
UiHoveredTileTracker = 40,
|
|
99
|
+
UiInputManagerMouse = 41,
|
|
100
|
+
UiInteractionManager = 42,
|
|
101
|
+
UiItemComponentStatic = 43,
|
|
102
|
+
UiMovementHandler = 44,
|
|
103
|
+
UiPathingHandler = 45,
|
|
104
|
+
UsableActions = 46,
|
|
105
|
+
WorldRenderer = 47
|
|
104
106
|
}
|
|
105
107
|
declare const eventBuses: {
|
|
106
108
|
[EventBus.Actions](): ActionExecutor<any, any, any, any, any>;
|
|
@@ -123,6 +125,7 @@ declare const eventBuses: {
|
|
|
123
125
|
[EventBus.Loading](): Loading.Events;
|
|
124
126
|
[EventBus.LocalIsland](): Island;
|
|
125
127
|
[EventBus.LocalPlayer](): Player;
|
|
128
|
+
[EventBus.Magic](): MagicalPropertyManager;
|
|
126
129
|
[EventBus.MerchantNPCs](): MerchantNPC;
|
|
127
130
|
[EventBus.Milestones](): MilestoneManager;
|
|
128
131
|
[EventBus.Mods](): ModManager;
|
|
@@ -173,33 +176,34 @@ export declare const eventBusManager: EventBusManager<EventBus, {
|
|
|
173
176
|
17(): Loading.Events;
|
|
174
177
|
18(): Island;
|
|
175
178
|
19(): Player;
|
|
176
|
-
20():
|
|
177
|
-
21():
|
|
178
|
-
22():
|
|
179
|
-
23():
|
|
180
|
-
24():
|
|
181
|
-
25():
|
|
182
|
-
26():
|
|
183
|
-
27():
|
|
184
|
-
28():
|
|
185
|
-
29():
|
|
186
|
-
30():
|
|
187
|
-
31():
|
|
188
|
-
32():
|
|
189
|
-
33():
|
|
190
|
-
34():
|
|
191
|
-
35():
|
|
192
|
-
36():
|
|
193
|
-
37():
|
|
194
|
-
38():
|
|
195
|
-
39():
|
|
196
|
-
40():
|
|
197
|
-
41():
|
|
198
|
-
42():
|
|
199
|
-
43():
|
|
200
|
-
44():
|
|
201
|
-
45():
|
|
202
|
-
46():
|
|
179
|
+
20(): MagicalPropertyManager;
|
|
180
|
+
21(): MerchantNPC;
|
|
181
|
+
22(): MilestoneManager;
|
|
182
|
+
23(): ModManager;
|
|
183
|
+
24(): Multiplayer;
|
|
184
|
+
25(): NPCManager;
|
|
185
|
+
26(): NPC;
|
|
186
|
+
27(): PlayerManager;
|
|
187
|
+
28(): Player;
|
|
188
|
+
29(): Prompts.Events;
|
|
189
|
+
30(): Renderer;
|
|
190
|
+
31(): SaveManager;
|
|
191
|
+
32(): ScreenManager;
|
|
192
|
+
33(): Steamworks;
|
|
193
|
+
34(): TileEventManager;
|
|
194
|
+
35(): TileEvent;
|
|
195
|
+
36(): typeof ui;
|
|
196
|
+
37(): ActionBar;
|
|
197
|
+
38(): ActionMenuHandler;
|
|
198
|
+
39(): GameScreen;
|
|
199
|
+
40(): HoveredTileTracker;
|
|
200
|
+
41(): GlobalMouseInfo;
|
|
201
|
+
42(): InteractionManager;
|
|
202
|
+
43(): ItemComponentEventBus;
|
|
203
|
+
44(): MovementHandler;
|
|
204
|
+
45(): PathingHandler;
|
|
205
|
+
46(): UsableAction;
|
|
206
|
+
47(): WorldRenderer;
|
|
203
207
|
}>;
|
|
204
208
|
/**
|
|
205
209
|
* For backwards compat / ease of use
|
|
@@ -36,33 +36,34 @@ export declare const eventManager: EventManager<EventBus, {
|
|
|
36
36
|
17(): import("../game/meta/Loading").default.Events;
|
|
37
37
|
18(): import("../game/island/Island").default;
|
|
38
38
|
19(): import("../game/entity/player/Player").default;
|
|
39
|
-
20(): import("../game/
|
|
40
|
-
21(): import("../game/
|
|
41
|
-
22(): import("../
|
|
42
|
-
23(): import("../
|
|
43
|
-
24(): import("../
|
|
44
|
-
25(): import("../game/entity/npc/
|
|
45
|
-
26(): import("../game/entity/
|
|
46
|
-
27(): import("../game/entity/player/
|
|
47
|
-
28(): import("../game/
|
|
48
|
-
29(): import("../
|
|
49
|
-
30(): import("../
|
|
50
|
-
31(): import("../
|
|
51
|
-
32(): import("../
|
|
52
|
-
33(): import("../
|
|
53
|
-
34(): import("../game/tile/
|
|
54
|
-
35():
|
|
55
|
-
36():
|
|
56
|
-
37(): import("../ui/screen/screens/game/
|
|
57
|
-
38(): import("../ui/screen/screens/
|
|
58
|
-
39(): import("../ui/screen/screens/
|
|
59
|
-
40(): import("../ui/
|
|
60
|
-
41(): import("../ui/
|
|
61
|
-
42(): import("../ui/screen/screens/game/
|
|
62
|
-
43(): import("../ui/screen/screens/game/
|
|
63
|
-
44(): import("../ui/screen/screens/game/util/movement/
|
|
64
|
-
45(): import("../game/
|
|
65
|
-
46(): import("../
|
|
39
|
+
20(): import("../game/magic/MagicalPropertyManager").default;
|
|
40
|
+
21(): import("../game/entity/npc/npcs/Merchant").default;
|
|
41
|
+
22(): import("../game/milestones/MilestoneManager").MilestoneManager;
|
|
42
|
+
23(): import("../mod/ModManager").default;
|
|
43
|
+
24(): import("../multiplayer/Multiplayer").default;
|
|
44
|
+
25(): import("../game/entity/npc/NPCManager").default;
|
|
45
|
+
26(): import("../game/entity/npc/NPC").default;
|
|
46
|
+
27(): import("../game/entity/player/PlayerManager").default;
|
|
47
|
+
28(): import("../game/entity/player/Player").default;
|
|
48
|
+
29(): import("../game/meta/prompt/Prompts").default.Events;
|
|
49
|
+
30(): import("../renderer/Renderer").Renderer;
|
|
50
|
+
31(): import("../save/SaveManager").default;
|
|
51
|
+
32(): import("../ui/screen/ScreenManager").default;
|
|
52
|
+
33(): import("../steamworks/Steamworks").default;
|
|
53
|
+
34(): import("../game/tile/TileEventManager").default;
|
|
54
|
+
35(): import("../game/tile/TileEvent").default;
|
|
55
|
+
36(): typeof ui;
|
|
56
|
+
37(): import("../ui/screen/screens/game/static/ActionBar").default;
|
|
57
|
+
38(): import("../ui/screen/screens/game/util/movement/ActionMenuHandler").default;
|
|
58
|
+
39(): import("../ui/screen/screens/GameScreen").default;
|
|
59
|
+
40(): import("../ui/screen/screens/game/util/HoveredTileTracker").default;
|
|
60
|
+
41(): import("../ui/input/InputManager").GlobalMouseInfo;
|
|
61
|
+
42(): import("../ui/screen/screens/game/util/movement/InteractionManager").default;
|
|
62
|
+
43(): import("../ui/screen/screens/game/component/item/ItemComponentEventBus").default;
|
|
63
|
+
44(): import("../ui/screen/screens/game/util/movement/MovementHandler").default;
|
|
64
|
+
45(): import("../ui/screen/screens/game/util/movement/PathingHandler").default;
|
|
65
|
+
46(): import("../game/entity/action/usable/UsableAction").default;
|
|
66
|
+
47(): import("../renderer/world/WorldRenderer").WorldRenderer;
|
|
66
67
|
}>;
|
|
67
68
|
/**
|
|
68
69
|
* EventHandler that is typed with the games event buses
|
|
@@ -28,7 +28,7 @@ import { AutoSave } from "@wayward/game/game/meta/AutoSave";
|
|
|
28
28
|
import { SaveLoad } from "@wayward/game/game/meta/SaveLoad";
|
|
29
29
|
import type { Milestone } from "@wayward/game/game/milestones/IMilestone";
|
|
30
30
|
import { MilestoneManager } from "@wayward/game/game/milestones/MilestoneManager";
|
|
31
|
-
import type { IGameOptions } from "@wayward/game/game/options/IGameOptions";
|
|
31
|
+
import type { IGameOptions, IGameOptionsPartial } from "@wayward/game/game/options/IGameOptions";
|
|
32
32
|
import { GameMode } from "@wayward/game/game/options/IGameOptions";
|
|
33
33
|
import type { GameplayModifiersCollection } from "@wayward/game/game/options/modifiers/GameplayModifiersManager";
|
|
34
34
|
import type { ChallengeModifiersCollection } from "@wayward/game/game/options/modifiers/challenge/ChallengeModifiers";
|
|
@@ -177,6 +177,9 @@ export declare class Game extends EventEmitter.Host<IGameEvents> {
|
|
|
177
177
|
selectBiome(position: IVector2 | undefined, random: Random): BiomeTypes;
|
|
178
178
|
getGameMode(): GameMode;
|
|
179
179
|
getGameOptionsBeforeModifiers(): IGameOptions;
|
|
180
|
+
getCustomGameOptionsPartial(): IGameOptionsPartial;
|
|
181
|
+
/** A game options modifier that always returns an empty array by default, to be injected into */
|
|
182
|
+
getAdditionalGameOptionsSources(): IGameOptionsPartial[];
|
|
180
183
|
getGameOptions(): IGameOptions;
|
|
181
184
|
uncacheGameOptions(): void;
|
|
182
185
|
updateGameOptions(gameOptions: IGameOptions): void;
|
|
@@ -34,12 +34,6 @@ import type { IVector2, IVector3 } from "@wayward/game/utilities/math/IVector";
|
|
|
34
34
|
import type { IBuildId } from "@wayward/hosts/shared/globalTypes";
|
|
35
35
|
import type { IRange } from "@wayward/utilities/math/Range";
|
|
36
36
|
export interface IGameEvents {
|
|
37
|
-
/**
|
|
38
|
-
* Called when game options are first processed, after modifiers are applied.
|
|
39
|
-
*
|
|
40
|
-
* You can use this combined with `game.uncacheGameOptions()` to dynamically modify game options.
|
|
41
|
-
*/
|
|
42
|
-
getGameOptions(gameOptions: IGameOptions): IGameOptions;
|
|
43
37
|
/**
|
|
44
38
|
* Called when the game is starting
|
|
45
39
|
* @param isLoadingSave True if a save game was loaded
|
|
@@ -127,8 +121,9 @@ export declare enum TickFlag {
|
|
|
127
121
|
PlayerNotes = 1024,
|
|
128
122
|
Items = 2048,
|
|
129
123
|
Lights = 4096,
|
|
124
|
+
Curse = 8192,
|
|
130
125
|
IslandFastForward = 6174,
|
|
131
|
-
All =
|
|
126
|
+
All = 4294967295
|
|
132
127
|
}
|
|
133
128
|
/**
|
|
134
129
|
* This number * game.interval (16.666) is the tick time in milliseconds
|
|
@@ -9,8 +9,10 @@
|
|
|
9
9
|
* https://github.com/WaywardGame/types/wiki
|
|
10
10
|
*/
|
|
11
11
|
import type { ItemType } from "@wayward/game/game/item/IItem";
|
|
12
|
+
import type { TileEventType } from "@wayward/game/game/tile/ITileEvent";
|
|
12
13
|
export interface ILootItem {
|
|
13
|
-
|
|
14
|
+
itemType?: ItemType;
|
|
15
|
+
tileEventType?: TileEventType;
|
|
14
16
|
chance?: number;
|
|
15
17
|
chanceOutOf?: number;
|
|
16
18
|
difficulty?: number;
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://github.com/WaywardGame/types/wiki
|
|
10
10
|
*/
|
|
11
11
|
import type { BiomeType } from "@wayward/game/game/biome/IBiome";
|
|
12
|
-
import type { SkillType } from "
|
|
12
|
+
import type { SkillType } from "./entity/skill/ISkills";
|
|
13
13
|
import type { ItemType } from "@wayward/game/game/item/IItem";
|
|
14
14
|
import type { TerrainType } from "@wayward/game/game/tile/ITerrain";
|
|
15
15
|
import type { ISerializedTranslation } from "@wayward/game/language/ITranslation";
|
|
@@ -80,6 +80,7 @@ export declare enum Quality {
|
|
|
80
80
|
Relic = 6
|
|
81
81
|
}
|
|
82
82
|
export type QualityNatural = Exclude<Quality, Quality.Random | Quality.Mastercrafted>;
|
|
83
|
+
export type QualityReal = Exclude<Quality, Quality.Random>;
|
|
83
84
|
export interface IQualityEvents {
|
|
84
85
|
qualityChange(quality: Quality, oldQuality: Quality): any;
|
|
85
86
|
}
|
|
@@ -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 { IBiomeMapGen } from "@wayward/game/game/mapgen/IMapGen";
|
|
12
|
+
export declare const aridMapGen2150: IBiomeMapGen;
|
|
@@ -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 { IBiomeMapGen } from "@wayward/game/game/mapgen/IMapGen";
|
|
12
|
+
export declare const coastalMapGen2150: IBiomeMapGen;
|
|
@@ -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 { IBiomeMapGen } from "@wayward/game/game/mapgen/IMapGen";
|
|
12
|
+
export declare const iceCapMapGen2150: IBiomeMapGen;
|
|
@@ -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 { IBiomeMapGen } from "@wayward/game/game/mapgen/IMapGen";
|
|
12
|
+
export declare const volcanicMapGen2150: IBiomeMapGen;
|
|
@@ -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 { IBiomeMapGen } from "@wayward/game/game/mapgen/IMapGen";
|
|
12
|
+
export declare const wetlandsMapGen2150: IBiomeMapGen;
|
|
@@ -0,0 +1,164 @@
|
|
|
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 { CurseEvent, CurseEventContext } from "@wayward/game/game/curse/CurseEvent";
|
|
12
|
+
import { CurseEventSubscriber } from "@wayward/game/game/curse/CurseEvent";
|
|
13
|
+
import { CurseCategory, CurseComponent, CurseEventDisplayMode, CurseEventType } from "@wayward/game/game/curse/ICurse";
|
|
14
|
+
import type Human from "@wayward/game/game/entity/Human";
|
|
15
|
+
import { SkillType } from "@wayward/game/game/entity/skill/ISkills";
|
|
16
|
+
import type Island from "@wayward/game/game/island/Island";
|
|
17
|
+
import type { IVector2 } from "@wayward/game/utilities/math/IVector";
|
|
18
|
+
import { IRange, IRangeRange } from "@wayward/utilities/math/Range";
|
|
19
|
+
import type { WeightedOption } from "@wayward/utilities/random/IRandom";
|
|
20
|
+
import DataComponent from "@wayward/game/game/entity/data/DataComponent";
|
|
21
|
+
export declare const CURSE_CAP = 10000;
|
|
22
|
+
export declare const CURSE_COMPONENT_ATTACK_CAP = 50;
|
|
23
|
+
export declare const CURSE_COMPONENT_ATTACK_FLOOR = 1;
|
|
24
|
+
export declare const CURSE_COMPONENT_DEFENSE_CAP = 100;
|
|
25
|
+
export declare const CURSE_COMPONENT_DEFENSE_FLOOR = 2;
|
|
26
|
+
export declare const CURSE_COMPONENT_CRAFTING_CAP = 3000;
|
|
27
|
+
export declare const CURSE_COMPONENT_CRAFTING_MIN_EFFECT = 0.3;
|
|
28
|
+
export declare const CURSE_COMPONENT_KILLING_CAP = 500;
|
|
29
|
+
export declare const CURSE_COMPONENT_SKILL_CAP = 100;
|
|
30
|
+
export declare const CURSE_COMPONENT_SLEEPLESSNESS_CAP_DAYS = 3;
|
|
31
|
+
interface CurseComponentDefinition {
|
|
32
|
+
readonly maxCurseContribution: number | null;
|
|
33
|
+
compute(human: Human): number;
|
|
34
|
+
}
|
|
35
|
+
export declare const CURSE_COMPONENTS: Record<CurseComponent, CurseComponentDefinition>;
|
|
36
|
+
export declare const CumulativeEvilCrafting: DataComponent<number, number>;
|
|
37
|
+
export declare const CumulativeKilling: DataComponent<number, number>;
|
|
38
|
+
export declare const Sleeplessness: DataComponent<number, number>;
|
|
39
|
+
export declare const HighestAttack: DataComponent.Live<number>;
|
|
40
|
+
export declare const HighestDefense: DataComponent.Live<number>;
|
|
41
|
+
export interface Obliviousness {
|
|
42
|
+
days: number;
|
|
43
|
+
thisNightInvalidated: boolean;
|
|
44
|
+
}
|
|
45
|
+
export declare const Obliviousness: DataComponent<Obliviousness, Obliviousness>;
|
|
46
|
+
/**
|
|
47
|
+
* Gets the highest value of either current or max skill multiplied by the "evilness" of each skill (from rune chance)
|
|
48
|
+
* (Basically, high values in any of the evil-er skills make curse go brrrr)
|
|
49
|
+
*/
|
|
50
|
+
declare function getSkillValue(human: Human): {
|
|
51
|
+
value: number;
|
|
52
|
+
skill: SkillType;
|
|
53
|
+
};
|
|
54
|
+
declare namespace Curse {
|
|
55
|
+
const getSkill: typeof getSkillValue;
|
|
56
|
+
function getComponentValue(human: Human, component: CurseComponent): number;
|
|
57
|
+
function getComponentCap(component: CurseComponent): number | null;
|
|
58
|
+
function getValue(human: Human): number;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* In the following graph, this value is `b`:
|
|
62
|
+
* https://www.desmos.com/calculator/sgdtqdqzup
|
|
63
|
+
*/
|
|
64
|
+
export declare const CURSE_EVENTS_MAX = 5;
|
|
65
|
+
/**
|
|
66
|
+
* In the following graph, this value is `a`:
|
|
67
|
+
* https://www.desmos.com/calculator/sgdtqdqzup
|
|
68
|
+
*/
|
|
69
|
+
export declare const CURSE_EVENTS_MAELSTROM_SPEED = 1;
|
|
70
|
+
/**
|
|
71
|
+
* The chance that a curse event will occur, given the opportunity.
|
|
72
|
+
* The chance scales up from the minimum (left) value at 0% curse, to the maximum (right) value at 100% curse.
|
|
73
|
+
*
|
|
74
|
+
* There can be up to CURSE_EVENTS_MAX opportunities per night, based on maelstrom level.
|
|
75
|
+
* At 0-1 maelstrom, there are up to 2 opportunities per night. (Per player, because curse events are localised.)
|
|
76
|
+
* Additional opportunities before the top opportunity always use the max chance.
|
|
77
|
+
*/
|
|
78
|
+
export declare const CURSE_EVENTS_CHANCE: IRange<number>;
|
|
79
|
+
export declare const CURSE_EVENTS_DEFAULT_RADIUS = 25;
|
|
80
|
+
/**
|
|
81
|
+
* An IRangeRange for randomly selecting the cooldown time between curse event nights.
|
|
82
|
+
* Interpolates between the minimum and maximum ranges based on the player's curse.
|
|
83
|
+
*/
|
|
84
|
+
export declare const CURSE_EVENTS_COOLDOWN_RANGE: IRangeRange;
|
|
85
|
+
export declare const CURSE_EVENTS_FIRST_NIGHT = 3;
|
|
86
|
+
/**
|
|
87
|
+
* Each tick after a curse event ends, one entity of each type spawned by the event has this chance to despawn.
|
|
88
|
+
* If the entity is on a tile that can be seen by a player, it will not despawn.
|
|
89
|
+
*/
|
|
90
|
+
export declare const CURSE_EVENTS_ENTITY_DESPAWN_CHANCE = 0.1;
|
|
91
|
+
/**
|
|
92
|
+
* Some curse events extinguish light sources via additional decay (both static & dynamic (based on % of decay remaining))
|
|
93
|
+
* This multiplier affects how quickly curse ward doodads & items are extinguished compared to the rest
|
|
94
|
+
*/
|
|
95
|
+
export declare const CURSE_EVENTS_EXTINGUISH_WARD_MULTIPLIER = 0.2;
|
|
96
|
+
export declare const CURSE_EVENTS_RUNE_CHANCE_MULTIPLIER_UNLUCKY: IRange<number>;
|
|
97
|
+
export declare const CURSE_EVENTS_RUNE_CHANCE_MULTIPLIER_LUCKY: IRange<number>;
|
|
98
|
+
/**
|
|
99
|
+
* additional runes granted to the player on kills/tames using intInRange.
|
|
100
|
+
* the amounts in the ranges are scaled by curse %
|
|
101
|
+
*/
|
|
102
|
+
export declare const CURSE_EVENTS_RUNES_KILL_TAME: Array<WeightedOption<IRange>>;
|
|
103
|
+
export declare const CURSE_EVENTS_RUNES_SURVIVED: IRange<number>;
|
|
104
|
+
declare namespace Curse {
|
|
105
|
+
interface Helper {
|
|
106
|
+
context: CurseEventContext;
|
|
107
|
+
instance: CurseEventInstance;
|
|
108
|
+
definition: CurseEvent;
|
|
109
|
+
}
|
|
110
|
+
function get(island?: Island, type?: CurseEventType): Helper | undefined;
|
|
111
|
+
function all(island: Island): CurseEventContext[];
|
|
112
|
+
function isMysteryForClient(event: CurseEventInstance): boolean;
|
|
113
|
+
function isMysteryForHuman(event: CurseEventInstance, human: Human): boolean;
|
|
114
|
+
function willHaveEventsTonight(island: Island): boolean;
|
|
115
|
+
function canWarnAboutIncomingEvents(island: Island): boolean;
|
|
116
|
+
function getCooldownMultiplier(island: Island, humans?: Human<unknown, number, import("../reference/IReferenceManager").ReferenceType.NPC | import("../reference/IReferenceManager").ReferenceType.Player, unknown>[]): number;
|
|
117
|
+
function clearCooldown(island: Island): void;
|
|
118
|
+
function resetCooldown(island: Island): void;
|
|
119
|
+
function tickCurse(island: Island, humans: Human[]): void;
|
|
120
|
+
function reload(island: Island, isNew?: boolean): void;
|
|
121
|
+
function spawnCurseEvents(island: Island, humans: Human[]): void;
|
|
122
|
+
function attemptCurseEventSpawn(category: CurseCategory, human: Human, curse: number, humans: Human[], events: CurseEventInstance[]): CurseEventInstance | undefined;
|
|
123
|
+
function attemptSpecificCurseEventSpawn(human: Human, type: CurseEventType, humans: Human[], curse?: number, force?: boolean | "full"): CurseEventInstance | undefined;
|
|
124
|
+
function attemptSpecificCurseEventSpawnOnPlayer(player: Human, curseType: CurseEventType, force: boolean | "full"): CurseEventInstance | undefined;
|
|
125
|
+
function unload(island: Island): void;
|
|
126
|
+
function cleanup(island: Island, humans?: Human[], isMorning?: boolean): void;
|
|
127
|
+
function cleanupEphemerals(island: Island): void;
|
|
128
|
+
function createCurseEventContext(instance: CurseEventInstance, island: Island): CurseEventContext;
|
|
129
|
+
}
|
|
130
|
+
declare const SYMBOL_CURSE_EVENT_SUBSCRIBER_INSTANCES: unique symbol;
|
|
131
|
+
declare const SYMBOL_CURSE_EVENT_GLOBAL_SUBSCRIBER_INSTANCE: unique symbol;
|
|
132
|
+
declare const SYMBOL_CURSE_EVENT_ACTIVE_SUBSCRIBER_INSTANCE: unique symbol;
|
|
133
|
+
interface Curse {
|
|
134
|
+
night?: true;
|
|
135
|
+
globalCurse?: number;
|
|
136
|
+
events?: CurseEventInstance[];
|
|
137
|
+
cooldown?: number;
|
|
138
|
+
warned?: true;
|
|
139
|
+
ephemeralCreatures?: number[];
|
|
140
|
+
[SYMBOL_CURSE_EVENT_GLOBAL_SUBSCRIBER_INSTANCE]?: CurseEventSubscriber;
|
|
141
|
+
[SYMBOL_CURSE_EVENT_ACTIVE_SUBSCRIBER_INSTANCE]?: CurseEventSubscriber;
|
|
142
|
+
}
|
|
143
|
+
export interface CurseEventInstance {
|
|
144
|
+
type: CurseEventType;
|
|
145
|
+
defaultDisplay: CurseEventDisplayMode;
|
|
146
|
+
display: Record<string, CurseEventDisplayMode>;
|
|
147
|
+
cursebearerIdentifier: string;
|
|
148
|
+
curse: number;
|
|
149
|
+
point: IVector2;
|
|
150
|
+
creatures?: number[];
|
|
151
|
+
savedData?: Record<string, any>;
|
|
152
|
+
subscribers?: string[];
|
|
153
|
+
scriptProcesses?: ScriptProcessState[];
|
|
154
|
+
[SYMBOL_CURSE_EVENT_SUBSCRIBER_INSTANCES]?: Record<string, CurseEventSubscriber>;
|
|
155
|
+
}
|
|
156
|
+
interface ScriptProcessState {
|
|
157
|
+
/** The path of keys/indices from the root of the script to the step this process is currently on. */
|
|
158
|
+
path: Array<string | number>;
|
|
159
|
+
/** Iterations remaining for a Repeat block, or ticks remaining for an EndCondition. */
|
|
160
|
+
iterationsRemaining?: number;
|
|
161
|
+
/** The state of any child processes started by a Simultaneously or Repeat block. */
|
|
162
|
+
childProcesses?: ScriptProcessState[];
|
|
163
|
+
}
|
|
164
|
+
export default Curse;
|