Talk:AI

Number column
What does the number actually indicate? iLiaWneK'''|talk|contributions]] 17:17, 28 August 2011 (UTC)


 * The actual AI ID. 17:22, 28 August 2011 (UTC)


 * This is internal AI type. Possibly, there is enumeration in source code for that. Gamecreator 18:10, 28 August 2011 (UTC)


 * Ah, thanks. iLiaWneK'''|talk|contributions]] 19:49, 28 August 2011 (UTC)

Two worm AIs?
Both AI #6 and #66 are titled "Worm AI", despite being very different AI types. Are the two AI types actually identically named in the code, or is this an error? KM100 (talk) 18:27, 18 March 2015 (UTC)


 * AI 6 is the Burrowing AI that worm-type creatures use, while 66 is the AI that the worm critter uses. I plan on giving this page a makeover sometime soon, as many of the AI descriptions are lacking, and the creatures listed for each AI either have some missing, or the ones listed are incorrect. All of the AI names on this list are user-created, as they are only referred to by their IDs in the game code. You may notice that many of the IDs are simply named after the first/only creature that uses it.  Chrisf1020  (talk)  19:15, 18 March 2015 (UTC)

Individual pages
A page for the Plantera AI was recently created, and in attempting to revise it I looked here to see the standard for AI pages. It turns out there's only a handful of them, and between the three that exist there's little consistency and no real standard set by any of them for what an AI page should have. Ultimately I deleted it, as most AI types are one-offs, and their patterns are usually detailed clearly enough on pages for the mobs that use them. Are the individual AI pages necessary at all? I do think they could be helpful if rewritten appropriately, but as it is they only reiterate information found on this page or elsewhere on the wiki. If anyone has any ideas or thoughts on this that'd be cool. Gearzein (talk) 04:12, 25 May 2015 (UTC)


 * If we were to make pages for the individual AIs, we would have to make pages for every single one of them, if just for the sake of consistency. Its enough work just to translate the AI page, so I would be really happy if I got to translate the individual pages as well (irony). Yeah, I would just leave it as it is, everything else would just be a boatload of work for no real purpose. That's my input. Terrariapc1 (talk) 17:09, 25 May 2015 (UTC)


 * If each AI page were to descibe exactly how things with the AI would function (even when applied to things that don't normally have that AI), it would be helpful for modding and other related things. However, that kind of stuff doesn't seem all that common with Terraria, so the pages would be limited in use. I don't think any more than the AI list would be needed. KM100 (talk) 02:58, 28 May 2015 (UTC)

ID mixup
It appears that the list spots a couple of inaccuracies as of 1.2.4.1. Particularly in ID42-ID56 section.

ID42 should have been "Lost Girl AI", and the next bunch of IDs (until 56) are offset because of this.

ID48 should be "Golem Head 2 AI" (second phase?) and the next bunch of IDs are similarly offset.

Coincidentally, there's a 2-item "gap" on IDs 55/56 just for these two missing items.

Here's an edited list of PC version' AI names as used by Terranion:

--YellowAfterlife (talk) 22:58, 24 June 2015 (UTC)


 * Nice catch. I can verify the source code does indeed have these AIs listed in this order. I've gone ahead and fixed it. --KM100 (talk) 03:07, 25 June 2015 (UTC)

Swimming?
Does fighter A.I. swim? Lilymnky (talk) 16:37, 13 March 2016 (UTC)


 * Unless I'm forgetting a special case, every instance of the Fighter AI sinks in water and walks around on the solid terrain at the bottom. Gearzein (talk) 16:43, 13 March 2016 (UTC)

Solar Fragment incorrect link
The "Solar Fragment" link redirects to the item instead of the NPC. --AccurateJany (talk) 08:04, 20 January 2020 (UTC)

Incorrect Links
Enchanted Sword link does not go straight to the enemy page. Ghost link goes to the player ghost page, not the Ghost enemy page. Eternia Crystal link goes to item page, not entity page. Solar Fragment link goes to the item page, not the entity page. --Tikibreeki (talk) 02:08, 17 March 2020 (UTC)


 * Fixed, thank you! --Rye Greenwood (talk) 18:52, 19 March 2020 (UTC)

Missing AI descriptions
I noticed the descriptions for the new 1.4 AIs are empty. Should we write them? --Superwill771 (talk) 00:50, 5 June 2020 (UTC)

Missing Dolphin AI
I noticed that the Dolphin AI row is missing from the list. Someone fix this please? --Superwill771 (talk) 13:24, 28 June 2020 (UTC)


 * Dolphins are already on the page. They use the Swimming AI (#16). --Eraloiz (talk) 13:47, 28 June 2020 (UTC)

Hemogoblin Shark
Any reason that the Hemogoblin Shark has an attacker AI? it doesn't target the Eternia Crystal. EvanPi314 (talk) 13:01, 20 September 2020 (UTC)


 * Probably just Re-Logic reusing code. It's heavily based on the Drakin - they even use the same sounds and shoot similar projectiles. --Eraloiz (talk) 09:47, 21 September 2020 (UTC)


 * Whack EvanPi314 (talk) 16:24, 21 September 2020 (UTC)

AIs do have names
I just decompiled Terraria, and the file NPC.cs states a name for every ai. The page therefore erroneously states that they "aren't given AIs in the game's code." Will somebody please fix this? WillowTehKitsune (talk) 17:51, 30 May 2021 (UTC)


 * Could you please specify the game platform (Desktop/Mobile/etc.) and version of the game that you decompiled, and what decompiler you used? And then please state where exactly you found these names (what method/member/enum/etc.) and give some examples. I'm asking this because I don't see a name for every AI in the code. --Rye Greenwood (talk) 13:48, 31 May 2021 (UTC)