Skip to content
This repository has been archived by the owner on Apr 5, 2021. It is now read-only.

Tea v0.0.1.0 Beta 2

Pre-release
Pre-release
Compare
Choose a tag to compare
@steviegt6 steviegt6 released this 11 Oct 20:55

How to install:
Simply download the folder and extract its contents, then paste it into C:\Program Files (x86)\Steam\steamapps\common\Terraria. I'd recommend making a back-up of your Terraria.exe and TerrariaServer.exe files first.

Added Features:

  • class ModNPC

    • bool Autoload(ref string name, ref string texture)
    • void SetDefaults()
    • float CanSpawn(NPCSpawnInfo spawnInfo)
    • int SpawnNPC(int tileX, int tileY)
  • class GlobalNPC

    • bool Autoload(ref string name)
    • void SetDefaults(NPC npc)
    • void EditSpawnRate(Player player, ref int spawnRate, ref int maxSpawns)
    • void EditSpawnRange(Player player, ref int spawnRangeX, ref int spawnRangeY, ref int safeRangeX, ref int safeRangeY)
    • void EditSpawnPool(IDictionary<int, float> pool, NPCSpawnInfo spawnInfo)
    • void SpawnNPC(int npc, int tileX, int tileY)
  • struct NPCSpawnInfo