protected override void ExtendedStart() { conversations = GetComponent <NPCConversations>(); persistence = GetComponent <PersistentNPC>(); // narsty hack to not display the prompt for multi-box NPC signs if (name.ToLower().Contains("sign")) { Instantiate(Resources.Load("NPCIcon"), transform.position, Quaternion.identity, this.transform); } }
protected override void ExtendedStart() { conversations = GetComponent <NPCConversations>(); persistence = GetComponent <PersistentNPC>(); // narsty hack to not display the prompt for multi-box NPC signs if (generateMapIcon && !name.ToLower().Contains("sign")) { SpawnMapIcon(); } }
protected override void ExtendedStart() { conversations = GetComponent <NPCConversations>(); persistence = GetComponent <PersistentNPC>(); }