NPC prefab names instead of just scientistSuggestion

hi im setting some custom npc spawns and would love to be able to see their prefab names.

For instance instead of seeing scientist [hp] [distance]

an option inside .json file to swap it for: scientistnpc_junkpile_pistol

thanks!

hi, you can change

var displayName = !string.IsNullOrEmpty(target.displayName) && target.displayName != target.UserIDString ? target.displayName : target.ShortPrefabName == "scarecrow" ? instance.m("scarecrow", userid) : target.PrefabName.Contains("scientist") ? instance.m("scientist", userid) : instance.m(target.ShortPrefabName, userid);​
to
var displayName = target.ShortPrefabName;​
I will add an option for it next update
nivex

hi, you can change

var displayName = !string.IsNullOrEmpty(target.displayName) && target.displayName != target.UserIDString ? target.displayName : target.ShortPrefabName == "scarecrow" ? instance.m("scarecrow", userid) : target.PrefabName.Contains("scientist") ? instance.m("scientist", userid) : instance.m(target.ShortPrefabName, userid);​
to
var displayName = target.ShortPrefabName;​
I will add an option for it next update

😍💯