Skip to content
This repository has been archived by the owner on Jul 5, 2023. It is now read-only.

Commit

Permalink
1.0.18.11
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilysen committed Aug 19, 2019
1 parent 5e7b02e commit 6f4ccd0
Show file tree
Hide file tree
Showing 5 changed files with 52 additions and 10 deletions.
12 changes: 3 additions & 9 deletions Items/FallingFlame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public override void SetStaticDefaults()
{
DisplayName.SetDefault("Falling Flame");
Tooltip.SetDefault("An overloaded fallen star\n" +
"Use to hurl you far into the distance, or wear as an accessory to boost max move speed\n" +
"Use to hurl you far into the distance\n" +
"Falling protection not included");
}

Expand All @@ -25,16 +25,10 @@ public override void SetDefaults()
item.rare = 3;
item.UseSound = SoundID.Item62;
item.maxStack = 99;
item.accessory = true;
item.consumable = true;
item.noMelee = true;
}

public override void UpdateEquip(Player player)
{
player.maxRunSpeed += 6;
}

public override bool UseItem(Player player)
{
player.AddBuff(mod.BuffType("FallingFlame"), 3000);
Expand All @@ -46,7 +40,7 @@ public override bool UseItem(Player player)
public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient(ItemID.FallenStar, 10);
recipe.AddIngredient(ItemID.FallenStar);
recipe.AddIngredient(ItemID.Torch, 10);
recipe.AddIngredient(mod.ItemType("AuricCore"));
recipe.AddTile(mod.TileType("Thaumatrestle"));
Expand All @@ -55,7 +49,7 @@ public override void AddRecipes()
recipe.AddRecipe();

recipe = new ModRecipe(mod);
recipe.AddIngredient(mod.ItemType("PaleStar"), 20);
recipe.AddIngredient(mod.ItemType("PaleStar"), 2);
recipe.AddIngredient(ItemID.Torch, 10);
recipe.AddIngredient(mod.ItemType("AuricCore"));
recipe.AddTile(mod.TileType("Thaumatrestle"));
Expand Down
41 changes: 41 additions & 0 deletions Items/VelocityInAJar.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
using Terraria;
using Terraria.ModLoader;

namespace Thaumaturgy.Items
{
public class VelocityInAJar : ModItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Velocity in a Jar");
Tooltip.SetDefault("Greatly boosts max move speed");
}

public override void SetDefaults()
{
item.width = 20;
item.height = 34;
item.value = Item.sellPrice(0, 0, 15, 0);
item.rare = 4;
item.maxStack = 99;
item.accessory = true;
}

public override void UpdateEquip(Player player)
{
player.maxRunSpeed += 6;
}

public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient(mod.ItemType("FallingFlame"));
recipe.AddIngredient(mod.ItemType("TreatedFlask"));
recipe.AddIngredient(mod.ItemType("AuricShard"), 5);
recipe.AddTile(mod.TileType("Thaumatrestle"));
recipe.AddTile(mod.TileType("SynthesisFocus"));
recipe.SetResult(this);
recipe.AddRecipe();
}
}
}
Binary file added Items/VelocityInAJar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ You are free to decompile, modify etc. this mod under the MIT License. The mod i

# Changelog

### Aug. 19, 2019

#### 1.0.18.11

* Reduced the cost of the falling flame, from 10 -> 1 fallen star or 20 -> 2 pale stars.
* The falling flame can no longer be worn as an accessory, due to weirdness with it. Instead, a new accessory - called Velocity in a Jar - can be crafted using it that replicates the same effect.

### Aug. 15, 2019

#### 1.0.18.10
Expand Down
2 changes: 1 addition & 1 deletion build.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
author = Ilysen
version = 1.0.18.10
version = 1.0.18.11
displayName = Thaumaturgy
homepage = https://forums.terraria.org/index.php?threads/avas-mods-thaumaturgy-challenge-runes-yabssm.81892/

0 comments on commit 6f4ccd0

Please sign in to comment.