# lihzahrd.npcs

class lihzahrd.npcs.Mob(type_: EntityType, position: Coordinates)

  A Mob somewhere in the world.

  position: Coordinates

    The position of the mob in the game world.

  type: EntityType

    The type of entity this object represents.

class lihzahrd.npcs.NPC(type_: EntityType, position: Coordinates, name: str, variation_index: int, home: Coordinates | None = None)

  A NPC somewhere in the world.

  home: Coordinates | None

    The coordinates of the home of this NPC, or `None` if the NPC is homeless.

  name: str

    The name of this NPC.

  position: Coordinates

    The position of the mob in the game world.

  type: EntityType

    The type of entity this object represents.

  variation_index: int

    //terraria.gamepedia.com/Zoologist) form?

    Type:

      (Unknown) Possibly the current Zoologist (https