Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
All mod content added
  • Loading branch information
vizthex123 authored Sep 10, 2018
1 parent 5813921 commit 551438b
Show file tree
Hide file tree
Showing 61 changed files with 1,089 additions and 0 deletions.
32 changes: 32 additions & 0 deletions Accessories/LargeCCoin.cs
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();
}
}
}
Binary file added Accessories/LargeCCoin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 32 additions & 0 deletions Accessories/LargeGCoin.cs
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();
}
}
}
Binary file added Accessories/LargeGCoin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 32 additions & 0 deletions Accessories/LargePCoin.cs
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();
}
}
}
Binary file added Accessories/LargePCoin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 32 additions & 0 deletions Accessories/LargeSCoin.cs
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();
}
}
}
Binary file added Accessories/LargeSCoin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
49 changes: 49 additions & 0 deletions Armor/CopperCoinChest.cs
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();
}
}
}
Binary file added Armor/CopperCoinChest.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Armor/CopperCoinChest_Arms.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Armor/CopperCoinChest_Body.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Armor/CopperCoinChest_Female.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
49 changes: 49 additions & 0 deletions Armor/CopperCoinHelm.cs
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();
}
}
}
Binary file added Armor/CopperCoinHelm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Armor/CopperCoinHelm_Head.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
49 changes: 49 additions & 0 deletions Armor/CopperCoinLegs.cs
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();
}
}
}
Binary file added Armor/CopperCoinLegs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Armor/CopperCoinLegs_Legs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
39 changes: 39 additions & 0 deletions Items/Blocks/SoulInfuser.cs
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();
}
}
}
Binary file added Items/Blocks/SoulInfuser.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 30 additions & 0 deletions Items/CompressedCCoin.cs
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();
}
}
}
Binary file added Items/CompressedCCoin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 30 additions & 0 deletions Items/CompressedGCoin.cs
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();
}
}
}
Binary file added Items/CompressedGCoin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 551438b

Please sign in to comment.