Merge branch 'master' of https://github.com/CalamityTeam/CalamityMod
No files matched your search
@@ -20,6 +20,8 @@ namespace CalamityMod.Buffs.StatBuffs
|
||||
public override void Update(Player player, ref int buffIndex)
|
||||
{
|
||||
player.Calamity().kamiBoost = true;
|
||||
if (player.buffTime[buffIndex] == 1)
|
||||
Main.PlaySound(mod.GetLegacySoundSlot(SoundType.Custom, "Sounds/Custom/YanmeiKnifeExpire"), player.Center);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -109,6 +109,8 @@ namespace CalamityMod.CalPlayer
|
||||
public int evilSmasherBoost = 0;
|
||||
public int hellbornBoost = 0;
|
||||
public float animusBoost = 1f;
|
||||
public int searedPanCounter = 0;
|
||||
public int searedPanTimer = 0;
|
||||
public int potionTimer = 0;
|
||||
public bool noWings = false;
|
||||
public bool blockAllDashes = false;
|
||||
@@ -2516,6 +2518,8 @@ namespace CalamityMod.CalPlayer
|
||||
evilSmasherBoost = 0;
|
||||
hellbornBoost = 0;
|
||||
animusBoost = 1f;
|
||||
searedPanCounter = 0;
|
||||
searedPanTimer = 0;
|
||||
potionTimer = 0;
|
||||
bloodflareCoreLostDefense = 0;
|
||||
persecutedEnchantSummonTimer = 0;
|
||||
@@ -9512,20 +9516,25 @@ namespace CalamityMod.CalPlayer
|
||||
stealthAcceleration = 1f; // Reset acceleration when you attack
|
||||
|
||||
float lossReductionRatio = flatStealthLossReduction / (rogueStealthMax * 100f);
|
||||
float remainingStealth = rogueStealthMax * lossReductionRatio;
|
||||
float stealthToLose = rogueStealthMax - remainingStealth;
|
||||
// You cannot lose less than one stealth point.
|
||||
if (stealthToLose < 0.01f)
|
||||
stealthToLose = 0.01f;
|
||||
if (stealthStrikeHalfCost)
|
||||
{
|
||||
rogueStealth -= 0.5f * rogueStealthMax - lossReductionRatio;
|
||||
rogueStealth -= 0.5f * stealthToLose;
|
||||
if (rogueStealth <= 0f)
|
||||
rogueStealth = 0f;
|
||||
}
|
||||
else if (stealthStrike75Cost)
|
||||
{
|
||||
rogueStealth -= 0.75f * rogueStealthMax - lossReductionRatio;
|
||||
rogueStealth -= 0.75f * stealthToLose;
|
||||
if (rogueStealth <= 0f)
|
||||
rogueStealth = 0f;
|
||||
}
|
||||
else
|
||||
rogueStealth = lossReductionRatio;
|
||||
rogueStealth = remainingStealth;
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
@@ -22,6 +22,7 @@ using CalamityMod.Items.Potions;
|
||||
using CalamityMod.Items.Potions.Alcohol;
|
||||
using CalamityMod.Items.Weapons.Melee;
|
||||
using CalamityMod.Items.Weapons.Ranged;
|
||||
using CalamityMod.Items.Weapons.Rogue;
|
||||
using CalamityMod.Items.Weapons.Summon;
|
||||
using CalamityMod.NPCs;
|
||||
using CalamityMod.NPCs.AcidRain;
|
||||
@@ -2820,12 +2821,28 @@ namespace CalamityMod.CalPlayer
|
||||
if (player.ActiveItem().type != ModContent.ItemType<PrideHuntersPlanarRipper>())
|
||||
modPlayer.planarSpeedBoost = 0;
|
||||
}
|
||||
|
||||
if (modPlayer.brimlashBusterBoost)
|
||||
{
|
||||
if (player.ActiveItem().type != ModContent.ItemType<BrimlashBuster>() && player.ActiveItem().type != ModContent.ItemType<EvilSmasher>())
|
||||
if (player.ActiveItem().type != ModContent.ItemType<BrimlashBuster>())
|
||||
modPlayer.brimlashBusterBoost = false;
|
||||
}
|
||||
if (modPlayer.evilSmasherBoost > 0)
|
||||
{
|
||||
if (player.ActiveItem().type != ModContent.ItemType<EvilSmasher>())
|
||||
modPlayer.evilSmasherBoost = 0;
|
||||
}
|
||||
if (modPlayer.searedPanCounter > 0)
|
||||
{
|
||||
if (player.ActiveItem().type != ModContent.ItemType<SearedPan>())
|
||||
{
|
||||
modPlayer.searedPanCounter = 0;
|
||||
modPlayer.searedPanTimer = 0;
|
||||
}
|
||||
else if (modPlayer.searedPanTimer < SearedPan.ConsecutiveHitOpening)
|
||||
modPlayer.searedPanTimer++;
|
||||
else
|
||||
modPlayer.searedPanCounter = 0;
|
||||
}
|
||||
if (modPlayer.animusBoost > 1f)
|
||||
{
|
||||
if (player.ActiveItem().type != ModContent.ItemType<Animus>())
|
||||
|
||||
@@ -24,6 +24,7 @@ namespace CalamityMod.Effects
|
||||
public static Effect ImpFlameTrailShader;
|
||||
public static Effect SCalShieldShader;
|
||||
public static Effect RancorMagicCircleShader;
|
||||
public static Effect DoGDisintegrationShader;
|
||||
|
||||
public static Effect BaseFusableParticleEdgeShader;
|
||||
public static Effect AdditiveFusableParticleEdgeShader;
|
||||
@@ -51,6 +52,7 @@ namespace CalamityMod.Effects
|
||||
ImpFlameTrailShader = CalamityMod.Instance.GetEffect("Effects/ImpFlameTrail");
|
||||
SCalShieldShader = CalamityMod.Instance.GetEffect("Effects/SupremeShieldShader");
|
||||
RancorMagicCircleShader = CalamityMod.Instance.GetEffect("Effects/RancorMagicCircle");
|
||||
DoGDisintegrationShader = CalamityMod.Instance.GetEffect("Effects/DoGDisintegration");
|
||||
|
||||
BaseFusableParticleEdgeShader = CalamityMod.Instance.GetEffect("Effects/ParticleFusion/BaseFusableParticleEdgeShader");
|
||||
AdditiveFusableParticleEdgeShader = CalamityMod.Instance.GetEffect("Effects/ParticleFusion/AdditiveFusableParticleEdgeShader");
|
||||
@@ -76,6 +78,7 @@ namespace CalamityMod.Effects
|
||||
GameShaders.Misc["CalamityMod:ImpFlameTrail"] = new MiscShaderData(new Ref<Effect>(ImpFlameTrailShader), "TrailPass");
|
||||
GameShaders.Misc["CalamityMod:SupremeShield"] = new MiscShaderData(new Ref<Effect>(SCalShieldShader), "ShieldPass");
|
||||
GameShaders.Misc["CalamityMod:RancorMagicCircle"] = new MiscShaderData(new Ref<Effect>(RancorMagicCircleShader), "ShieldPass");
|
||||
GameShaders.Misc["CalamityMod:DoGDisintegration"] = new MiscShaderData(new Ref<Effect>(DoGDisintegrationShader), "DisintegrationPass");
|
||||
|
||||
GameShaders.Misc["CalamityMod:BaseFusableParticleEdge"] = new MiscShaderData(new Ref<Effect>(BaseFusableParticleEdgeShader), "ParticlePass");
|
||||
GameShaders.Misc["CalamityMod:AdditiveFusableParticleEdge"] = new MiscShaderData(new Ref<Effect>(AdditiveFusableParticleEdgeShader), "ParticlePass");
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
sampler uImage0 : register(s0);
|
||||
sampler uImage1 : register(s1);
|
||||
float3 uColor;
|
||||
float3 uSecondaryColor;
|
||||
float uOpacity : register(C0);
|
||||
float uSaturation;
|
||||
float uRotation;
|
||||
float uTime;
|
||||
float4 uSourceRect;
|
||||
float2 uWorldPosition;
|
||||
float uDirection;
|
||||
float3 uLightSource;
|
||||
float2 uImageSize0;
|
||||
float2 uImageSize1;
|
||||
|
||||
// This shader is largely based on code used for ExampleMod's cool death animation thing; it is suprisingly useful for this use case.
|
||||
float4 PixelShaderFunction(float2 coords : TEXCOORD0) : COLOR0
|
||||
{
|
||||
float4 color = tex2D(uImage0, coords);
|
||||
if (!any(color))
|
||||
return color;
|
||||
|
||||
float fade = pow(saturate(1 - uOpacity), 0.7);
|
||||
float4 color1 = tex2D(uImage1, float2(coords.x, frac(coords.y + uSaturation * 0.11)) * 0.3);
|
||||
|
||||
float readRed = fade * 1.05;
|
||||
|
||||
if (color1.r > readRed)
|
||||
{
|
||||
color.rgba = 0;
|
||||
}
|
||||
else if (color1.b > fade)
|
||||
{
|
||||
color = float4(1, 105.0 / 255, 180.0 / 255, 1);
|
||||
}
|
||||
return color;
|
||||
}
|
||||
|
||||
technique Technique1
|
||||
{
|
||||
pass DisintegrationPass
|
||||
{
|
||||
PixelShader = compile ps_2_0 PixelShaderFunction();
|
||||
}
|
||||
}
|
||||
@@ -8,6 +8,7 @@ using CalamityMod.NPCs.Ravager;
|
||||
using CalamityMod.Particles;
|
||||
using CalamityMod.Projectiles;
|
||||
using CalamityMod.Tiles.DraedonStructures;
|
||||
using CalamityMod.Tiles.FurnitureExo;
|
||||
using CalamityMod.Waters;
|
||||
using CalamityMod.World;
|
||||
using Microsoft.Xna.Framework;
|
||||
@@ -101,6 +102,8 @@ namespace CalamityMod.ILEditing
|
||||
private static int labDoorClosed = -1;
|
||||
private static int aLabDoorOpen = -1;
|
||||
private static int aLabDoorClosed = -1;
|
||||
private static int exoDoorOpen = -1;
|
||||
private static int exoDoorClosed = -1;
|
||||
|
||||
#region Load / Unload
|
||||
/// <summary>
|
||||
@@ -112,11 +115,13 @@ namespace CalamityMod.ILEditing
|
||||
var updateTime = typeof(Main).GetMethod("UpdateTime_SpawnTownNPCs", BindingFlags.Static | BindingFlags.NonPublic);
|
||||
VanillaSpawnTownNPCs = Delegate.CreateDelegate(typeof(Action), updateTime) as Action;
|
||||
|
||||
// Cache the four lab door tile types for efficiency.
|
||||
// Cache the six lab door tile types for efficiency.
|
||||
labDoorOpen = ModContent.TileType<LaboratoryDoorOpen>();
|
||||
labDoorClosed = ModContent.TileType<LaboratoryDoorClosed>();
|
||||
aLabDoorOpen = ModContent.TileType<AgedLaboratoryDoorOpen>();
|
||||
aLabDoorClosed = ModContent.TileType<AgedLaboratoryDoorClosed>();
|
||||
exoDoorOpen = ModContent.TileType<ExoDoorOpen>();
|
||||
exoDoorClosed = ModContent.TileType<ExoDoorClosed>();
|
||||
|
||||
// Mechanics / features
|
||||
On.Terraria.NPC.ApplyTileCollision += AllowTriggeredFallthrough;
|
||||
@@ -189,7 +194,7 @@ namespace CalamityMod.ILEditing
|
||||
internal static void Unload()
|
||||
{
|
||||
VanillaSpawnTownNPCs = null;
|
||||
labDoorOpen = labDoorClosed = aLabDoorOpen = aLabDoorClosed = -1;
|
||||
labDoorOpen = labDoorClosed = aLabDoorOpen = aLabDoorClosed = exoDoorClosed = exoDoorOpen = -1;
|
||||
|
||||
// Mechanics / features
|
||||
On.Terraria.NPC.ApplyTileCollision -= AllowTriggeredFallthrough;
|
||||
@@ -449,6 +454,8 @@ namespace CalamityMod.ILEditing
|
||||
return OpenLabDoor(tile, i, j, labDoorOpen);
|
||||
else if (tile.type == aLabDoorClosed)
|
||||
return OpenLabDoor(tile, i, j, aLabDoorOpen);
|
||||
else if (tile.type == exoDoorClosed)
|
||||
return OpenLabDoor(tile, i, j, exoDoorOpen);
|
||||
|
||||
// If it's anything else, let vanilla and/or TML handle it.
|
||||
return orig(i, j, direction);
|
||||
@@ -466,6 +473,8 @@ namespace CalamityMod.ILEditing
|
||||
return CloseLabDoor(tile, i, j, labDoorClosed);
|
||||
else if (tile.type == aLabDoorOpen)
|
||||
return CloseLabDoor(tile, i, j, aLabDoorClosed);
|
||||
else if (tile.type == exoDoorOpen)
|
||||
return CloseLabDoor(tile, i, j, exoDoorClosed);
|
||||
|
||||
// If it's anything else, let vanilla and/or TML handle it.
|
||||
return orig(i, j, forced);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Placeables;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.Armor.Vanity
|
||||
{
|
||||
[AutoloadEquip(EquipType.Head)]
|
||||
public class CalamityHood : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Hood of Calamity");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.width = 26;
|
||||
item.height = 24;
|
||||
item.rare = ItemRarityID.Lime;
|
||||
item.vanity = true;
|
||||
item.Calamity().donorItem = true;
|
||||
item.value = Item.sellPrice(gold: 2);
|
||||
}
|
||||
|
||||
public override bool DrawHead() => false;
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 551 B |
|
After Width: | Height: | Size: 2.1 KiB |
@@ -0,0 +1,25 @@
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.Armor.Vanity
|
||||
{
|
||||
[AutoloadEquip(EquipType.Body)]
|
||||
public class CalamityRobes : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Robes of Calamity");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.width = 26;
|
||||
item.height = 20;
|
||||
item.rare = ItemRarityID.Lime;
|
||||
item.vanity = true;
|
||||
item.Calamity().donorItem = true;
|
||||
item.value = Item.sellPrice(gold: 2);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 540 B |
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 5.9 KiB |
@@ -26,7 +26,7 @@ The life regen boost is stronger if below 75% health
|
||||
{
|
||||
item.width = 44;
|
||||
item.height = 36;
|
||||
item.maxStack = 999;
|
||||
item.maxStack = 30;
|
||||
item.useTurn = true;
|
||||
item.value = Item.sellPrice(gold: 5);
|
||||
item.rare = ItemRarityID.Purple;
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Accessories;
|
||||
using CalamityMod.Items.Pets;
|
||||
using CalamityMod.Items.Placeables;
|
||||
using CalamityMod.Items.Potions;
|
||||
using CalamityMod.Items.Tools.ClimateChange;
|
||||
using CalamityMod.Items.Weapons.Magic;
|
||||
@@ -14,7 +15,6 @@ using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
using CrateTile = CalamityMod.Tiles.Abyss.AbyssalCrateTile;
|
||||
using CalamityMod.Items.Placeables;
|
||||
|
||||
namespace CalamityMod.Items.Fishing.SulphurCatches
|
||||
{
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.Materials
|
||||
{
|
||||
public class Acidwood : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Acidwood");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.width = 26;
|
||||
item.height = 22;
|
||||
item.maxStack = 999;
|
||||
item.value = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,3 +1,4 @@
|
||||
using CalamityMod.Items.Placeables.FurnitureExo;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using Terraria;
|
||||
@@ -58,5 +59,13 @@ namespace CalamityMod.Items.Materials
|
||||
exoShine.noGravity = true;
|
||||
}
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<ExoPlatform>(), 2);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
using CalamityMod.Items.Placeables.FurnitureAcidwood;
|
||||
using CalamityMod.Tiles.Abyss;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.Placeables
|
||||
{
|
||||
public class Acidwood : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Acidwood");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.width = 26;
|
||||
item.height = 22;
|
||||
item.maxStack = 999;
|
||||
item.useTurn = true;
|
||||
item.autoReuse = true;
|
||||
item.useAnimation = 15;
|
||||
item.useTime = 10;
|
||||
item.useStyle = ItemUseStyleID.SwingThrow;
|
||||
item.consumable = true;
|
||||
item.createTile = ModContent.TileType<AcidwoodTile>();
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<AcidwoodPlatform>(), 2);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 641 B After Width: | Height: | Size: 641 B |
@@ -0,0 +1,36 @@
|
||||
using CalamityMod.Tiles.FurnitureAcidwood;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
namespace CalamityMod.Items.Placeables.FurnitureAcidwood
|
||||
{
|
||||
public class AcidwoodBathtub : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.SetNameOverride("Acidwood Bathtub");
|
||||
item.width = 28;
|
||||
item.height = 20;
|
||||
item.maxStack = 999;
|
||||
item.useTurn = true;
|
||||
item.autoReuse = true;
|
||||
item.useAnimation = 15;
|
||||
item.useTime = 10;
|
||||
item.useStyle = ItemUseStyleID.SwingThrow;
|
||||
item.consumable = true;
|
||||
item.createTile = ModContent.TileType<AcidwoodBathTile>();
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<Acidwood>(), 14);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddTile(TileID.Sawmill);
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 467 B |
@@ -0,0 +1,37 @@
|
||||
using CalamityMod.Tiles.FurnitureAcidwood;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
namespace CalamityMod.Items.Placeables.FurnitureAcidwood
|
||||
{
|
||||
public class AcidwoodBed : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.SetNameOverride("Acidwood Bed");
|
||||
item.width = 28;
|
||||
item.height = 20;
|
||||
item.maxStack = 999;
|
||||
item.useTurn = true;
|
||||
item.autoReuse = true;
|
||||
item.useAnimation = 15;
|
||||
item.useTime = 10;
|
||||
item.useStyle = ItemUseStyleID.SwingThrow;
|
||||
item.consumable = true;
|
||||
item.createTile = ModContent.TileType<AcidwoodBedTile>();
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<Acidwood>(), 15);
|
||||
recipe.AddIngredient(ItemID.Silk, 5);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddTile(TileID.Sawmill);
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 559 B |
@@ -0,0 +1,36 @@
|
||||
using CalamityMod.Tiles.FurnitureAcidwood;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
namespace CalamityMod.Items.Placeables.FurnitureAcidwood
|
||||
{
|
||||
public class AcidwoodBench : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.SetNameOverride("Acidwood Bench");
|
||||
item.width = 28;
|
||||
item.height = 20;
|
||||
item.maxStack = 999;
|
||||
item.useTurn = true;
|
||||
item.autoReuse = true;
|
||||
item.useAnimation = 15;
|
||||
item.useTime = 10;
|
||||
item.useStyle = ItemUseStyleID.SwingThrow;
|
||||
item.consumable = true;
|
||||
item.createTile = ModContent.TileType<AcidwoodBenchTile>();
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<Acidwood>(), 8);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddTile(TileID.Sawmill);
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 739 B |
@@ -0,0 +1,37 @@
|
||||
using CalamityMod.Tiles.FurnitureAcidwood;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
namespace CalamityMod.Items.Placeables.FurnitureAcidwood
|
||||
{
|
||||
public class AcidwoodBookcase : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.SetNameOverride("Acidwood Bookcase");
|
||||
item.width = 28;
|
||||
item.height = 20;
|
||||
item.maxStack = 999;
|
||||
item.useTurn = true;
|
||||
item.autoReuse = true;
|
||||
item.useAnimation = 15;
|
||||
item.useTime = 10;
|
||||
item.useStyle = ItemUseStyleID.SwingThrow;
|
||||
item.consumable = true;
|
||||
item.createTile = ModContent.TileType<AcidwoodBookcaseTile>();
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<Acidwood>(), 20);
|
||||
recipe.AddIngredient(ItemID.Book, 10);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddTile(TileID.Sawmill);
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 808 B |
@@ -0,0 +1,37 @@
|
||||
using CalamityMod.Tiles.FurnitureAcidwood;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
namespace CalamityMod.Items.Placeables.FurnitureAcidwood
|
||||
{
|
||||
public class AcidwoodCandelabra : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.SetNameOverride("Acidwood Candelabra");
|
||||
item.width = 28;
|
||||
item.height = 20;
|
||||
item.maxStack = 999;
|
||||
item.useTurn = true;
|
||||
item.autoReuse = true;
|
||||
item.useAnimation = 15;
|
||||
item.useTime = 10;
|
||||
item.useStyle = ItemUseStyleID.SwingThrow;
|
||||
item.consumable = true;
|
||||
item.createTile = ModContent.TileType<AcidwoodCandelabraTile>();
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<Acidwood>(), 5);
|
||||
recipe.AddIngredient(ItemID.Torch, 3);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddTile(TileID.WorkBenches);
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 844 B |
@@ -0,0 +1,37 @@
|
||||
using CalamityMod.Tiles.FurnitureAcidwood;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
namespace CalamityMod.Items.Placeables.FurnitureAcidwood
|
||||
{
|
||||
public class AcidwoodCandle : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.SetNameOverride("Acidwood Candle");
|
||||
item.width = 28;
|
||||
item.height = 20;
|
||||
item.maxStack = 999;
|
||||
item.useTurn = true;
|
||||
item.autoReuse = true;
|
||||
item.useAnimation = 15;
|
||||
item.useTime = 10;
|
||||
item.useStyle = ItemUseStyleID.SwingThrow;
|
||||
item.consumable = true;
|
||||
item.createTile = ModContent.TileType<AcidwoodCandleTile>();
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<Acidwood>(), 4);
|
||||
recipe.AddIngredient(ItemID.Torch);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddTile(TileID.WorkBenches);
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 362 B |
@@ -0,0 +1,36 @@
|
||||
using CalamityMod.Tiles.FurnitureAcidwood;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
namespace CalamityMod.Items.Placeables.FurnitureAcidwood
|
||||
{
|
||||
public class AcidwoodChair : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.SetNameOverride("Acidwood Chair");
|
||||
item.width = 28;
|
||||
item.height = 20;
|
||||
item.maxStack = 999;
|
||||
item.useTurn = true;
|
||||
item.autoReuse = true;
|
||||
item.useAnimation = 15;
|
||||
item.useTime = 10;
|
||||
item.useStyle = ItemUseStyleID.SwingThrow;
|
||||
item.consumable = true;
|
||||
item.createTile = ModContent.TileType<AcidwoodChairTile>();
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<Acidwood>(), 4);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddTile(TileID.WorkBenches);
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 710 B |
@@ -0,0 +1,38 @@
|
||||
using CalamityMod.Tiles.FurnitureAcidwood;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
namespace CalamityMod.Items.Placeables.FurnitureAcidwood
|
||||
{
|
||||
public class AcidwoodChandelier : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.SetNameOverride("Acidwood Chandelier");
|
||||
item.width = 28;
|
||||
item.height = 20;
|
||||
item.maxStack = 999;
|
||||
item.useTurn = true;
|
||||
item.autoReuse = true;
|
||||
item.useAnimation = 15;
|
||||
item.useTime = 10;
|
||||
item.useStyle = ItemUseStyleID.SwingThrow;
|
||||
item.consumable = true;
|
||||
item.createTile = ModContent.TileType<AcidwoodChandelierTile>();
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<Acidwood>(), 4);
|
||||
recipe.AddIngredient(ItemID.Torch, 4);
|
||||
recipe.AddIngredient(ItemID.Chain);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddTile(TileID.Anvils);
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 951 B |
@@ -0,0 +1,38 @@
|
||||
using CalamityMod.Tiles.FurnitureAcidwood;
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
namespace CalamityMod.Items.Placeables.FurnitureAcidwood
|
||||
{
|
||||
public class AcidwoodChest : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.SetNameOverride("Acidwood Chest");
|
||||
item.width = 28;
|
||||
item.height = 20;
|
||||
item.maxStack = 999;
|
||||
item.useTurn = true;
|
||||
item.autoReuse = true;
|
||||
item.useAnimation = 15;
|
||||
item.useTime = 10;
|
||||
item.useStyle = ItemUseStyleID.SwingThrow;
|
||||
item.consumable = true;
|
||||
item.createTile = ModContent.TileType<AcidwoodChestTile>();
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<Acidwood>(), 8);
|
||||
recipe.AddIngredient(ItemID.IronBar, 2);
|
||||
recipe.anyIronBar = true;
|
||||
recipe.SetResult(this);
|
||||
recipe.AddTile(TileID.WorkBenches);
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 614 B |
@@ -0,0 +1,39 @@
|
||||
using CalamityMod.Tiles.FurnitureAcidwood;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
namespace CalamityMod.Items.Placeables.FurnitureAcidwood
|
||||
{
|
||||
public class AcidwoodClock : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.SetNameOverride("Acidwood Clock");
|
||||
item.width = 28;
|
||||
item.height = 20;
|
||||
item.maxStack = 999;
|
||||
item.useTurn = true;
|
||||
item.autoReuse = true;
|
||||
item.useAnimation = 15;
|
||||
item.useTime = 10;
|
||||
item.useStyle = ItemUseStyleID.SwingThrow;
|
||||
item.consumable = true;
|
||||
item.createTile = ModContent.TileType<AcidwoodClockTile>();
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ItemID.IronBar, 3);
|
||||
recipe.anyIronBar = true;
|
||||
recipe.AddIngredient(ItemID.Glass, 6);
|
||||
recipe.AddIngredient(ModContent.ItemType<Acidwood>(), 10);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddTile(TileID.Sawmill);
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 724 B |
@@ -0,0 +1,36 @@
|
||||
using CalamityMod.Tiles.FurnitureAcidwood;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
namespace CalamityMod.Items.Placeables.FurnitureAcidwood
|
||||
{
|
||||
public class AcidwoodDoor : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.SetNameOverride("Acidwood Door");
|
||||
item.width = 28;
|
||||
item.height = 20;
|
||||
item.maxStack = 999;
|
||||
item.useTurn = true;
|
||||
item.autoReuse = true;
|
||||
item.useAnimation = 15;
|
||||
item.useTime = 10;
|
||||
item.useStyle = ItemUseStyleID.SwingThrow;
|
||||
item.consumable = true;
|
||||
item.createTile = ModContent.TileType<AcidwoodDoorClosed>();
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<Acidwood>(), 6);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddTile(TileID.WorkBenches);
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 533 B |
@@ -0,0 +1,36 @@
|
||||
using CalamityMod.Tiles.FurnitureAcidwood;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
namespace CalamityMod.Items.Placeables.FurnitureAcidwood
|
||||
{
|
||||
public class AcidwoodDresser : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.SetNameOverride("Acidwood Dresser");
|
||||
item.width = 28;
|
||||
item.height = 20;
|
||||
item.maxStack = 999;
|
||||
item.useTurn = true;
|
||||
item.autoReuse = true;
|
||||
item.useAnimation = 15;
|
||||
item.useTime = 10;
|
||||
item.useStyle = ItemUseStyleID.SwingThrow;
|
||||
item.consumable = true;
|
||||
item.createTile = ModContent.TileType<AcidwoodDresserTile>();
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<Acidwood>(), 16);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddTile(TileID.Sawmill);
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 753 B |
@@ -0,0 +1,37 @@
|
||||
using CalamityMod.Tiles.FurnitureAcidwood;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
namespace CalamityMod.Items.Placeables.FurnitureAcidwood
|
||||
{
|
||||
public class AcidwoodLamp : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.SetNameOverride("Acidwood Lamp");
|
||||
item.width = 28;
|
||||
item.height = 20;
|
||||
item.maxStack = 999;
|
||||
item.useTurn = true;
|
||||
item.autoReuse = true;
|
||||
item.useAnimation = 15;
|
||||
item.useTime = 10;
|
||||
item.useStyle = ItemUseStyleID.SwingThrow;
|
||||
item.consumable = true;
|
||||
item.createTile = ModContent.TileType<AcidwoodLampTile>();
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<Acidwood>(), 3);
|
||||
recipe.AddIngredient(ItemID.Torch);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddTile(TileID.WorkBenches);
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 644 B |
@@ -0,0 +1,37 @@
|
||||
using CalamityMod.Tiles.FurnitureAcidwood;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
namespace CalamityMod.Items.Placeables.FurnitureAcidwood
|
||||
{
|
||||
public class AcidwoodLantern : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.SetNameOverride("Acidwood Lantern");
|
||||
item.width = 28;
|
||||
item.height = 20;
|
||||
item.maxStack = 999;
|
||||
item.useTurn = true;
|
||||
item.autoReuse = true;
|
||||
item.useAnimation = 15;
|
||||
item.useTime = 10;
|
||||
item.useStyle = ItemUseStyleID.SwingThrow;
|
||||
item.consumable = true;
|
||||
item.createTile = ModContent.TileType<AcidwoodLanternTile>();
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<Acidwood>(), 6);
|
||||
recipe.AddIngredient(ItemID.Torch);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddTile(TileID.WorkBenches);
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 485 B |
@@ -0,0 +1,38 @@
|
||||
using CalamityMod.Tiles.FurnitureAcidwood;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
namespace CalamityMod.Items.Placeables.FurnitureAcidwood
|
||||
{
|
||||
public class AcidwoodPiano : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.SetNameOverride("Acidwood Piano");
|
||||
item.width = 28;
|
||||
item.height = 20;
|
||||
item.maxStack = 999;
|
||||
item.useTurn = true;
|
||||
item.autoReuse = true;
|
||||
item.useAnimation = 15;
|
||||
item.useTime = 10;
|
||||
item.useStyle = ItemUseStyleID.SwingThrow;
|
||||
item.consumable = true;
|
||||
item.createTile = ModContent.TileType<AcidwoodPianoTile>();
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ItemID.Bone, 4);
|
||||
recipe.AddIngredient(ModContent.ItemType<Acidwood>(), 15);
|
||||
recipe.AddIngredient(ItemID.Book);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddTile(TileID.Sawmill);
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 745 B |
@@ -0,0 +1,36 @@
|
||||
using CalamityMod.Tiles.FurnitureAcidwood;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.Placeables.FurnitureAcidwood
|
||||
{
|
||||
public class AcidwoodPlatform : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.SetNameOverride("Acidwood Platform");
|
||||
item.width = 8;
|
||||
item.height = 10;
|
||||
item.maxStack = 999;
|
||||
item.useTurn = true;
|
||||
item.autoReuse = true;
|
||||
item.useAnimation = 15;
|
||||
item.useTime = 10;
|
||||
item.useStyle = ItemUseStyleID.SwingThrow;
|
||||
item.consumable = true;
|
||||
item.createTile = ModContent.TileType<AcidwoodPlatformTile>();
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<Acidwood>());
|
||||
recipe.SetResult(this, 2);
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 340 B |
@@ -0,0 +1,38 @@
|
||||
using CalamityMod.Tiles.FurnitureAcidwood;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
namespace CalamityMod.Items.Placeables.FurnitureAcidwood
|
||||
{
|
||||
public class AcidwoodSink : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Tooltip.SetDefault("Counts as a water source");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.SetNameOverride("Acidwood Sink");
|
||||
item.width = 28;
|
||||
item.height = 20;
|
||||
item.maxStack = 999;
|
||||
item.useTurn = true;
|
||||
item.autoReuse = true;
|
||||
item.useAnimation = 15;
|
||||
item.useTime = 10;
|
||||
item.useStyle = ItemUseStyleID.SwingThrow;
|
||||
item.consumable = true;
|
||||
item.createTile = ModContent.TileType<AcidwoodSinkTile>();
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<Acidwood>(), 6);
|
||||
recipe.AddIngredient(ItemID.WaterBucket);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddTile(TileID.WorkBenches);
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 765 B |
@@ -0,0 +1,36 @@
|
||||
using CalamityMod.Tiles.FurnitureAcidwood;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
namespace CalamityMod.Items.Placeables.FurnitureAcidwood
|
||||
{
|
||||
public class AcidwoodTable : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.SetNameOverride("Acidwood Table");
|
||||
item.width = 28;
|
||||
item.height = 20;
|
||||
item.maxStack = 999;
|
||||
item.useTurn = true;
|
||||
item.autoReuse = true;
|
||||
item.useAnimation = 15;
|
||||
item.useTime = 10;
|
||||
item.useStyle = ItemUseStyleID.SwingThrow;
|
||||
item.consumable = true;
|
||||
item.createTile = ModContent.TileType<AcidwoodTableTile>();
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<Acidwood>(), 8);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddTile(TileID.WorkBenches);
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 606 B |
@@ -0,0 +1,35 @@
|
||||
using CalamityMod.Tiles.FurnitureAcidwood;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
namespace CalamityMod.Items.Placeables.FurnitureAcidwood
|
||||
{
|
||||
public class AcidwoodWorkbench : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.SetNameOverride("Acidwood Work Bench");
|
||||
item.width = 28;
|
||||
item.height = 20;
|
||||
item.maxStack = 999;
|
||||
item.useTurn = true;
|
||||
item.autoReuse = true;
|
||||
item.useAnimation = 15;
|
||||
item.useTime = 10;
|
||||
item.useStyle = ItemUseStyleID.SwingThrow;
|
||||
item.consumable = true;
|
||||
item.createTile = ModContent.TileType<AcidwoodWorkbenchTile>();
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<Acidwood>(), 10);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 434 B |
@@ -0,0 +1,39 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Tiles.Furniture.CraftingStations;
|
||||
using CalamityMod.Tiles.FurnitureExo;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
namespace CalamityMod.Items.Placeables.FurnitureExo
|
||||
{
|
||||
public class ExoBathtub : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.SetNameOverride("Exo Bathtub");
|
||||
item.width = 28;
|
||||
item.height = 20;
|
||||
item.maxStack = 999;
|
||||
item.useTurn = true;
|
||||
item.autoReuse = true;
|
||||
item.useAnimation = 15;
|
||||
item.useTime = 10;
|
||||
item.useStyle = ItemUseStyleID.SwingThrow;
|
||||
item.consumable = true;
|
||||
item.createTile = ModContent.TileType<ExoBathtubTile>();
|
||||
item.Calamity().customRarity = CalamityRarity.Violet;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<ExoPrism>(), 14);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddTile(ModContent.TileType<DraedonsForge>());
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 705 B |
@@ -0,0 +1,40 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Tiles.Furniture.CraftingStations;
|
||||
using CalamityMod.Tiles.FurnitureExo;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
namespace CalamityMod.Items.Placeables.FurnitureExo
|
||||
{
|
||||
public class ExoBed : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.SetNameOverride("Exo Bed");
|
||||
item.width = 28;
|
||||
item.height = 20;
|
||||
item.maxStack = 999;
|
||||
item.useTurn = true;
|
||||
item.autoReuse = true;
|
||||
item.useAnimation = 15;
|
||||
item.useTime = 10;
|
||||
item.useStyle = ItemUseStyleID.SwingThrow;
|
||||
item.consumable = true;
|
||||
item.createTile = ModContent.TileType<ExoBedTile>();
|
||||
item.Calamity().customRarity = CalamityRarity.Violet;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<ExoPrism>(), 15);
|
||||
recipe.AddIngredient(ItemID.Silk, 5);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddTile(ModContent.TileType<DraedonsForge>());
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 641 B |
@@ -0,0 +1,40 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Tiles.Furniture.CraftingStations;
|
||||
using CalamityMod.Tiles.FurnitureExo;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
namespace CalamityMod.Items.Placeables.FurnitureExo
|
||||
{
|
||||
public class ExoBookcase : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.SetNameOverride("Exo Bookcase");
|
||||
item.width = 28;
|
||||
item.height = 20;
|
||||
item.maxStack = 999;
|
||||
item.useTurn = true;
|
||||
item.autoReuse = true;
|
||||
item.useAnimation = 15;
|
||||
item.useTime = 10;
|
||||
item.useStyle = ItemUseStyleID.SwingThrow;
|
||||
item.consumable = true;
|
||||
item.createTile = ModContent.TileType<ExoBookcaseTile>();
|
||||
item.Calamity().customRarity = CalamityRarity.Violet;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<ExoPrism>(), 20);
|
||||
recipe.AddIngredient(ItemID.Book, 10);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddTile(ModContent.TileType<DraedonsForge>());
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 733 B |
@@ -0,0 +1,41 @@
|
||||
using CalamityMod.Items.DraedonMisc;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Tiles.Furniture.CraftingStations;
|
||||
using CalamityMod.Tiles.FurnitureExo;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
namespace CalamityMod.Items.Placeables.FurnitureExo
|
||||
{
|
||||
public class ExoCandelabra : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.SetNameOverride("Exo Candelabra");
|
||||
item.width = 28;
|
||||
item.height = 20;
|
||||
item.maxStack = 999;
|
||||
item.useTurn = true;
|
||||
item.autoReuse = true;
|
||||
item.useAnimation = 15;
|
||||
item.useTime = 10;
|
||||
item.useStyle = ItemUseStyleID.SwingThrow;
|
||||
item.consumable = true;
|
||||
item.createTile = ModContent.TileType<ExoCandelabraTile>();
|
||||
item.Calamity().customRarity = CalamityRarity.Violet;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<ExoPrism>(), 5);
|
||||
recipe.AddIngredient(ModContent.ItemType<PowerCell>(), 3);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddTile(ModContent.TileType<DraedonsForge>());
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 416 B |
@@ -0,0 +1,41 @@
|
||||
using CalamityMod.Items.DraedonMisc;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Tiles.Furniture.CraftingStations;
|
||||
using CalamityMod.Tiles.FurnitureExo;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
namespace CalamityMod.Items.Placeables.FurnitureExo
|
||||
{
|
||||
public class ExoCandle : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.SetNameOverride("Exo Candle");
|
||||
item.width = 28;
|
||||
item.height = 20;
|
||||
item.maxStack = 999;
|
||||
item.useTurn = true;
|
||||
item.autoReuse = true;
|
||||
item.useAnimation = 15;
|
||||
item.useTime = 10;
|
||||
item.useStyle = ItemUseStyleID.SwingThrow;
|
||||
item.consumable = true;
|
||||
item.createTile = ModContent.TileType<ExoCandleTile>();
|
||||
item.Calamity().customRarity = CalamityRarity.Violet;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<ExoPrism>(), 4);
|
||||
recipe.AddIngredient(ModContent.ItemType<PowerCell>());
|
||||
recipe.SetResult(this);
|
||||
recipe.AddTile(ModContent.TileType<DraedonsForge>());
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 256 B |
@@ -0,0 +1,39 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Tiles.Furniture.CraftingStations;
|
||||
using CalamityMod.Tiles.FurnitureExo;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
namespace CalamityMod.Items.Placeables.FurnitureExo
|
||||
{
|
||||
public class ExoChair : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.SetNameOverride("Exo Chair");
|
||||
item.width = 28;
|
||||
item.height = 20;
|
||||
item.maxStack = 999;
|
||||
item.useTurn = true;
|
||||
item.autoReuse = true;
|
||||
item.useAnimation = 15;
|
||||
item.useTime = 10;
|
||||
item.useStyle = ItemUseStyleID.SwingThrow;
|
||||
item.consumable = true;
|
||||
item.createTile = ModContent.TileType<ExoChairTile>();
|
||||
item.Calamity().customRarity = CalamityRarity.Violet;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<ExoPrism>(), 4);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddTile(ModContent.TileType<DraedonsForge>());
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 722 B |
@@ -0,0 +1,42 @@
|
||||
using CalamityMod.Items.DraedonMisc;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Tiles.Furniture.CraftingStations;
|
||||
using CalamityMod.Tiles.FurnitureExo;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
namespace CalamityMod.Items.Placeables.FurnitureExo
|
||||
{
|
||||
public class ExoChandelier : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.SetNameOverride("Exo Chandelier");
|
||||
item.width = 28;
|
||||
item.height = 20;
|
||||
item.maxStack = 999;
|
||||
item.useTurn = true;
|
||||
item.autoReuse = true;
|
||||
item.useAnimation = 15;
|
||||
item.useTime = 10;
|
||||
item.useStyle = ItemUseStyleID.SwingThrow;
|
||||
item.consumable = true;
|
||||
item.createTile = ModContent.TileType<ExoChandelierTile>();
|
||||
item.Calamity().customRarity = CalamityRarity.Violet;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<ExoPrism>(), 4);
|
||||
recipe.AddIngredient(ModContent.ItemType<PowerCell>(), 4);
|
||||
recipe.AddIngredient(ItemID.Chain);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddTile(ModContent.TileType<DraedonsForge>());
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 923 B |
@@ -0,0 +1,40 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Tiles.Furniture.CraftingStations;using CalamityMod.Tiles.FurnitureExo;
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
namespace CalamityMod.Items.Placeables.FurnitureExo
|
||||
{
|
||||
public class ExoChest : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.SetNameOverride("Exo Chest");
|
||||
item.width = 28;
|
||||
item.height = 20;
|
||||
item.maxStack = 999;
|
||||
item.useTurn = true;
|
||||
item.autoReuse = true;
|
||||
item.useAnimation = 15;
|
||||
item.useTime = 10;
|
||||
item.useStyle = ItemUseStyleID.SwingThrow;
|
||||
item.consumable = true;
|
||||
item.createTile = ModContent.TileType<ExoChestTile>();
|
||||
item.Calamity().customRarity = CalamityRarity.Violet;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<ExoPrism>(), 8);
|
||||
recipe.AddIngredient(ItemID.IronBar, 2);
|
||||
recipe.anyIronBar = true;
|
||||
recipe.SetResult(this);
|
||||
recipe.AddTile(ModContent.TileType<DraedonsForge>());
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 807 B |
@@ -0,0 +1,42 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Tiles.Furniture.CraftingStations;
|
||||
using CalamityMod.Tiles.FurnitureExo;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
namespace CalamityMod.Items.Placeables.FurnitureExo
|
||||
{
|
||||
public class ExoClock : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.SetNameOverride("Exo Clock");
|
||||
item.width = 28;
|
||||
item.height = 20;
|
||||
item.maxStack = 999;
|
||||
item.useTurn = true;
|
||||
item.autoReuse = true;
|
||||
item.useAnimation = 15;
|
||||
item.useTime = 10;
|
||||
item.useStyle = ItemUseStyleID.SwingThrow;
|
||||
item.consumable = true;
|
||||
item.createTile = ModContent.TileType<ExoClockTile>();
|
||||
item.Calamity().customRarity = CalamityRarity.Violet;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ItemID.IronBar, 3);
|
||||
recipe.anyIronBar = true;
|
||||
recipe.AddIngredient(ItemID.Glass, 6);
|
||||
recipe.AddIngredient(ModContent.ItemType<ExoPrism>(), 10);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddTile(ModContent.TileType<DraedonsForge>());
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 636 B |
@@ -0,0 +1,41 @@
|
||||
using CalamityMod.Items.DraedonMisc;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Tiles.Furniture.CraftingStations;
|
||||
using CalamityMod.Tiles.FurnitureExo;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
namespace CalamityMod.Items.Placeables.FurnitureExo
|
||||
{
|
||||
public class ExoConsole : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Exo Console");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.width = 12;
|
||||
item.height = 12;
|
||||
item.maxStack = 999;
|
||||
item.useTurn = true;
|
||||
item.autoReuse = true;
|
||||
item.useAnimation = 15;
|
||||
item.useTime = 10;
|
||||
item.useStyle = ItemUseStyleID.SwingThrow;
|
||||
item.consumable = true;
|
||||
item.createTile = ModContent.TileType<ExoConsoleTile>();
|
||||
item.Calamity().customRarity = CalamityRarity.Violet;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<ExoPrism>(), 10);
|
||||
recipe.AddIngredient(ModContent.ItemType<PowerCell>(), 8);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddTile(ModContent.TileType<DraedonsForge>());
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 546 B |
@@ -0,0 +1,41 @@
|
||||
using CalamityMod.Items.DraedonMisc;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Tiles.Furniture.CraftingStations;
|
||||
using CalamityMod.Tiles.FurnitureExo;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
namespace CalamityMod.Items.Placeables.FurnitureExo
|
||||
{
|
||||
public class ExoDisplay : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Exo Display");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.width = 12;
|
||||
item.height = 12;
|
||||
item.maxStack = 999;
|
||||
item.useTurn = true;
|
||||
item.autoReuse = true;
|
||||
item.useAnimation = 15;
|
||||
item.useTime = 10;
|
||||
item.useStyle = ItemUseStyleID.SwingThrow;
|
||||
item.consumable = true;
|
||||
item.createTile = ModContent.TileType<ExoDisplayTile>();
|
||||
item.Calamity().customRarity = CalamityRarity.Violet;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<ExoPrism>(), 15);
|
||||
recipe.AddIngredient(ModContent.ItemType<PowerCell>(), 5);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddTile(ModContent.TileType<DraedonsForge>());
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 812 B |
@@ -0,0 +1,39 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Tiles.Furniture.CraftingStations;
|
||||
using CalamityMod.Tiles.FurnitureExo;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
namespace CalamityMod.Items.Placeables.FurnitureExo
|
||||
{
|
||||
public class ExoDoor : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.SetNameOverride("Exo Door");
|
||||
item.width = 28;
|
||||
item.height = 20;
|
||||
item.maxStack = 999;
|
||||
item.useTurn = true;
|
||||
item.autoReuse = true;
|
||||
item.useAnimation = 15;
|
||||
item.useTime = 10;
|
||||
item.useStyle = ItemUseStyleID.SwingThrow;
|
||||
item.consumable = true;
|
||||
item.createTile = ModContent.TileType<ExoDoorClosed>();
|
||||
item.Calamity().customRarity = CalamityRarity.Violet;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<ExoPrism>(), 8);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddTile(ModContent.TileType<DraedonsForge>());
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 551 B |
@@ -0,0 +1,39 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Tiles.Furniture.CraftingStations;
|
||||
using CalamityMod.Tiles.FurnitureExo;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
namespace CalamityMod.Items.Placeables.FurnitureExo
|
||||
{
|
||||
public class ExoDresser : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.SetNameOverride("Exo Dresser");
|
||||
item.width = 28;
|
||||
item.height = 20;
|
||||
item.maxStack = 999;
|
||||
item.useTurn = true;
|
||||
item.autoReuse = true;
|
||||
item.useAnimation = 15;
|
||||
item.useTime = 10;
|
||||
item.useStyle = ItemUseStyleID.SwingThrow;
|
||||
item.consumable = true;
|
||||
item.createTile = ModContent.TileType<ExoDresserTile>();
|
||||
item.Calamity().customRarity = CalamityRarity.Violet;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<ExoPrism>(), 16);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddTile(ModContent.TileType<DraedonsForge>());
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 678 B |
@@ -0,0 +1,41 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Tiles.Furniture.CraftingStations;
|
||||
using CalamityMod.Tiles.FurnitureExo;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
namespace CalamityMod.Items.Placeables.FurnitureExo
|
||||
{
|
||||
public class ExoKeyboard : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.SetNameOverride("Exo Keyboard");
|
||||
item.width = 28;
|
||||
item.height = 20;
|
||||
item.maxStack = 999;
|
||||
item.useTurn = true;
|
||||
item.autoReuse = true;
|
||||
item.useAnimation = 15;
|
||||
item.useTime = 10;
|
||||
item.useStyle = ItemUseStyleID.SwingThrow;
|
||||
item.consumable = true;
|
||||
item.createTile = ModContent.TileType<ExoKeyboardTile>();
|
||||
item.Calamity().customRarity = CalamityRarity.Violet;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ItemID.Bone, 4);
|
||||
recipe.AddIngredient(ModContent.ItemType<ExoPrism>(), 15);
|
||||
recipe.AddIngredient(ItemID.Book);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddTile(ModContent.TileType<DraedonsForge>());
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 756 B |
@@ -0,0 +1,41 @@
|
||||
using CalamityMod.Items.DraedonMisc;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Tiles.Furniture.CraftingStations;
|
||||
using CalamityMod.Tiles.FurnitureExo;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
namespace CalamityMod.Items.Placeables.FurnitureExo
|
||||
{
|
||||
public class ExoLamp : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.SetNameOverride("Exo Lamp");
|
||||
item.width = 28;
|
||||
item.height = 20;
|
||||
item.maxStack = 999;
|
||||
item.useTurn = true;
|
||||
item.autoReuse = true;
|
||||
item.useAnimation = 15;
|
||||
item.useTime = 10;
|
||||
item.useStyle = ItemUseStyleID.SwingThrow;
|
||||
item.consumable = true;
|
||||
item.createTile = ModContent.TileType<ExoLampTile>();
|
||||
item.Calamity().customRarity = CalamityRarity.Violet;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<ExoPrism>(), 3);
|
||||
recipe.AddIngredient(ModContent.ItemType<PowerCell>());
|
||||
recipe.SetResult(this);
|
||||
recipe.AddTile(ModContent.TileType<DraedonsForge>());
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 532 B |
@@ -0,0 +1,41 @@
|
||||
using CalamityMod.Items.DraedonMisc;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Tiles.Furniture.CraftingStations;
|
||||
using CalamityMod.Tiles.FurnitureExo;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
namespace CalamityMod.Items.Placeables.FurnitureExo
|
||||
{
|
||||
public class ExoLantern : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.SetNameOverride("Exo Lantern");
|
||||
item.width = 28;
|
||||
item.height = 20;
|
||||
item.maxStack = 999;
|
||||
item.useTurn = true;
|
||||
item.autoReuse = true;
|
||||
item.useAnimation = 15;
|
||||
item.useTime = 10;
|
||||
item.useStyle = ItemUseStyleID.SwingThrow;
|
||||
item.consumable = true;
|
||||
item.createTile = ModContent.TileType<ExoLanternTile>();
|
||||
item.Calamity().customRarity = CalamityRarity.Violet;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<ExoPrism>(), 6);
|
||||
recipe.AddIngredient(ModContent.ItemType<PowerCell>());
|
||||
recipe.SetResult(this);
|
||||
recipe.AddTile(ModContent.TileType<DraedonsForge>());
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 508 B |
@@ -0,0 +1,38 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Tiles.FurnitureExo;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.Placeables.FurnitureExo
|
||||
{
|
||||
public class ExoPlatform : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.SetNameOverride("Exo Platform");
|
||||
item.width = 8;
|
||||
item.height = 10;
|
||||
item.maxStack = 999;
|
||||
item.useTurn = true;
|
||||
item.autoReuse = true;
|
||||
item.useAnimation = 15;
|
||||
item.useTime = 10;
|
||||
item.useStyle = ItemUseStyleID.SwingThrow;
|
||||
item.consumable = true;
|
||||
item.createTile = ModContent.TileType<ExoPlatformTile>();
|
||||
item.Calamity().customRarity = CalamityRarity.Violet;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<ExoPrism>());
|
||||
recipe.SetResult(this, 2);
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 423 B |
@@ -0,0 +1,41 @@
|
||||
using CalamityMod.Items.DraedonMisc;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Tiles.Furniture.CraftingStations;
|
||||
using CalamityMod.Tiles.FurnitureExo;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
namespace CalamityMod.Items.Placeables.FurnitureExo
|
||||
{
|
||||
public class ExoScreen : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Exo Screen");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.width = 12;
|
||||
item.height = 12;
|
||||
item.maxStack = 999;
|
||||
item.useTurn = true;
|
||||
item.autoReuse = true;
|
||||
item.useAnimation = 15;
|
||||
item.useTime = 10;
|
||||
item.useStyle = ItemUseStyleID.SwingThrow;
|
||||
item.consumable = true;
|
||||
item.createTile = ModContent.TileType<ExoScreenTile>();
|
||||
item.Calamity().customRarity = CalamityRarity.Violet;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<ExoPrism>(), 10);
|
||||
recipe.AddIngredient(ModContent.ItemType<PowerCell>(), 3);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddTile(ModContent.TileType<DraedonsForge>());
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 515 B |
@@ -0,0 +1,41 @@
|
||||
using CalamityMod.Items.DraedonMisc;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Tiles.Furniture.CraftingStations;
|
||||
using CalamityMod.Tiles.FurnitureExo;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
namespace CalamityMod.Items.Placeables.FurnitureExo
|
||||
{
|
||||
public class ExoServer : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Exo Server");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.width = 12;
|
||||
item.height = 12;
|
||||
item.maxStack = 999;
|
||||
item.useTurn = true;
|
||||
item.autoReuse = true;
|
||||
item.useAnimation = 15;
|
||||
item.useTime = 10;
|
||||
item.useStyle = ItemUseStyleID.SwingThrow;
|
||||
item.consumable = true;
|
||||
item.createTile = ModContent.TileType<ExoServerTile>();
|
||||
item.Calamity().customRarity = CalamityRarity.Violet;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<ExoPrism>(), 12);
|
||||
recipe.AddIngredient(ModContent.ItemType<PowerCell>(), 15);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddTile(ModContent.TileType<DraedonsForge>());
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 718 B |
@@ -0,0 +1,41 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Tiles.Furniture.CraftingStations;
|
||||
using CalamityMod.Tiles.FurnitureExo;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
namespace CalamityMod.Items.Placeables.FurnitureExo
|
||||
{
|
||||
public class ExoSink : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Tooltip.SetDefault("Counts as a water source");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.SetNameOverride("Exo Sink");
|
||||
item.width = 28;
|
||||
item.height = 20;
|
||||
item.maxStack = 999;
|
||||
item.useTurn = true;
|
||||
item.autoReuse = true;
|
||||
item.useAnimation = 15;
|
||||
item.useTime = 10;
|
||||
item.useStyle = ItemUseStyleID.SwingThrow;
|
||||
item.consumable = true;
|
||||
item.createTile = ModContent.TileType<ExoSinkTile>();
|
||||
item.Calamity().customRarity = CalamityRarity.Violet;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<ExoPrism>(), 6);
|
||||
recipe.AddIngredient(ItemID.WaterBucket);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddTile(ModContent.TileType<DraedonsForge>());
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 874 B |
@@ -0,0 +1,40 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Tiles.Furniture.CraftingStations;
|
||||
using CalamityMod.Tiles.FurnitureExo;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
namespace CalamityMod.Items.Placeables.FurnitureExo
|
||||
{
|
||||
public class ExoSofa : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.SetNameOverride("Exo Sofa");
|
||||
item.width = 28;
|
||||
item.height = 20;
|
||||
item.maxStack = 999;
|
||||
item.useTurn = true;
|
||||
item.autoReuse = true;
|
||||
item.useAnimation = 15;
|
||||
item.useTime = 10;
|
||||
item.useStyle = ItemUseStyleID.SwingThrow;
|
||||
item.consumable = true;
|
||||
item.createTile = ModContent.TileType<ExoSofaTile>();
|
||||
item.Calamity().customRarity = CalamityRarity.Violet;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<ExoPrism>(), 5);
|
||||
recipe.AddIngredient(ItemID.Silk, 2);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddTile(ModContent.TileType<DraedonsForge>());
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
}
|
||||