object

package
v0.0.0-...-8a1f7e1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 21, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Code generated by cmd/txttocode. DO NOT EDIT. source: cmd/txttocode/txt/objects.txt

Index

Constants

This section is empty.

Variables

View Source
var Desc = map[int]Description{}/* 583 elements not displayed */
View Source
var ShrineTypeNames = map[ShrineType]string{
	RefillShrine:          "Refill Shrine",
	HealthShrine:          "Health Shrine",
	ManaShrine:            "Mana Shrine",
	HPXChangeShrine:       "HP XChange Shrine",
	ManaXChangeShrine:     "Mana XChange Shrine",
	ArmorShrine:           "Armor Shrine",
	CombatShrine:          "Combat Shrine",
	ResistFireShrine:      "Resist Fire Shrine",
	ResistColdShrine:      "Resist Cold Shrine",
	ResistLightningShrine: "Resist Lightning Shrine",
	ResistPoisonShrine:    "Resist Poison Shrine",
	SkillShrine:           "Skill Shrine",
	ManaRegenShrine:       "Mana Regen Shrine",
	StaminaShrine:         "Stamina Shrine",
	ExperienceShrine:      "Experience Shrine",
	UnknownShrine:         "Unknown Shrine",
	PortalShrine:          "Portal Shrine",
	GemShrine:             "Gem Shrine",
	FireShrine:            "Fire Shrine",
	MonsterShrine:         "Monster Shrine",
	ExplosiveShrine:       "Explosive Shrine",
	PoisonShrine:          "Poison Shrine",
}

Functions

This section is empty.

Types

type Description

type Description struct {
	ID           int
	Name         string
	SizeX        int
	SizeY        int
	HasCollision bool
	Left         int
	Top          int
	Width        int
	Height       int
	Xoffset      int
	Yoffset      int
}

type InteractType

type InteractType uint
const (
	InteractTypeNone   InteractType = 0x00
	InteractTypeTrap   InteractType = 0x04
	InteractTypeLocked InteractType = 0x80
)

type Name

type Name int
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

	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
)

func (Name) Desc

func (n Name) Desc() Description

type PortalData

type PortalData struct {
	DestArea area.ID
}

type ShrineData

type ShrineData struct {
	ShrineName string
	ShrineType ShrineType
}

type ShrineType

type ShrineType uint
const (
	RefillShrine          ShrineType = 0x01
	HealthShrine          ShrineType = 0x02
	ManaShrine            ShrineType = 0x03
	HPXChangeShrine       ShrineType = 0x04
	ManaXChangeShrine     ShrineType = 0x05
	ArmorShrine           ShrineType = 0x06
	CombatShrine          ShrineType = 0x07
	ResistFireShrine      ShrineType = 0x08
	ResistColdShrine      ShrineType = 0x09
	ResistLightningShrine ShrineType = 0x0A
	ResistPoisonShrine    ShrineType = 0x0B
	SkillShrine           ShrineType = 0x0C
	ManaRegenShrine       ShrineType = 0x0D
	StaminaShrine         ShrineType = 0x0E
	ExperienceShrine      ShrineType = 0x0F
	UnknownShrine         ShrineType = 0x10
	PortalShrine          ShrineType = 0x11
	GemShrine             ShrineType = 0x12
	FireShrine            ShrineType = 0x13
	MonsterShrine         ShrineType = 0x14
	ExplosiveShrine       ShrineType = 0x15
	PoisonShrine          ShrineType = 0x16
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL