TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ SetNPCNameList()

virtual List< string > Terraria.ModLoader.ModNPC.SetNPCNameList ( )
inlinevirtual

Allows you to give a list of names this NPC can be given on spawn.
By default, returns a blank list, which means the NPC will simply use its type name as its given name when prompted.

Returns

Definition at line 215 of file ModNPC.cs.

216 {
217 return new List<string>();
218 }