Gave Draedon his bestiary entry
This commit is contained in:
1 parent
2a6c219c83
commit
1c36500fe0
2 files changed
+13
-2
No files matched your search
@@ -9,11 +9,10 @@ namespace CalamityMod.NPCs.Astral
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
this.HideFromBestiary();
|
||||
DisplayName.SetDefault("Enchanted Nightcrawler");
|
||||
Main.npcFrameCount[NPC.type] = 2;
|
||||
Main.npcCatchable[NPC.type] = true;
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers bestiaryData = new NPCID.Sets.NPCBestiaryDrawModifiers(0){ Hide = true };
|
||||
NPCID.Sets.NPCBestiaryDrawOffset.Add(Type, bestiaryData);
|
||||
NPCID.Sets.CountsAsCritter[NPC.type] = true;
|
||||
}
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@ using System;
|
||||
using System.IO;
|
||||
using Terraria;
|
||||
using Terraria.GameContent;
|
||||
using Terraria.GameContent.Bestiary;
|
||||
using Terraria.Graphics.Shaders;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
@@ -101,6 +102,17 @@ namespace CalamityMod.NPCs.ExoMechs
|
||||
NPC.Calamity().DoesNotGenerateRage = true;
|
||||
}
|
||||
|
||||
public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry)
|
||||
{
|
||||
bestiaryEntry.Info.AddRange(new IBestiaryInfoElement[] {
|
||||
//We'll probably want a custom background for Exos like ML has.
|
||||
//BestiaryDatabaseNPCsPopulator.CommonTags.SpawnConditions.Biomes.Exo,
|
||||
|
||||
// Will move to localization whenever that is cleaned up.
|
||||
new FlavorTextBestiaryInfoElement("The esteemed scientist himself. His AI is uploaded into a database, far from harm, and thus destroying his recon bodies achieves nothing.")
|
||||
});
|
||||
}
|
||||
|
||||
public override void SendExtraAI(BinaryWriter writer)
|
||||
{
|
||||
writer.Write(DialogueType);
|
||||
|
||||
Reference in new issue
Block a user