-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
does thing (Thorium Patch, and misc)
- Loading branch information
1 parent
c1f853a
commit d13c266
Showing
17 changed files
with
338 additions
and
56 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
using Aequus.Common; | ||
using Terraria.ModLoader; | ||
|
||
namespace Aequus.Content.CrossMod | ||
{ | ||
public class ThoriumModSupport : IAddRecipes | ||
{ | ||
public static Mod ThoriumMod { get; private set; } | ||
|
||
void ILoadable.Load(Mod mod) | ||
{ | ||
} | ||
|
||
void IAddRecipes.AddRecipes(Aequus aequus) | ||
{ | ||
ThoriumMod = null; | ||
if (ModLoader.TryGetMod("ThoriumMod", out var thoriumMod)) | ||
{ | ||
ThoriumMod = thoriumMod; | ||
} | ||
} | ||
|
||
void ILoadable.Unload() | ||
{ | ||
ThoriumMod = null; | ||
} | ||
} | ||
} |
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
Binary file not shown.
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,43 @@ | ||
using Aequus.Items.Misc.Energies; | ||
using Terraria; | ||
using Terraria.ID; | ||
using Terraria.ModLoader; | ||
|
||
namespace Aequus.Items.Weapons.Magic | ||
{ | ||
public class WindFan : ModItem | ||
{ | ||
public override bool IsLoadingEnabled(Mod mod) | ||
{ | ||
return false; | ||
} | ||
|
||
public override void SetStaticDefaults() | ||
{ | ||
SacrificeTotal = 1; | ||
} | ||
|
||
public override void SetDefaults() | ||
{ | ||
Item.DefaultToMagicWeapon(ProjectileID.BallofFrost, 40, 12f, hasAutoReuse: true); | ||
Item.SetWeaponValues(50, 10f, bonusCritChance: 21); | ||
Item.rare = ItemDefaults.RarityDustDevil; | ||
Item.value = ItemDefaults.DustDevilValue; | ||
} | ||
|
||
public override void AddRecipes() | ||
{ | ||
CreateRecipe() | ||
.AddIngredient(ItemID.FlowerofFire) | ||
.AddIngredient(ItemID.FlowerofFrost) | ||
.AddIngredient<AtmosphericEnergy>() | ||
.AddTile(TileID.MythrilAnvil) | ||
.TryRegisterAfter(ItemID.SkyFracture); | ||
} | ||
|
||
public override bool MeleePrefix() | ||
{ | ||
return true; | ||
} | ||
} | ||
} |
Loading
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,43 @@ | ||
using Aequus.Items.Misc.Energies; | ||
using Aequus.Projectiles.Summon.Whip; | ||
using Terraria; | ||
using Terraria.ID; | ||
using Terraria.ModLoader; | ||
|
||
namespace Aequus.Items.Weapons.Summon.Whip | ||
{ | ||
public class TornadoWhip : ModItem | ||
{ | ||
public override bool IsLoadingEnabled(Mod mod) | ||
{ | ||
return false; | ||
} | ||
|
||
public override void SetStaticDefaults() | ||
{ | ||
SacrificeTotal = 1; | ||
} | ||
|
||
public override void SetDefaults() | ||
{ | ||
Item.DefaultToWhip(ModContent.ProjectileType<TornadoWhipProj>(), 33, 5f, 4f); | ||
Item.rare = ItemDefaults.RarityDustDevil; | ||
Item.value = ItemDefaults.DustDevilValue; | ||
} | ||
|
||
public override void AddRecipes() | ||
{ | ||
CreateRecipe() | ||
.AddIngredient(ItemID.FireWhip) | ||
.AddIngredient(ItemID.CoolWhip) | ||
.AddIngredient<AtmosphericEnergy>() | ||
.AddTile(TileID.MythrilAnvil) | ||
.TryRegisterAfter(ItemID.CoolWhip); | ||
} | ||
|
||
public override bool MeleePrefix() | ||
{ | ||
return true; | ||
} | ||
} | ||
} |
Oops, something went wrong.