- Added vanilla crafted furniture set prices to all furniture - Bathtubs: 60c - Beds: 4s - Bookcases: 60c - Candelabra: 3s - Candles: 60c - Chairs: 30c - Chandeliers: 1s - Chests: 1s - Grandfather Clocks: 60c - Doors: 40c - Dressers: 1s - Lamps: 1s - Lanterns: 30c - Pianos: 60c - Sinks: 60c - Sofas: 60c - Tables: 60c - Toilets: 30c - Work Benches: 30c A few furniture pieces have special prices (ie. Auric Toilet) and added some to exclusive set pieces - Increased price of lab furniture again from 30c to 1s and added them into Exo/Auric lab furniture
35 lines
1.1 KiB
C#
35 lines
1.1 KiB
C#
using CalamityMod.Items.Materials;
|
|
using CalamityMod.Items.Placeables.Walls;
|
|
using CalamityMod.Tiles.Furniture.CraftingStations;
|
|
using Terraria.ID;
|
|
using Terraria.ModLoader;
|
|
|
|
namespace CalamityMod.Items.Placeables.FurnitureStatigel
|
|
{
|
|
public class StatigelBlock : ModItem, ILocalizedModType
|
|
{
|
|
public new string LocalizationCategory => "Items.Placeables";
|
|
public override void SetStaticDefaults()
|
|
{
|
|
Item.ResearchUnlockCount = 100;
|
|
}
|
|
|
|
public override void SetDefaults() => Item.DefaultToPlaceableTile(ModContent.TileType<Tiles.FurnitureStatigel.StatigelBlock>());
|
|
|
|
public override void AddRecipes()
|
|
{
|
|
CreateRecipe(25).
|
|
AddIngredient<PurifiedGel>().
|
|
AddTile<StaticRefiner>().
|
|
Register();
|
|
CreateRecipe().
|
|
AddIngredient<StatigelPlatform>(2).
|
|
Register();
|
|
CreateRecipe().
|
|
AddIngredient<StatigelWall>(4).
|
|
AddTile(TileID.WorkBenches).
|
|
Register();
|
|
}
|
|
}
|
|
}
|