mirror of
https://github.com/YouHaveTrouble/YHTMod.git
synced 2026-05-11 21:56:54 +00:00
14 lines
360 B
C#
14 lines
360 B
C#
using Terraria.GameContent.Creative;
|
|
using Terraria.ModLoader;
|
|
|
|
namespace YHTMod.Items;
|
|
|
|
public class TheKey : ModItem {
|
|
|
|
public override void SetStaticDefaults() {
|
|
DisplayName.SetDefault("The Key");
|
|
Tooltip.SetDefault("Opens all locks.");
|
|
CreativeItemSacrificesCatalog.Instance.SacrificeCountNeededByItemId[Type] = 1;
|
|
}
|
|
|
|
} |