Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
253 changed files
with
9,242 additions
and
1,789 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.
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
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,35 @@ | ||
using System; | ||
using Terraria; | ||
using Terraria.ModLoader; | ||
|
||
namespace JoostMod.Buffs | ||
{ | ||
public class StormWyvernMinion : ModBuff | ||
{ | ||
public override void SetDefaults() | ||
{ | ||
DisplayName.SetDefault("Storm Wyvern"); | ||
Description.SetDefault("The storm wyvern will fight for you"); | ||
Main.buffNoSave[Type] = true; | ||
Main.buffNoTimeDisplay[Type] = true; | ||
} | ||
|
||
public override void Update(Player player, ref int buffIndex) | ||
{ | ||
JoostPlayer modPlayer = (JoostPlayer)player.GetModPlayer(mod, "JoostPlayer"); | ||
if (player.ownedProjectileCounts[mod.ProjectileType("StormWyvernMinion")] > 0) | ||
{ | ||
modPlayer.stormWyvernMinion = true; | ||
} | ||
if (!modPlayer.stormWyvernMinion) | ||
{ | ||
player.DelBuff(buffIndex); | ||
buffIndex--; | ||
} | ||
else | ||
{ | ||
player.buffTime[buffIndex] = 18000; | ||
} | ||
} | ||
} | ||
} |
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
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
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
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
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
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
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,29 @@ | ||
using Terraria.ModLoader; | ||
|
||
namespace JoostMod.Items.Placeable | ||
{ | ||
public class FifthAnniversary : ModItem | ||
{ | ||
public override void SetStaticDefaults() | ||
{ | ||
DisplayName.SetDefault("Joostmod's Fifth Anniversary"); | ||
Tooltip.SetDefault("'Face reveal'"); | ||
} | ||
public override void SetDefaults() | ||
{ | ||
item.width = 50; | ||
item.height = 34; | ||
item.maxStack = 99; | ||
item.useTurn = true; | ||
item.autoReuse = true; | ||
item.useAnimation = 15; | ||
item.useTime = 10; | ||
item.useStyle = 1; | ||
item.consumable = true; | ||
item.value = 500000; | ||
item.rare = 8; | ||
item.createTile = mod.TileType("FifthAnniversary"); | ||
item.placeStyle = 0; | ||
} | ||
} | ||
} |
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
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
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
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,28 @@ | ||
using Terraria; | ||
using Terraria.DataStructures; | ||
using Terraria.ID; | ||
using Terraria.ModLoader; | ||
|
||
namespace JoostMod.Items.Quest | ||
{ | ||
public class StormWyvern : ModItem | ||
{ | ||
public override void SetStaticDefaults() | ||
{ | ||
DisplayName.SetDefault("Storm Wyvern Soul"); | ||
Tooltip.SetDefault("Quest item for the Hunt Master"); | ||
Main.RegisterItemAnimation(item.type, new DrawAnimationVertical(4, 8)); | ||
ItemID.Sets.ItemNoGravity[item.type] = true; | ||
} | ||
|
||
public override void SetDefaults() | ||
{ | ||
item.questItem = true; | ||
item.maxStack = 1; | ||
item.width = 42; | ||
item.height = 42; | ||
item.uniqueStack = true; | ||
item.rare = -11; | ||
} | ||
} | ||
} |
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
Oops, something went wrong.