本站文本内容除另有声明外,转载时均必须注明出处,并遵守CC BY-NC-SA 3.0协议。(转载须知
本站是中文Terraria Wiki的镜像站,与Re-Logic、Gamepedia没有从属关系。(免责声明
由于镜像同步脚本的问题,本镜像站暂停更新。请前往中文Terraria Wiki源站访问最新信息。

全站通知:

AI/row

阅读

    

2020-07-10更新

    

最新编辑:

阅读:

  

更新日期:2020-07-10

  

最新编辑:

来自Terraria Wiki
< AI
跳到导航 跳到搜索
Information.png This page is solely used for formatting purposes on AI.

Prints a row for the main table. Put the name of the AI as the first unnamed parameter and the description as the second. The first column, the ID, is incremented and printed automatically, but you can use the id parameter to manually set the content of the first column. The automatic ID will not be incremented for that row. The last column, the NPCs of that AI, is generated automatically as well, using cargo. You can add NPCs by passing a comma-separated list in the add parameter or overwrite it completely by passing a comma-separated list of NPCs as the third unnamed parameter. Unwanted NPCs can be removed by passing a comma-separated list in the remove parameter. Lists that contain more than 35 NPCs will automatically be wrapped in a collapsible box; set collapse=n to prevent this behavior and collapse=y to enforce it.

The name of the AI is linked automatically if the target page exists. {{eicons}} are appended automatically as well, based on the AI name (e.g. "Etherian Lightning Bug" for "Etherian Lightning Bug AI"). Override those by specifying a target eicons page using the parameter eicons (e.g. eicons=Old One's Army) and prevent eicons entirely by setting eicons=n.