From f761df957d0c49e0b2e91f6b257aee3ac6b4e513 Mon Sep 17 00:00:00 2001 From: crazywh1t3 <32772327+crazywh1t3@users.noreply.github.com> Date: Mon, 16 Feb 2026 01:44:21 +0200 Subject: [PATCH] updates to states and object ids --- pkg/data/object/ids.go | 1166 +++++++++++++++++++------------------- pkg/data/state/states.go | 418 ++++++++------ 2 files changed, 818 insertions(+), 766 deletions(-) diff --git a/pkg/data/object/ids.go b/pkg/data/object/ids.go index 11351ec..99cad31 100644 --- a/pkg/data/object/ids.go +++ b/pkg/data/object/ids.go @@ -7,582 +7,592 @@ func (n Name) Desc() Description { } const ( - NotApplicable Name = iota - 1 - TestData1 - Casket5 - Shrine - Casket6 - LargeUrn1 - LargeChestRight - LargeChestLeft - Barrel - TowerTome - Urn2 - Bench - BarrelExploding - RogueFountain - DoorGateLeft - DoorGateRight - DoorWoodenLeft - DoorWoodenRight - CairnStoneAlpha - CairnStoneBeta - CairnStoneGamma - CairnStoneDelta - CairnStoneLambda - CairnStoneTheta - DoorCourtyardLeft - DoorCourtyardRight - DoorCathedralDouble - CainGibbet - DoorMonasteryDoubleRight - HoleAnim - Brazier - InifussTree - Fountain - Crucifix - Candles1 - Candles2 - Standard1 - Standard2 - Torch1Tiki - Torch2Wall - RogueBonfire - River1 - River2 - River3 - River4 - River5 - AmbientSoundGenerator - Crate - AndarielDoor - RogueTorch1 - RogueTorch2 - CasketR - CasketL - Urn3 - Casket - RogueCorpse1 - RogueCorpse2 - RogueCorpseRolling - CorpseOnStick1 - CorpseOnStick2 - TownPortal - PermanentTownPortal - InvisibleObject - DoorCathedralLeft - DoorCathedralRight - DoorWoodenLeft2 - InvisibleRiverSound1 - InvisibleRiverSound2 - Ripple1 - Ripple2 - Ripple3 - Ripple4 - ForestNightSound1 - ForestNightSound2 - YetiDung - TrappDoor - DoorByAct2Dock - SewerDrip - HealthOrama - InvisibleTownSound - Casket3 - Obelisk - ForestAltar - BubblingPoolOfBlood - HornShrine - HealingWell - BullHealthShrine - SteleDesertMagicShrine - TombLargeChestL - TombLargeChestR - Sarcophagus - DesertObelisk - TombDoorLeft - TombDoorRight - InnerHellManaShrine - LargeUrn4 - LargeUrn5 - InnerHellHealthShrine - InnerHellShrine - TombDoorLeft2 - TombDoorRight2 - DurielsLairPortal - Brazier3 - FloorBrazier - Flies - ArmorStandRight - ArmorStandLeft - WeaponRackRight - WeaponRackLeft - Malus - PalaceHealthShrine - Drinker - Fountain1 - Gesturer - DesertFountain - Turner - Fountain3 - SnakeWomanShrine - JungleTorch - Fountain4 - WaypointPortal - DungeonHealthShrine - JerhynPlaceHolder1 - JerhynPlaceHolder2 - InnerHellShrine2 - InnerHellShrine3 - InnerHellHiddenStash - InnerHellSkullPile - InnerHellHiddenStash2 - InnerHellHiddenStash3 - SecretDoor1 - Act1WildernessWell - VileDogAfterglow - CathedralWell - ArcaneSanctuaryShrine - DesertShrine2 - DesertShrine3 - DesertShrine1 - DesertWell - CaveWell - Act1LargeChestRight - Act1TallChestRight - Act1MediumChestRight - DesertJug1 - DesertJug2 - Act1LargeChest1 - InnerHellWaypoint - Act2MediumChestRight - Act2LargeChestRight - Act2LargeChestLeft - TaintedSunAltar - DesertShrine5 - DesertShrine4 - HoradricOrifice - TyraelsDoor - GuardCorpse - HiddenStashRock - Act2Waypoint - Act1WildernessWaypoint - SkeletonCorpseIsAnOxymoron - HiddenStashRockB - SmallFire - MediumFire - LargeFire - Act1CliffHidingSpot - ManaWell1 - ManaWell2 - ManaWell3 - ManaWell4 - ManaWell5 - HollowLog - JungleHealWell - SkeletonCorpseIsStillAnOxymoron - DesertHealthShrine - ManaWell7 - LooseRock - LooseBoulder - MediumChestLeft - LargeChestLeft2 - GuardCorpseOnAStick - Bookshelf1 - Bookshelf2 - JungleChest - TombCoffin - JungleMediumChestLeft - JungleShrine2 - JungleStashObject1 - JungleStashObject2 - JungleStashObject3 - JungleStashObject4 - DummyCainPortal - JungleShrine3 - JungleShrine4 - TeleportationPad1 - LamEsensTome - StairsL - StairsR - FloorTrap - JungleShrine5 - TallChestLeft - MephistoShrine1 - MephistoShrine2 - MephistoShrine3 - MephistoManaShrine - MephistoLair - StashBox - StashAltar - MafistoHealthShrine - Act3WaterRocks - Basket1 - Basket2 - Act3WaterLogs - Act3WaterRocksGirl - Act3WaterBubbles - Act3WaterLogsX - Act3WaterRocksB - Act3WaterRocksGirlC - Act3WaterRocksY - Act3WaterLogsZ - WebCoveredTree1 - WebCoveredTree2 - WebCoveredTree3 - WebCoveredTree4 - Pillar - Cocoon - Cocoon2 - SkullPileH1 - OuterHellShrine - Act3WaterRocksGirlW - Act3BigLog - SlimeDoor1 - SlimeDoor2 - OuterHellShrine2 - OuterHellShrine3 - PillarH2 - Act3BigLogC - Act3BigLogD - HellHealthShrine - Act3TownWaypoint - WaypointH - BurningBodyTown - Gchest1L - Gchest2R - Gchest3R - GLchest3L - SewersRatNest - BurningBodyTown2 - SewersRatNest2 - Act1BedBed1 - Act1BedBed2 - HellManaShrine - ExplodingCow - GidbinnAltar - GidbinnAltarDecoy - DiabloRightLight - DiabloLeftLight - DiabloStartPoint - Act1CabinStool - Act1CabinWood - Act1CabinWood2 - HellSkeletonSpawnNW - Act1HolyShrine - TombsFloorTrapSpikes - Act1CathedralShrine - Act1JailShrine1 - Act1JailShrine2 - Act1JailShrine3 - MaggotLairGooPile - Bank - WirtCorpse - GoldPlaceHolder - GuardCorpse2 - DeadVillager1 - DeadVillager2 - DummyFlameNoDamage - TinyPixelShapedThingie - CavesHealthShrine - CavesManaShrine - CaveMagicShrine - Act3DungeonManaShrine - Act3SewersMagicShrine1 - Act3SewersHealthWell - Act3SewersManaWell - Act3SewersMagicShrine2 - Act2BrazierCeller - Act2TombAnubisCoffin - Act2Brazier - Act2BrazierTall - Act2BrazierSmall - Act2CellerWaypoint - HarumBedBed - IronGrateDoorLeft - IronGrateDoorRight - WoodenGrateDoorLeft - WoodenGrateDoorRight - WoodenDoorLeft - WoodenDoorRight - TombsWallTorchLeft - TombsWallTorchRight - ArcaneSanctuaryPortal - Act2HaramMagicShrine1 - Act2HaramMagicShrine2 - MaggotHealthWell - MaggotManaWell - ArcaneSanctuaryMagicShrine - TeleportationPad2 - TeleportationPad3 - TeleportationPad4 - DummyArcaneThing1 - DummyArcaneThing2 - DummyArcaneThing3 - DummyArcaneThing4 - DummyArcaneThing5 - DummyArcaneThing6 - DummyArcaneThing7 - HaremDeadGuard1 - HaremDeadGuard2 - HaremDeadGuard3 - HaremDeadGuard4 - HaremEunuchBlocker - ArcaneHealthWell - ArcaneManaWell - TestData2 - Act2TombWell - Act2SewerWaypoint - Act3TravincalWaypoint - Act3SewerMagicShrine - Act3SewerDeadBody - Act3SewerTorch - Act3KurastTorch - MafistoLargeChestLeft - MafistoLargeChestRight - MafistoMediumChestLeft - MafistoMediumChestRight - SpiderLairLargeChestLeft - SpiderLairTallChestLeft - SpiderLairMediumChestRight - SpiderLairTallChestRight - SteegStone - GuildVault - TrophyCase - MessageBoard - MephistoBridge - HellGate - Act3KurastManaWell - Act3KurastHealthWell - HellFire1 - HellFire2 - HellFire3 - HellLava1 - HellLava2 - HellLava3 - HellLightSource1 - HellLightSource2 - HellLightSource3 - HoradricCubeChest - HoradricScrollChest - StaffOfKingsChest - YetAnotherTome - HellBrazier1 - HellBrazier2 - DungeonRockPile - Act3DungeonMagicShrine - Act3DungeonBasket - OuterHellHungSkeleton - GuyForDungeon - Act3DungeonCasket - Act3SewerStairs - Act3SewerStairsToLevel3 - DarkWandererStartPosition - TrappedSoulPlaceHolder - Act3TownTorch - LargeChestR - InnerHellBoneChest - HellSkeletonSpawnNE - Act3WaterFog - DummyNotUsed - HellForge - GuildPortal - HratliStartPosition - HratliEndPosition - BurningTrappedSoul1 - BurningTrappedSoul2 - NatalyaStartPosition - StuckedTrappedSoul1 - StuckedTrappedSoul2 - CainStartPosition - StairSR - ArcaneLargeChestLeft - ArcaneCasket - ArcaneLargeChestRight - ArcaneSmallChestLeft - ArcaneSmallChestRight - DiabloSeal1 - DiabloSeal2 - DiabloSeal3 - DiabloSeal4 - DiabloSeal5 - SparklyChest - PandamoniumFortressWaypoint - InnerHellFissure - HellMesaBrazier - Smoke - ValleyWaypoint - HellBrazier3 - CompellingOrb - KhalimChest1 - KhalimChest2 - KhalimChest3 - SiegeMachineControl - PotOTorch - PyoxFirePit - dummy411 - dummy412 - ExpansionChestRight - ExpansionWildernessShrine1 - ExpansionWildernessShrine2 - ExpansionHiddenStash - ExpansionWildernessFlag - ExpansionWildernessBarrel - ExpansionSiegeBarrel - ExpansionWoodChestLeft - ExpansionWildernessShrine3 - ExpansionManaShrine - ExpansionHealthShrine - BurialChestLeft - BurialChestRight - ExpansionWell - ExpansionWildernessShrine4 - ExpansionWildernessShrine5 - ExpansionWaypoint - ExpansionChestLeft - ExpansionWoodChestRight - ExpansionSmallChestLeft - ExpansionSmallChestRight - ExpansionTorch1 - ExpansionCampFire - ExpansionTownTorch - ExpansionTorch2 - ExpansionBurningBodies - ExpansionBurningPit - ExpansionTribalFlag - ExpansionTownFlag - ExpansionChandelier - ExpansionJar1 - ExpansionJar2 - ExpansionJar3 - ExpansionSwingingHeads - ExpansionWildernessPole - AnimatedSkullAndRockPile - ExpansionTownGate - SkullAndRockPile - SiegeHellGate - EnemyCampBanner1 - EnemyCampBanner2 - ExpansionExplodingChest - ExpansionSpecialChest - ExpansionDeathPole - ExpansionDeathPoleLeft - TempleAltar - DrehyaTownStartPosition - DrehyaWildernessStartPosition - NihlathakTownStartPosition - NihlathakWildernessStartPositionName - IceCaveHiddenStash - IceCaveHealthShrine - IceCaveManaShrine - IceCaveEvilUrn - IceCaveJar1 - IceCaveJar2 - IceCaveJar3 - IceCaveJar4 - IceCaveJar5 - IceCaveMagicShrine - CagedWussie - AncientStatue3 - AncientStatue1 - AncientStatue2 - DeadBarbarian - ClientSmoke - IceCaveMagicShrine2 - IceCaveTorch1 - IceCaveTorch2 - ExpansionTikiTorch - WorldstoneManaShrine - WorldstoneHealthShrine - WorldstoneTomb1 - WorldstoneTomb2 - WorldstoneTomb3 - WorldstoneMagicShrine - WorldstoneTorch1 - WorldstoneTorch2 - ExpansionSnowyManaShrine1 - ExpansionSnowyHealthShrine - ExpansionSnowyWell - WorldstoneWaypoint - ExpansionSnowyMagicShrine2 - ExpansionWildernessWaypoint - ExpansionSnowyMagicShrine3 - WorldstoneWell - WorldstoneMagicShrine2 - ExpansionSnowyObject1 - ExpansionSnowyWoodChestLeft - ExpansionSnowyWoodChestRight - WorldstoneMagicShrine3 - ExpansionSnowyWoodChest2Left - ExpansionSnowyWoodChest2Right - SnowySwingingHeads - SnowyDebris - PenBreakableDoor - ExpansionTempleMagicShrine1 - ExpansionSnowyPoleMR - IceCaveWaypoint - ExpansionTempleMagicShrine2 - ExpansionTempleWell - ExpansionTempleTorch1 - ExpansionTempleTorch2 - ExpansionTempleObject1 - ExpansionTempleObject2 - WorldstoneMrBox - IceCaveWell - ExpansionTempleMagicShrine - ExpansionTempleHealthShrine - ExpansionTempleManaShrine - BlacksmithForge - WorldstoneTomb1Left - WorldstoneTomb2Left - WorldstoneTomb3Left - IceCaveBubblesU - IceCaveBubblesS - RedBaalsLairTomb1 - RedBaalsLairTomb1Left - RedBaalsLairTomb2 - RedBaalsLairTomb2Left - RedBaalsLairTomb3 - RedBaalsLairTomb3Left - RedBaalsLairMrBox - RedBaalsLairTorch1 - RedBaalsLairTorch2 - CandlesTemple - TempleWaypoint - ExpansionDeadPerson1 - TempleGroundTomb - LarzukGreeting - LarzukStandard - TempleGroundTombLeft - ExpansionDeadPerson2 - AncientsAltar - ArreatSummitDoorToWorldstone - ExpansionWeaponRackRight - ExpansionWeaponRackLeft - ExpansionArmorStandRight - ExpansionArmorStandLeft - ArreatsSummitTorch2 - ExpansionFuneralSpire - ExpansionBurningLogs - IceCaveSteam - ExpansionDeadPerson3 - BaalsLair - FrozenAnya - BBQBunny - BaalTorchBig - InvisibleAncient - InvisibleBase - BaalsPortal - ArreatSummitDoor - LastPortal - LastLastPortal - ZooTestData - KeeperTestData - BaalsPortal2 - FirePlaceGuy - DoorBlocker1 - DoorBlocker2 - - // Added manually - GoodChest Name = 580 - NotSoGoodChestName = 581 + NotApplicable Name = -1 + TestData1 Name = 0 + Casket5 Name = 1 + Shrine Name = 2 + Casket6 Name = 3 + LargeUrn1 Name = 4 + LargeChestRight Name = 5 + LargeChestLeft Name = 6 + Barrel Name = 7 + TowerTome Name = 8 + Urn2 Name = 9 + Bench Name = 10 + BarrelExploding Name = 11 + RogueFountain Name = 12 + DoorGateLeft Name = 13 + DoorGateRight Name = 14 + DoorWoodenLeft Name = 15 + DoorWoodenRight Name = 16 + CairnStoneAlpha Name = 17 + CairnStoneBeta Name = 18 + CairnStoneGamma Name = 19 + CairnStoneDelta Name = 20 + CairnStoneLambda Name = 21 + CairnStoneTheta Name = 22 + DoorCourtyardLeft Name = 23 + DoorCourtyardRight Name = 24 + DoorCathedralDouble Name = 25 + CainGibbet Name = 26 + DoorMonasteryDoubleRight Name = 27 + HoleAnim Name = 28 + Brazier Name = 29 + InifussTree Name = 30 + Fountain Name = 31 + Crucifix Name = 32 + Candles1 Name = 33 + Candles2 Name = 34 + Standard1 Name = 35 + Standard2 Name = 36 + Torch1Tiki Name = 37 + Torch2Wall Name = 38 + RogueBonfire Name = 39 + River1 Name = 40 + River2 Name = 41 + River3 Name = 42 + River4 Name = 43 + River5 Name = 44 + AmbientSoundGenerator Name = 45 + Crate Name = 46 + AndarielDoor Name = 47 + RogueTorch1 Name = 48 + RogueTorch2 Name = 49 + CasketR Name = 50 + CasketL Name = 51 + Urn3 Name = 52 + Casket Name = 53 + RogueCorpse1 Name = 54 + RogueCorpse2 Name = 55 + RogueCorpseRolling Name = 56 + CorpseOnStick1 Name = 57 + CorpseOnStick2 Name = 58 + TownPortal Name = 59 + PermanentTownPortal Name = 60 + InvisibleObject Name = 61 + DoorCathedralLeft Name = 62 + DoorCathedralRight Name = 63 + DoorWoodenLeft2 Name = 64 + InvisibleRiverSound1 Name = 65 + InvisibleRiverSound2 Name = 66 + Ripple1 Name = 67 + Ripple2 Name = 68 + Ripple3 Name = 69 + Ripple4 Name = 70 + ForestNightSound1 Name = 71 + ForestNightSound2 Name = 72 + YetiDung Name = 73 + TrappDoor Name = 74 + DoorByAct2Dock Name = 75 + SewerDrip Name = 76 + HealthOrama Name = 77 + InvisibleTownSound Name = 78 + Casket3 Name = 79 + Obelisk Name = 80 + ForestAltar Name = 81 + BubblingPoolOfBlood Name = 82 + HornShrine Name = 83 + HealingWell Name = 84 + BullHealthShrine Name = 85 + SteleDesertMagicShrine Name = 86 + TombLargeChestL Name = 87 + TombLargeChestR Name = 88 + Sarcophagus Name = 89 + DesertObelisk Name = 90 + TombDoorLeft Name = 91 + TombDoorRight Name = 92 + InnerHellManaShrine Name = 93 + LargeUrn4 Name = 94 + LargeUrn5 Name = 95 + InnerHellHealthShrine Name = 96 + InnerHellShrine Name = 97 + TombDoorLeft2 Name = 98 + TombDoorRight2 Name = 99 + DurielsLairPortal Name = 100 + Brazier3 Name = 101 + FloorBrazier Name = 102 + Flies Name = 103 + ArmorStandRight Name = 104 + ArmorStandLeft Name = 105 + WeaponRackRight Name = 106 + WeaponRackLeft Name = 107 + Malus Name = 108 + PalaceHealthShrine Name = 109 + Drinker Name = 110 + Fountain1 Name = 111 + Gesturer Name = 112 + DesertFountain Name = 113 + Turner Name = 114 + Fountain3 Name = 115 + SnakeWomanShrine Name = 116 + JungleTorch Name = 117 + Fountain4 Name = 118 + WaypointPortal Name = 119 + DungeonHealthShrine Name = 120 + JerhynPlaceHolder1 Name = 121 + JerhynPlaceHolder2 Name = 122 + InnerHellShrine2 Name = 123 + InnerHellShrine3 Name = 124 + InnerHellHiddenStash Name = 125 + InnerHellSkullPile Name = 126 + InnerHellHiddenStash2 Name = 127 + InnerHellHiddenStash3 Name = 128 + SecretDoor1 Name = 129 + Act1WildernessWell Name = 130 + VileDogAfterglow Name = 131 + CathedralWell Name = 132 + ArcaneSanctuaryShrine Name = 133 + DesertShrine2 Name = 134 + DesertShrine3 Name = 135 + DesertShrine1 Name = 136 + DesertWell Name = 137 + CaveWell Name = 138 + Act1LargeChestRight Name = 139 + Act1TallChestRight Name = 140 + Act1MediumChestRight Name = 141 + DesertJug1 Name = 142 + DesertJug2 Name = 143 + Act1LargeChest1 Name = 144 + InnerHellWaypoint Name = 145 + Act2MediumChestRight Name = 146 + Act2LargeChestRight Name = 147 + Act2LargeChestLeft Name = 148 + TaintedSunAltar Name = 149 + DesertShrine5 Name = 150 + DesertShrine4 Name = 151 + HoradricOrifice Name = 152 + TyraelsDoor Name = 153 + GuardCorpse Name = 154 + HiddenStashRock Name = 155 + Act2Waypoint Name = 156 + Act1WildernessWaypoint Name = 157 + SkeletonCorpseIsAnOxymoron Name = 158 + HiddenStashRockB Name = 159 + SmallFire Name = 160 + MediumFire Name = 161 + LargeFire Name = 162 + Act1CliffHidingSpot Name = 163 + ManaWell1 Name = 164 + ManaWell2 Name = 165 + ManaWell3 Name = 166 + ManaWell4 Name = 167 + ManaWell5 Name = 168 + HollowLog Name = 169 + JungleHealWell Name = 170 + SkeletonCorpseIsStillAnOxymoron Name = 171 + DesertHealthShrine Name = 172 + ManaWell7 Name = 173 + LooseRock Name = 174 + LooseBoulder Name = 175 + MediumChestLeft Name = 176 + LargeChestLeft2 Name = 177 + GuardCorpseOnAStick Name = 178 + Bookshelf1 Name = 179 + Bookshelf2 Name = 180 + JungleChest Name = 181 + TombCoffin Name = 182 + JungleMediumChestLeft Name = 183 + JungleShrine2 Name = 184 + JungleStashObject1 Name = 185 + JungleStashObject2 Name = 186 + JungleStashObject3 Name = 187 + JungleStashObject4 Name = 188 + DummyCainPortal Name = 189 + JungleShrine3 Name = 190 + JungleShrine4 Name = 191 + TeleportationPad1 Name = 192 + LamEsensTome Name = 193 + StairsL Name = 194 + StairsR Name = 195 + FloorTrap Name = 196 + JungleShrine5 Name = 197 + TallChestLeft Name = 198 + MephistoShrine1 Name = 199 + MephistoShrine2 Name = 200 + MephistoShrine3 Name = 201 + MephistoManaShrine Name = 202 + MephistoLair Name = 203 + StashBox Name = 204 + StashAltar Name = 205 + MafistoHealthShrine Name = 206 + Act3WaterRocks Name = 207 + Basket1 Name = 208 + Basket2 Name = 209 + Act3WaterLogs Name = 210 + Act3WaterRocksGirl Name = 211 + Act3WaterBubbles Name = 212 + Act3WaterLogsX Name = 213 + Act3WaterRocksB Name = 214 + Act3WaterRocksGirlC Name = 215 + Act3WaterRocksY Name = 216 + Act3WaterLogsZ Name = 217 + WebCoveredTree1 Name = 218 + WebCoveredTree2 Name = 219 + WebCoveredTree3 Name = 220 + WebCoveredTree4 Name = 221 + Pillar Name = 222 + Cocoon Name = 223 + Cocoon2 Name = 224 + SkullPileH1 Name = 225 + OuterHellShrine Name = 226 + Act3WaterRocksGirlW Name = 227 + Act3BigLog Name = 228 + SlimeDoor1 Name = 229 + SlimeDoor2 Name = 230 + OuterHellShrine2 Name = 231 + OuterHellShrine3 Name = 232 + PillarH2 Name = 233 + Act3BigLogC Name = 234 + Act3BigLogD Name = 235 + HellHealthShrine Name = 236 + Act3TownWaypoint Name = 237 + WaypointH Name = 238 + BurningBodyTown Name = 239 + Gchest1L Name = 240 + Gchest2R Name = 241 + Gchest3R Name = 242 + GLchest3L Name = 243 + SewersRatNest Name = 244 + BurningBodyTown2 Name = 245 + SewersRatNest2 Name = 246 + Act1BedBed1 Name = 247 + Act1BedBed2 Name = 248 + HellManaShrine Name = 249 + ExplodingCow Name = 250 + GidbinnAltar Name = 251 + GidbinnAltarDecoy Name = 252 + DiabloRightLight Name = 253 + DiabloLeftLight Name = 254 + DiabloStartPoint Name = 255 + Act1CabinStool Name = 256 + Act1CabinWood Name = 257 + Act1CabinWood2 Name = 258 + HellSkeletonSpawnNW Name = 259 + Act1HolyShrine Name = 260 + TombsFloorTrapSpikes Name = 261 + Act1CathedralShrine Name = 262 + Act1JailShrine1 Name = 263 + Act1JailShrine2 Name = 264 + Act1JailShrine3 Name = 265 + MaggotLairGooPile Name = 266 + Bank Name = 267 + WirtCorpse Name = 268 + GoldPlaceHolder Name = 269 + GuardCorpse2 Name = 270 + DeadVillager1 Name = 271 + DeadVillager2 Name = 272 + DummyFlameNoDamage Name = 273 + TinyPixelShapedThingie Name = 274 + CavesHealthShrine Name = 275 + CavesManaShrine Name = 276 + CaveMagicShrine Name = 277 + Act3DungeonManaShrine Name = 278 + Act3SewersMagicShrine1 Name = 279 + Act3SewersHealthWell Name = 280 + Act3SewersManaWell Name = 281 + Act3SewersMagicShrine2 Name = 282 + Act2BrazierCeller Name = 283 + Act2TombAnubisCoffin Name = 284 + Act2Brazier Name = 285 + Act2BrazierTall Name = 286 + Act2BrazierSmall Name = 287 + Act2CellerWaypoint Name = 288 + HarumBedBed Name = 289 + IronGrateDoorLeft Name = 290 + IronGrateDoorRight Name = 291 + WoodenGrateDoorLeft Name = 292 + WoodenGrateDoorRight Name = 293 + WoodenDoorLeft Name = 294 + WoodenDoorRight Name = 295 + TombsWallTorchLeft Name = 296 + TombsWallTorchRight Name = 297 + ArcaneSanctuaryPortal Name = 298 + Act2HaramMagicShrine1 Name = 299 + Act2HaramMagicShrine2 Name = 300 + MaggotHealthWell Name = 301 + MaggotManaWell Name = 302 + ArcaneSanctuaryMagicShrine Name = 303 + TeleportationPad2 Name = 304 + TeleportationPad3 Name = 305 + TeleportationPad4 Name = 306 + DummyArcaneThing1 Name = 307 + DummyArcaneThing2 Name = 308 + DummyArcaneThing3 Name = 309 + DummyArcaneThing4 Name = 310 + DummyArcaneThing5 Name = 311 + DummyArcaneThing6 Name = 312 + DummyArcaneThing7 Name = 313 + HaremDeadGuard1 Name = 314 + HaremDeadGuard2 Name = 315 + HaremDeadGuard3 Name = 316 + HaremDeadGuard4 Name = 317 + HaremEunuchBlocker Name = 318 + ArcaneHealthWell Name = 319 + ArcaneManaWell Name = 320 + TestData2 Name = 321 + Act2TombWell Name = 322 + Act2SewerWaypoint Name = 323 + Act3TravincalWaypoint Name = 324 + Act3SewerMagicShrine Name = 325 + Act3SewerDeadBody Name = 326 + Act3SewerTorch Name = 327 + Act3KurastTorch Name = 328 + MafistoLargeChestLeft Name = 329 + MafistoLargeChestRight Name = 330 + MafistoMediumChestLeft Name = 331 + MafistoMediumChestRight Name = 332 + SpiderLairLargeChestLeft Name = 333 + SpiderLairTallChestLeft Name = 334 + SpiderLairMediumChestRight Name = 335 + SpiderLairTallChestRight Name = 336 + SteegStone Name = 337 + GuildVault Name = 338 + TrophyCase Name = 339 + MessageBoard Name = 340 + MephistoBridge Name = 341 + HellGate Name = 342 + Act3KurastManaWell Name = 343 + Act3KurastHealthWell Name = 344 + HellFire1 Name = 345 + HellFire2 Name = 346 + HellFire3 Name = 347 + HellLava1 Name = 348 + HellLava2 Name = 349 + HellLava3 Name = 350 + HellLightSource1 Name = 351 + HellLightSource2 Name = 352 + HellLightSource3 Name = 353 + HoradricCubeChest Name = 354 + HoradricScrollChest Name = 355 + StaffOfKingsChest Name = 356 + YetAnotherTome Name = 357 + HellBrazier1 Name = 358 + HellBrazier2 Name = 359 + DungeonRockPile Name = 360 + Act3DungeonMagicShrine Name = 361 + Act3DungeonBasket Name = 362 + OuterHellHungSkeleton Name = 363 + GuyForDungeon Name = 364 + Act3DungeonCasket Name = 365 + Act3SewerStairs Name = 366 + Act3SewerStairsToLevel3 Name = 367 + DarkWandererStartPosition Name = 368 + TrappedSoulPlaceHolder Name = 369 + Act3TownTorch Name = 370 + LargeChestR Name = 371 + InnerHellBoneChest Name = 372 + HellSkeletonSpawnNE Name = 373 + Act3WaterFog Name = 374 + DummyNotUsed Name = 375 + HellForge Name = 376 + GuildPortal Name = 377 + HratliStartPosition Name = 378 + HratliEndPosition Name = 379 + BurningTrappedSoul1 Name = 380 + BurningTrappedSoul2 Name = 381 + NatalyaStartPosition Name = 382 + StuckedTrappedSoul1 Name = 383 + StuckedTrappedSoul2 Name = 384 + CainStartPosition Name = 385 + StairSR Name = 386 + ArcaneLargeChestLeft Name = 387 + ArcaneCasket Name = 388 + ArcaneLargeChestRight Name = 389 + ArcaneSmallChestLeft Name = 390 + ArcaneSmallChestRight Name = 391 + DiabloSeal1 Name = 392 + DiabloSeal2 Name = 393 + DiabloSeal3 Name = 394 + DiabloSeal4 Name = 395 + DiabloSeal5 Name = 396 + SparklyChest Name = 397 + PandamoniumFortressWaypoint Name = 398 + InnerHellFissure Name = 399 + HellMesaBrazier Name = 400 + Smoke Name = 401 + ValleyWaypoint Name = 402 + HellBrazier3 Name = 403 + CompellingOrb Name = 404 + KhalimChest1 Name = 405 + KhalimChest2 Name = 406 + KhalimChest3 Name = 407 + SiegeMachineControl Name = 408 + PotOTorch Name = 409 + PyoxFirePit Name = 410 + dummy411 Name = 411 + dummy412 Name = 412 + ExpansionChestRight Name = 413 + ExpansionWildernessShrine1 Name = 414 + ExpansionWildernessShrine2 Name = 415 + ExpansionHiddenStash Name = 416 + ExpansionWildernessFlag Name = 417 + ExpansionWildernessBarrel Name = 418 + ExpansionSiegeBarrel Name = 419 + ExpansionWoodChestLeft Name = 420 + ExpansionWildernessShrine3 Name = 421 + ExpansionManaShrine Name = 422 + ExpansionHealthShrine Name = 423 + BurialChestLeft Name = 424 + BurialChestRight Name = 425 + ExpansionWell Name = 426 + ExpansionWildernessShrine4 Name = 427 + ExpansionWildernessShrine5 Name = 428 + ExpansionWaypoint Name = 429 + ExpansionChestLeft Name = 430 + ExpansionWoodChestRight Name = 431 + ExpansionSmallChestLeft Name = 432 + ExpansionSmallChestRight Name = 433 + ExpansionTorch1 Name = 434 + ExpansionCampFire Name = 435 + ExpansionTownTorch Name = 436 + ExpansionTorch2 Name = 437 + ExpansionBurningBodies Name = 438 + ExpansionBurningPit Name = 439 + ExpansionTribalFlag Name = 440 + ExpansionTownFlag Name = 441 + ExpansionChandelier Name = 442 + ExpansionJar1 Name = 443 + ExpansionJar2 Name = 444 + ExpansionJar3 Name = 445 + ExpansionSwingingHeads Name = 446 + ExpansionWildernessPole Name = 447 + AnimatedSkullAndRockPile Name = 448 + ExpansionTownGate Name = 449 + SkullAndRockPile Name = 450 + SiegeHellGate Name = 451 + EnemyCampBanner1 Name = 452 + EnemyCampBanner2 Name = 453 + ExpansionExplodingChest Name = 454 + ExpansionSpecialChest Name = 455 + ExpansionDeathPole Name = 456 + ExpansionDeathPoleLeft Name = 457 + TempleAltar Name = 458 + DrehyaTownStartPosition Name = 459 + DrehyaWildernessStartPosition Name = 460 + NihlathakTownStartPosition Name = 461 + NihlathakWildernessStartPositionName Name = 462 + IceCaveHiddenStash Name = 463 + IceCaveHealthShrine Name = 464 + IceCaveManaShrine Name = 465 + IceCaveEvilUrn Name = 466 + IceCaveJar1 Name = 467 + IceCaveJar2 Name = 468 + IceCaveJar3 Name = 469 + IceCaveJar4 Name = 470 + IceCaveJar5 Name = 471 + IceCaveMagicShrine Name = 472 + CagedWussie Name = 473 + AncientStatue3 Name = 474 + AncientStatue1 Name = 475 + AncientStatue2 Name = 476 + DeadBarbarian Name = 477 + ClientSmoke Name = 478 + IceCaveMagicShrine2 Name = 479 + IceCaveTorch1 Name = 480 + IceCaveTorch2 Name = 481 + ExpansionTikiTorch Name = 482 + WorldstoneManaShrine Name = 483 + WorldstoneHealthShrine Name = 484 + WorldstoneTomb1 Name = 485 + WorldstoneTomb2 Name = 486 + WorldstoneTomb3 Name = 487 + WorldstoneMagicShrine Name = 488 + WorldstoneTorch1 Name = 489 + WorldstoneTorch2 Name = 490 + ExpansionSnowyManaShrine1 Name = 491 + ExpansionSnowyHealthShrine Name = 492 + ExpansionSnowyWell Name = 493 + WorldstoneWaypoint Name = 494 + ExpansionSnowyMagicShrine2 Name = 495 + ExpansionWildernessWaypoint Name = 496 + ExpansionSnowyMagicShrine3 Name = 497 + WorldstoneWell Name = 498 + WorldstoneMagicShrine2 Name = 499 + ExpansionSnowyObject1 Name = 500 + ExpansionSnowyWoodChestLeft Name = 501 + ExpansionSnowyWoodChestRight Name = 502 + WorldstoneMagicShrine3 Name = 503 + ExpansionSnowyWoodChest2Left Name = 504 + ExpansionSnowyWoodChest2Right Name = 505 + SnowySwingingHeads Name = 506 + SnowyDebris Name = 507 + PenBreakableDoor Name = 508 + ExpansionTempleMagicShrine1 Name = 509 + ExpansionSnowyPoleMR Name = 510 + IceCaveWaypoint Name = 511 + ExpansionTempleMagicShrine2 Name = 512 + ExpansionTempleWell Name = 513 + ExpansionTempleTorch1 Name = 514 + ExpansionTempleTorch2 Name = 515 + ExpansionTempleObject1 Name = 516 + ExpansionTempleObject2 Name = 517 + WorldstoneMrBox Name = 518 + IceCaveWell Name = 519 + ExpansionTempleMagicShrine Name = 520 + ExpansionTempleHealthShrine Name = 521 + ExpansionTempleManaShrine Name = 522 + BlacksmithForge Name = 523 + WorldstoneTomb1Left Name = 524 + WorldstoneTomb2Left Name = 525 + WorldstoneTomb3Left Name = 526 + IceCaveBubblesU Name = 527 + IceCaveBubblesS Name = 528 + RedBaalsLairTomb1 Name = 529 + RedBaalsLairTomb1Left Name = 530 + RedBaalsLairTomb2 Name = 531 + RedBaalsLairTomb2Left Name = 532 + RedBaalsLairTomb3 Name = 533 + RedBaalsLairTomb3Left Name = 534 + RedBaalsLairMrBox Name = 535 + RedBaalsLairTorch1 Name = 536 + RedBaalsLairTorch2 Name = 537 + CandlesTemple Name = 538 + TempleWaypoint Name = 539 + ExpansionDeadPerson1 Name = 540 + TempleGroundTomb Name = 541 + LarzukGreeting Name = 542 + LarzukStandard Name = 543 + TempleGroundTombLeft Name = 544 + ExpansionDeadPerson2 Name = 545 + AncientsAltar Name = 546 + ArreatSummitDoorToWorldstone Name = 547 + ExpansionWeaponRackRight Name = 548 + ExpansionWeaponRackLeft Name = 549 + ExpansionArmorStandRight Name = 550 + ExpansionArmorStandLeft Name = 551 + ArreatsSummitTorch2 Name = 552 + ExpansionFuneralSpire Name = 553 + ExpansionBurningLogs Name = 554 + IceCaveSteam Name = 555 + ExpansionDeadPerson3 Name = 556 + BaalsLair Name = 557 + FrozenAnya Name = 558 + BBQBunny Name = 559 + BaalTorchBig Name = 560 + InvisibleAncient Name = 561 + InvisibleBase Name = 562 + BaalsPortal Name = 563 + ArreatSummitDoor Name = 564 + LastPortal Name = 565 + LastLastPortal Name = 566 + ZooTestData Name = 567 + KeeperTestData Name = 568 + BaalsPortal2 Name = 569 + FirePlaceGuy Name = 570 + DoorBlocker1 Name = 571 + DoorBlocker2 Name = 572 + ColossalAltar Name = 573 + ColossalStatue1 Name = 574 + ColossalStatue2 Name = 575 + ColossalStatue3 Name = 576 + ControlObject Name = 577 + DesertShrineArmor Name = 578 + DesertShrineCombat Name = 579 + GoodChest Name = 580 + NotSoGoodChestName Name = 581 + DesertShrineRecharge Name = 582 + DesertShrineStamina Name = 583 + PlaceUniqueChest Name = 584 + PlaceRandomTreasureChest Name = 585 + PlaceArcaneThingamajig Name = 586 ) diff --git a/pkg/data/state/states.go b/pkg/data/state/states.go index 25cd8cd..c922769 100644 --- a/pkg/data/state/states.go +++ b/pkg/data/state/states.go @@ -15,192 +15,234 @@ func (s States) HasState(state State) bool { type State uint const ( - None State = iota - Freeze - Poison - Resistfire - Resistcold - Resistlightning - Resistmagic - Playerbody - Resistall - Amplifydamage - Frozenarmor - Cold - Inferno - Blaze - Bonearmor - Concentrate - Enchant - Innersight - SkillMove - Weaken - Chillingarmor - Stunned - Spiderlay - Dimvision - Slowed - Fetishaura - Shout - Taunt - Conviction - Convicted - Energyshield - Venomclaws - Battleorders - Might - Prayer - Holyfire - Thorns - Defiance - Thunderstorm - Lightningbolt - Blessedaim - Stamina - Concentration - Holywind - Holywindcold - Cleansing - Holyshock - Sanctuary - Meditation - Fanaticism - Redemption - Battlecommand - Preventheal - Conversion - Uninterruptable - Ironmaiden - Terror - Attract - Lifetap - Confuse - Decrepify - Lowerresist - Openwounds - Dopplezon - Criticalstrike - Dodge - Avoid - Penetrate - Evade - Pierce - Warmth - Firemastery - Lightningmastery - Coldmastery - Blademastery - Axemastery - Macemastery - Polearmmastery - Throwingmastery - Spearmastery - Increasedstamina - Ironskin - Increasedspeed - Naturalresistance - Fingermagecurse - Nomanaregen - Justhit - Slowmissiles - Shiverarmor - Battlecry - Blue - Red - DeathDelay - Valkyrie - Frenzy - Berserk - Revive - Itemfullset - Sourceunit - Redeemed - Healthpot - Holyshield - JustPortaled - Monfrenzy - CorpseNodraw - Alignment - Manapot - Shatter - SyncWarped - ConversionSave - Pregnant - State111 - Rabies - DefenseCurse - BloodMana - Burning - Dragonflight - Maul - CorpseNoselect - Shadowwarrior - Feralrage - Skilldelay - Tigerstrike - Cobrastrike - Phoenixstrike - Fistsoffire - Bladesofice - Clawsofthunder - ShrineArmor - ShrineCombat - ShrineResistLightning - ShrineResistFire - ShrineResistCold - ShrineResistPoison - ShrineSkill - ShrineManaRegen - ShrineStamina - ShrineExperience - FenrisRage - Wolf - Bear - Bloodlust - Changeclass - Attached - Hurricane - Armageddon - Invis - Barbs - Wolverine - Oaksage - VineBeast - Cyclonearmor - Clawmastery - CloakOfShadows - Recycled - Weaponblock - Cloaked - Quickness - Bladeshield - Fade - Summonresist - Oaksagecontrol - Wolverinecontrol - Barbscontrol - Debugcontrol - Itemset1 - Itemset2 - Itemset3 - Itemset4 - Itemset5 - Itemset6 - Runeword - Restinpeace - Corpseexp - Whirlwind - Fullsetgeneric - Monsterset - Delerium - Antidote - Thawing - Staminapot - PassiveResistfire - PassiveResistcold - PassiveResistltng - Uberminion - Cooldown - Sharedstash - Hidedead + None State = 0 + Freeze State = 1 + Poison State = 2 + Resistfire State = 3 + Resistcold State = 4 + Resistlightning State = 5 + Resistmagic State = 6 + Playerbody State = 7 + Resistall State = 8 + Amplifydamage State = 9 + Frozenarmor State = 10 + Cold State = 11 + Inferno State = 12 + Blaze State = 13 + Bonearmor State = 14 + Concentrate State = 15 + Enchant State = 16 + Innersight State = 17 + SkillMove State = 18 + Weaken State = 19 + Chillingarmor State = 20 + Stunned State = 21 + Spiderlay State = 22 + Dimvision State = 23 + Slowed State = 24 + Fetishaura State = 25 + Shout State = 26 + Taunt State = 27 + Conviction State = 28 + Convicted State = 29 + Energyshield State = 30 + Venomclaws State = 31 + Battleorders State = 32 + Might State = 33 + Prayer State = 34 + Holyfire State = 35 + Thorns State = 36 + Defiance State = 37 + Thunderstorm State = 38 + Lightningbolt State = 39 + Blessedaim State = 40 + Stamina State = 41 + Concentration State = 42 + Holywind State = 43 + Holywindcold State = 44 + Cleansing State = 45 + Holyshock State = 46 + Sanctuary State = 47 + Meditation State = 48 + Fanaticism State = 49 + Redemption State = 50 + Battlecommand State = 51 + Preventheal State = 52 + Conversion State = 53 + Uninterruptable State = 54 + Ironmaiden State = 55 + Terror State = 56 + Attract State = 57 + Lifetap State = 58 + Confuse State = 59 + Decrepify State = 60 + Lowerresist State = 61 + Openwounds State = 62 + Dopplezon State = 63 + Criticalstrike State = 64 + Dodge State = 65 + Avoid State = 66 + Penetrate State = 67 + Evade State = 68 + Pierce State = 69 + Warmth State = 70 + Firemastery State = 71 + Lightningmastery State = 72 + Coldmastery State = 73 + Blademastery State = 74 + Axemastery State = 75 + Macemastery State = 76 + Polearmmastery State = 77 + Throwingmastery State = 78 + Spearmastery State = 79 + Increasedstamina State = 80 + Ironskin State = 81 + Increasedspeed State = 82 + Naturalresistance State = 83 + Fingermagecurse State = 84 + Nomanaregen State = 85 + Justhit State = 86 + Slowmissiles State = 87 + Shiverarmor State = 88 + Battlecry State = 89 + Blue State = 90 + Red State = 91 + DeathDelay State = 92 + Valkyrie State = 93 + Frenzy State = 94 + Berserk State = 95 + Revive State = 96 + Itemfullset State = 97 + Sourceunit State = 98 + Redeemed State = 99 + Healthpot State = 100 + Holyshield State = 101 + JustPortaled State = 102 + Monfrenzy State = 103 + CorpseNodraw State = 104 + Alignment State = 105 + Manapot State = 106 + Shatter State = 107 + SyncWarped State = 108 + ConversionSave State = 109 + Pregnant State = 110 + State111 State = 111 + Rabies State = 112 + DefenseCurse State = 113 + BloodMana State = 114 + Burning State = 115 + Dragonflight State = 116 + Maul State = 117 + CorpseNoselect State = 118 + Shadowwarrior State = 119 + Feralrage State = 120 + Skilldelay State = 121 + Tigerstrike State = 122 + Cobrastrike State = 123 + Phoenixstrike State = 124 + Fistsoffire State = 125 + Bladesofice State = 126 + Clawsofthunder State = 127 + ShrineArmor State = 128 + ShrineCombat State = 129 + ShrineResistLightning State = 130 + ShrineResistFire State = 131 + ShrineResistCold State = 132 + ShrineResistPoison State = 133 + ShrineSkill State = 134 + ShrineManaRegen State = 135 + ShrineStamina State = 136 + ShrineExperience State = 137 + FenrisRage State = 138 + Wolf State = 139 + Bear State = 140 + Bloodlust State = 141 + Changeclass State = 142 + Attached State = 143 + Hurricane State = 144 + Armageddon State = 145 + Invis State = 146 + Barbs State = 147 + Wolverine State = 148 + Oaksage State = 149 + VineBeast State = 150 + Cyclonearmor State = 151 + Clawmastery State = 152 + CloakOfShadows State = 153 + Recycled State = 154 + Weaponblock State = 155 + Cloaked State = 156 + Quickness State = 157 + Bladeshield State = 158 + Fade State = 159 + Summonresist State = 160 + Oaksagecontrol State = 161 + Wolverinecontrol State = 162 + Barbscontrol State = 163 + Debugcontrol State = 164 + Itemset1 State = 165 + Itemset2 State = 166 + Itemset3 State = 167 + Itemset4 State = 168 + Itemset5 State = 169 + Itemset6 State = 170 + Runeword State = 171 + Restinpeace State = 172 + Corpseexp State = 173 + Whirlwind State = 174 + Fullsetgeneric State = 175 + Monsterset State = 176 + Delerium State = 177 + Antidote State = 178 + Thawing State = 179 + Staminapot State = 180 + PassiveResistfire State = 181 + PassiveResistcold State = 182 + PassiveResistltng State = 183 + Uberminion State = 184 + Cooldown State = 185 + Sharedstash State = 186 + Hidedead State = 187 + Impale State = 188 + Desecrated State = 189 + Markbear State = 190 + Markwolf State = 191 + Sigillethargy State = 192 + Sigilrancor State = 193 + Sigildeath State = 194 + Bloodoath State = 195 + DemonicMastery State = 196 + LevitateMastery State = 197 + Hexbane State = 198 + Hexbanedebuff State = 199 + Hexsiphon State = 200 + Hexsiphondebuff State = 201 + Hexpurge State = 202 + Mindbarrier State = 203 + ShadowMastery State = 204 + Sigil State = 205 + Psychicward State = 206 + BindDemon State = 207 + Consume State = 208 + Advancedstash State = 209 + Healthlink State = 210 + Engorge State = 211 + DeathMark State = 212 + Healthlinkcaster State = 213 + Warlockdemonground State = 214 + Warlockdemontorso State = 215 + SkillChanneling State = 216 + Hexpurgedebuff State = 217 + Chroniclebacklight State = 218 + Chroniclefootprints State = 219 + Chronicleportal State = 220 + Eldritchblastperiodic State = 221 + Lightningenchant State = 222 + Coldenchant State = 223 + Talicfirepierce State = 224 + Madawclightpierce State = 225 + Korliccoldpierce State = 226 + BindDemonUnderling State = 227 + Herald State = 228 + Apocalypse State = 229 )