-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
22 changed files
with
67 additions
and
0 deletions.
There are no files selected for viewing
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
using Terraria; | ||
using Terraria.ID; | ||
using Terraria.ModLoader; | ||
using prismmod.NPCs.WaterTown; | ||
|
||
namespace prismmod.NPCs.WaterTown | ||
{ | ||
//@todo add head file for these NPCS | ||
[AutoloadHead] | ||
internal class FishBlue : FishPerson | ||
{ | ||
|
||
public override string TownNPCName() | ||
{ | ||
return "Blue Fish";//@todo generate random names for this fishy individual | ||
|
||
} | ||
|
||
public override void SetChatButtons(ref string button, ref string button2) { | ||
button = "Bruh"; | ||
button2 = "Moment"; | ||
} | ||
public override string GetChat() | ||
{ | ||
return "This is the only chat message so far, stop trying for a new one."; | ||
} | ||
public override void OnChatButtonClicked(bool firstbutton, ref bool shop) | ||
{ | ||
shop=true; | ||
} | ||
|
||
//@todo Setup Shop method | ||
|
||
|
||
|
||
} | ||
} |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
using Terraria; | ||
using Terraria.ID; | ||
using Terraria.ModLoader; | ||
|
||
namespace prismmod.NPCs.WaterTown | ||
{ | ||
internal class FishPerson : ModNPC | ||
{ | ||
public override void SetStaticDefaults() | ||
{ | ||
Main.npcFrameCount[npc.type] = Main.npcFrameCount[NPCID.GoblinTinkerer];//107 if NPCID is incorrect | ||
} | ||
|
||
public override void SetDefaults() | ||
{ | ||
npc.townNPC = true; | ||
npc.width = 18; | ||
npc.height = 34; | ||
animationType = NPCID.GoblinTinkerer; | ||
npc.aiStyle = 7; | ||
npc.lifeMax = 75; | ||
npc.HitSound = SoundID.NPCHit1; | ||
npc.DeathSound = SoundID.NPCDeath1; | ||
npc.value = 0.75f; | ||
npc.knockBackResist = 0.5f; | ||
npc.damage = 14; | ||
npc.friendly=true; | ||
} | ||
} | ||
} |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.