-
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.
Showing
61 changed files
with
1,089 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
using Terraria; | ||
using Terraria.ID; | ||
using Terraria.ModLoader; | ||
using Microsoft.Xna.Framework; | ||
|
||
namespace StrangeThings.Accessories | ||
{ | ||
public class LargeCCoin : ModItem | ||
{ | ||
public override void SetStaticDefaults() | ||
{ | ||
DisplayName.SetDefault("Large Copper Coin"); | ||
Tooltip.SetDefault("Compressing coins furthur gave you this. Maybe it's useful."); | ||
} | ||
public override void SetDefaults() | ||
{ | ||
item.rare = 0; | ||
item.maxStack = 1; | ||
item.accessory = true; | ||
item.defense = 1; | ||
} | ||
|
||
public override void AddRecipes() | ||
{ | ||
ModRecipe recipe = new ModRecipe(mod); | ||
recipe.AddIngredient(mod.GetItem("CompressedCCoin"), 4); | ||
recipe.AddTile(TileID.Anvils); | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
using Terraria; | ||
using Terraria.ID; | ||
using Terraria.ModLoader; | ||
using Microsoft.Xna.Framework; | ||
|
||
namespace StrangeThings.Accessories | ||
{ | ||
public class LargeGCoin : ModItem | ||
{ | ||
public override void SetStaticDefaults() | ||
{ | ||
DisplayName.SetDefault("Large Gold Coin"); | ||
Tooltip.SetDefault("Compressing coins furthur gave you this. Maybe it's useful."); | ||
} | ||
public override void SetDefaults() | ||
{ | ||
item.rare = 2; | ||
item.maxStack = 1; | ||
item.accessory = true; | ||
item.defense = 3; | ||
} | ||
|
||
public override void AddRecipes() | ||
{ | ||
ModRecipe recipe = new ModRecipe(mod); | ||
recipe.AddIngredient(mod.GetItem("CompressedGCoin"), 4); | ||
recipe.AddTile(TileID.Anvils); | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
using Terraria; | ||
using Terraria.ID; | ||
using Terraria.ModLoader; | ||
using Microsoft.Xna.Framework; | ||
|
||
namespace StrangeThings.Accessories | ||
{ | ||
public class LargePCoin : ModItem | ||
{ | ||
public override void SetStaticDefaults() | ||
{ | ||
DisplayName.SetDefault("Large Platinum Coin"); | ||
Tooltip.SetDefault("Compressing coins furthur gave you this. Maybe it's useful."); | ||
} | ||
public override void SetDefaults() | ||
{ | ||
item.rare = 3; | ||
item.maxStack = 1; | ||
item.accessory = true; | ||
item.defense = 4; | ||
} | ||
|
||
public override void AddRecipes() | ||
{ | ||
ModRecipe recipe = new ModRecipe(mod); | ||
recipe.AddIngredient(mod.GetItem("CompressedPCoin"), 4); | ||
recipe.AddTile(TileID.Anvils); | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
using Terraria; | ||
using Terraria.ID; | ||
using Terraria.ModLoader; | ||
using Microsoft.Xna.Framework; | ||
|
||
namespace StrangeThings.Accessories | ||
{ | ||
public class LargeSCoin : ModItem | ||
{ | ||
public override void SetStaticDefaults() | ||
{ | ||
DisplayName.SetDefault("Large Silver Coin"); | ||
Tooltip.SetDefault("Compressing coins furthur gave you this. Maybe it's useful."); | ||
} | ||
public override void SetDefaults() | ||
{ | ||
item.rare = 1; | ||
item.maxStack = 1; | ||
item.accessory = true; | ||
item.defense = 2; | ||
} | ||
|
||
public override void AddRecipes() | ||
{ | ||
ModRecipe recipe = new ModRecipe(mod); | ||
recipe.AddIngredient(mod.GetItem("CompressedSCoin"), 4); | ||
recipe.AddTile(TileID.Anvils); | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
using Terraria; | ||
using Terraria.ID; | ||
using Terraria.ModLoader; | ||
|
||
namespace StrangeThings.Armor | ||
{ | ||
[AutoloadEquip(EquipType.Body)] | ||
public class CopperCoinChest : ModItem | ||
{ | ||
public override void SetStaticDefaults() | ||
{ | ||
DisplayName.SetDefault("Copper Coin Chainmail"); | ||
Tooltip.SetDefault("A piece of chainmail crafted out of money. \nYou feel richer while wearing it."); | ||
} | ||
|
||
public override void SetDefaults() | ||
{ | ||
item.width = 18; | ||
item.height = 18; | ||
item.value = 100; | ||
item.rare = 1; | ||
item.defense = 4; | ||
} | ||
|
||
public override bool IsArmorSet(Item head, Item body, Item legs) | ||
{ | ||
return body.type == mod.ItemType("CopperCoinHelmet") && legs.type == mod.ItemType("CopperCoinLegs"); | ||
} | ||
|
||
public override void UpdateArmorSet(Player player) | ||
{ | ||
player.meleeDamage *= 1.0f; | ||
player.thrownDamage *= 1.0f; | ||
player.rangedDamage *= 1.0f; | ||
player.magicDamage *= 1.0f; | ||
player.minionDamage *= 1.0f; | ||
} | ||
|
||
public override void AddRecipes() | ||
{ | ||
ModRecipe recipe = new ModRecipe(mod); | ||
recipe.AddIngredient(mod.GetItem("LargeCCoin"), 1); | ||
recipe.AddIngredient(ItemID.CopperChainmail); | ||
recipe.AddTile(TileID.Anvils); | ||
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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
using Terraria; | ||
using Terraria.ID; | ||
using Terraria.ModLoader; | ||
|
||
namespace StrangeThings.Armor | ||
{ | ||
[AutoloadEquip(EquipType.Head)] | ||
public class CopperCoinHelm : ModItem | ||
{ | ||
public override void SetStaticDefaults() | ||
{ | ||
DisplayName.SetDefault("Copper Coin Helmet"); | ||
Tooltip.SetDefault("A helmet crafted out of money. \nYou feel richer while wearing it."); | ||
} | ||
|
||
public override void SetDefaults() | ||
{ | ||
item.width = 18; | ||
item.height = 18; | ||
item.value = 100; | ||
item.rare = 1; | ||
item.defense = 2; | ||
} | ||
|
||
public override bool IsArmorSet(Item head, Item body, Item legs) | ||
{ | ||
return body.type == mod.ItemType("CopperCoinChest") && legs.type == mod.ItemType("CopperCoinLegs"); | ||
} | ||
|
||
public override void UpdateArmorSet(Player player) | ||
{ | ||
player.meleeDamage *= 1.0f; | ||
player.thrownDamage *= 1.0f; | ||
player.rangedDamage *= 1.0f; | ||
player.magicDamage *= 1.0f; | ||
player.minionDamage *= 1.0f; | ||
} | ||
|
||
public override void AddRecipes() | ||
{ | ||
ModRecipe recipe = new ModRecipe(mod); | ||
recipe.AddIngredient(mod.GetItem("LargeCCoin"), 1); | ||
recipe.AddIngredient(ItemID.CopperHelmet); | ||
recipe.AddTile(TileID.Anvils); | ||
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.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
using Terraria; | ||
using Terraria.ID; | ||
using Terraria.ModLoader; | ||
|
||
namespace StrangeThings.Armor | ||
{ | ||
[AutoloadEquip(EquipType.Legs)] | ||
public class CopperCoinLegs : ModItem | ||
{ | ||
public override void SetStaticDefaults() | ||
{ | ||
DisplayName.SetDefault("Copper Coin Greaves"); | ||
Tooltip.SetDefault("A pair of greaves crafted out of money. \nYou feel richer while wearing it."); | ||
} | ||
|
||
public override void SetDefaults() | ||
{ | ||
item.width = 18; | ||
item.height = 18; | ||
item.value = 100; | ||
item.rare = 1; | ||
item.defense = 2; | ||
} | ||
|
||
public override bool IsArmorSet(Item head, Item body, Item legs) | ||
{ | ||
return body.type == mod.ItemType("CopperCoinChest") && legs.type == mod.ItemType("CopperCoinLegs"); | ||
} | ||
|
||
public override void UpdateArmorSet(Player player) | ||
{ | ||
player.meleeDamage *= 1.0f; | ||
player.thrownDamage *= 1.0f; | ||
player.rangedDamage *= 1.0f; | ||
player.magicDamage *= 1.0f; | ||
player.minionDamage *= 1.0f; | ||
} | ||
|
||
public override void AddRecipes() | ||
{ | ||
ModRecipe recipe = new ModRecipe(mod); | ||
recipe.AddIngredient(mod.GetItem("LargeCCoin"), 1); | ||
recipe.AddIngredient(ItemID.CopperGreaves); | ||
recipe.AddTile(TileID.Anvils); | ||
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.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
using Terraria; | ||
using Terraria.ID; | ||
using Terraria.ModLoader; | ||
|
||
namespace StrangeThings.Items.Blocks | ||
{ | ||
public class SoulInfuser : ModItem | ||
{ | ||
public override void SetStaticDefaults() | ||
{ | ||
DisplayName.SetDefault("[WIP] Soul Infuser"); | ||
Tooltip.SetDefault("Used for infusing unstable souls into usable items"); | ||
} | ||
public override void SetDefaults() | ||
{ | ||
item.width = 28; | ||
item.height = 15; | ||
item.maxStack = 1; | ||
item.useTurn = true; | ||
item.autoReuse = true; | ||
item.useAnimation = 15; | ||
item.useTime = 10; | ||
item.useStyle = 1; | ||
item.consumable = true; | ||
item.value = 25; | ||
item.createTile = mod.TileType("SoulInfuser"); | ||
} | ||
|
||
public override void AddRecipes() | ||
{ | ||
ModRecipe recipe = new ModRecipe(mod); | ||
recipe.AddIngredient(mod.GetItem("MobSoul"), 8); | ||
recipe.AddIngredient(ItemID.Furnace, 1); | ||
recipe.AddTile(TileID.Anvils); | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
using Terraria; | ||
using Terraria.ID; | ||
using Terraria.ModLoader; | ||
using Microsoft.Xna.Framework; | ||
|
||
namespace StrangeThings.Items | ||
{ | ||
public class CompressedCCoin : ModItem | ||
{ | ||
public override void SetStaticDefaults() | ||
{ | ||
DisplayName.SetDefault("Compressed Copper Coins"); | ||
Tooltip.SetDefault("A small stack of Copper coins that has been compressed"); | ||
} | ||
public override void SetDefaults() | ||
{ | ||
item.rare = -1; | ||
item.maxStack = 999; | ||
} | ||
|
||
public override void AddRecipes() | ||
{ | ||
ModRecipe recipe = new ModRecipe(mod); | ||
recipe.AddIngredient(ItemID.CopperCoin, 25); | ||
recipe.AddTile(TileID.Anvils); | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
using Terraria; | ||
using Terraria.ID; | ||
using Terraria.ModLoader; | ||
using Microsoft.Xna.Framework; | ||
|
||
namespace StrangeThings.Items | ||
{ | ||
public class CompressedGCoin : ModItem | ||
{ | ||
public override void SetStaticDefaults() | ||
{ | ||
DisplayName.SetDefault("Compressed Gold Coins"); | ||
Tooltip.SetDefault("A small stack of Gold coins that has been compressed"); | ||
} | ||
public override void SetDefaults() | ||
{ | ||
item.rare = 1; | ||
item.maxStack = 999; | ||
} | ||
|
||
public override void AddRecipes() | ||
{ | ||
ModRecipe recipe = new ModRecipe(mod); | ||
recipe.AddIngredient(ItemID.GoldCoin, 25); | ||
recipe.AddTile(TileID.Anvils); | ||
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.
Oops, something went wrong.