NikIsSick
Plantera
I can't see the picture, but the createtile refers to a tile that doesn't exist.
and this is the ExamplePrinter
This is the ExamplePrinterSprite
I can't see the picture, but the createtile refers to a tile that doesn't exist.
You haveView attachment 121972
and this is the ExamplePrinter
View attachment 121973
This is the ExamplePrinterSprite
View attachment 121974
Do you want me to delete item.createTile = tooYou have
item.createTile = mod.TileType("ExamplePrinterSprite");
but the tile is called
ExamplePrinter
so change it to mod.TileType("ExamplePrinter");
No, I was just showing the part to changeDo you want me to delete item.createTile = too
using Terraria.ID;
using Terraria.ModLoader;
namespace NikIsSikYoyoMod.Items.Placeable
{
public class ExamplePrinterSprite : ModItem
{
public override void SetDefaults()
{
item.name = "3D Printer";
item.width = 28;
item.height = 14;
item.maxStack = 1;
AddTooltip("");
item.useTurn = true;
item.autoReuse = true;
item.useAnimation = 15;
item.useTime = 10;
item.useStyle = 1;
item.consumable = true;
item.value = 150;
item.createTile = mod.TileType("ExamplePrinter");
}
public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
recipe.SetResult(this);
recipe.AddRecipe();
}
}
}
I have visual studio. Thats what i mod the game.No list. and it gives me an error ;-;
Ah yes, i have not see, also Steven for your errror x)You need to put using Terraria.ID; at the top of your code.
Player player = Main.player[projectile.owner];
if (!player.active)
{
projectile.Kill();
}
if (Main.player[npc.target].dead)
{
npc.TargetClosest(true);
if (Main.player[npc.target].dead)
{
npc.velocity = new Vector2(0f, 10f);
if (npc.timeLeft > 10)
{
npc.timeLeft = 10;
for (int index = 0; index < 200; ++index)
{
if (Main.projectile[index].type == mod.ProjectileType("nameminion"))
{
Main.projectile[index].Kill()
}
}
}
return;
}
}
when mechworm left(or not, but he can check, maybe? :x ), you have try?
Code:if (Main.player[npc.target].dead) { npc.TargetClosest(true); if (Main.player[npc.target].dead) { npc.velocity = new Vector2(0f, 10f); if (npc.timeLeft > 10) { npc.timeLeft = 10; for (int index = 0; index < 200; ++index) { if (Main.projectile[index].type == mod.ProjectileType("nameminion")) { Main.projectile[index].Kill() } } } return; } }