This repository has been archived by the owner on Jul 5, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Ilysen
committed
Aug 19, 2019
1 parent
5e7b02e
commit 6f4ccd0
Showing
5 changed files
with
52 additions
and
10 deletions.
There are no files selected for viewing
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,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(); | ||
} | ||
} | ||
} |
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 |
---|---|---|
@@ -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/ |