Jabberwocky
Skeletron Prime
(are you missing a using directive or an assembly reference?) covers itself pretty well: you're missing a "using" directive at the top. Try going through various example code items that do something like you want to do, and look to see what else they have up there. Hint: it involves your other message.I'm making a magic weapon and these errors keep popping up
c:\Users\Skultar\Documents\My Games\Terraria\ModLoader\Mod Sources\MyMod\Items\Weapons\MagicWeapon.cs.cs(21,4) : error CS0118: 'Terraria.ModLoader.ModItem.item' is a 'property' but is used like a 'type'
c:\Users\Skultar\Documents\My Games\Terraria\ModLoader\Mod Sources\MyMod\Items\Weapons\MagicWeapon.cs.cs(32,21) : error CS1061: 'Terraria.ModLoader.Mod' does not contain a definition for 'projectileType' and no extension method 'projectileType' accepting a first argument of type 'Terraria.ModLoader.Mod' could be found (are you missing a using directive or an assembly reference?)
snip
Cheesy newbie method I was using til I started getting a feel for "using" directives: use Visual Studio instead of Notepad++ or whatever. Dump a mess of "using" directives into the top of your page if you think they MIGHT be relevant, then build your code. Any "using" directive you don't need, VS will grey out and, if you mouse over it, VS will tell you it's not being used. You can delete those.