BOONDON BEAR
Terrarian
nevermind
Do you actually have a semicolon ";" after "item.shootspeed = 12f" If you don't, add it. Look at this link: Error CSO116: A namespace can only contain types and namespace declarations - Unity Answers. Though this is an example in unity with c#. Error CSO116: A namespace can only contain types and namespace declarations. Check your namespace.I fixed that but now im getting error cso116 code:
DisplayName.SetDefault("Sword Of Power");
Tooltip.SetDefault("This is a modded sword.");
(public override void SetDefaults)
item.damage = 198;
item.melee = true;
item.width = 40;
item.height = 40;
item.useTime = 20;
item.useAnimation = 20;
item.useStyle = 1;
item.knockBack = 6;
item.value = 10000;
item.rare = 4;
item.UseSound = SoundID.Item1;
item.autoReuse = true;
(public override void AddRecipes)
ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient(ItemID.Broken Hero Sword, 10);
recipe.AddTile(TileID.WorkBenches);
recipe.SetResult(this);
(recipe.AddRecipe);
item.shoot = 302; item.shootspeed = 12f