-
Notifications
You must be signed in to change notification settings - Fork 0
/
UnhallowedShard.CS
executable file
·44 lines (39 loc) · 1.28 KB
/
UnhallowedShard.CS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace MechParadise
{
public class UnhallowedShard : ModItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Unhallowed Shard");
Tooltip.SetDefault("'The holding place of ancient spirits'");
}
public override void SetDefaults()
{
item.width = 20;
item.height = 20;
item.maxStack = 99;
item.value = 2000;
item.rare = 4;
}
public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient(ItemID.ClockworkAssaultRifle);
recipe.AddTile(null, "BossForge");
recipe.SetResult(this, 10);
recipe.AddRecipe();
recipe = new ModRecipe(mod);
recipe.AddIngredient(ItemID.LaserRifle);
recipe.AddTile(null, "BossForge");
recipe.SetResult(this, 10);
recipe.AddRecipe();
recipe = new ModRecipe(mod);
recipe.AddIngredient(ItemID.BreakerBlade);
recipe.AddTile(null, "BossForge");
recipe.SetResult(this, 10);
}
}
}