bestiary grammar, friend no longer despawns

This commit is contained in:
GinYuH authored and Cameron Ewell committed 2022-09-26 22:18:11 -04:00
1 parent b4e5ed79b4
commit 159bb01704
2 files changed
+7 -1

No files matched your search

+1 -1
View File
@@ -45,7 +45,7 @@ namespace CalamityMod.NPCs.DraedonLabThings
bestiaryEntry.Info.AddRange(new IBestiaryInfoElement[] {
// Will move to localization whenever that is cleaned up.
new FlavorTextBestiaryInfoElement("Slowly moving back and forth, these contraptions operate endlessly with the fruitless goal of cleaning the long, now abandoned labs.")
new FlavorTextBestiaryInfoElement("Slowly moving back and forth, these contraptions operate endlessly with the fruitless goal of cleaning the now long abandoned labs.")
});
}
+6
View File
@@ -31,6 +31,7 @@ namespace CalamityMod.NPCs.TownNPCs
NPC.height = 16;
NPC.lifeMax = 80;
NPC.friendly = true;
NPC.townNPC = true;
NPC.knockBackResist = 0f;
NPC.noGravity = true;
NPC.noTileCollide = false;
@@ -41,6 +42,11 @@ namespace CalamityMod.NPCs.TownNPCs
SpawnModBiomes = new int[1] { ModContent.GetInstance<ArsenalLabBiome>().Type };
}
public override bool CanChat()
{
return false;
}
public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry)
{
bestiaryEntry.Info.AddRange(new IBestiaryInfoElement[] {