F5Astronine
Terrarian
So I just started trying to make my first mod with no experience, and I wanted to edit the crafting station of the Basic Sword so that it's obtainable but not until later on.
However when I replaced the tile ID for the crafting station (changed to 412 from WorkBenches) I get this error that says:
"BasicSword.cs(35,25): error CS1003: Syntax error, ',' expected"
This specific character in the code is the period that separates "TileID" and the actual tile ID (412) in the crafting station input.
So I replaced the period with a comma, then was greeted with this error:
"BasicSword.cs(35,19): error CS0119: 'TileID' is a type, which is not valid in the given context"
Then I undid the replacement and instead typed a comma AFTER the period, which then resulted in this error:
"BasicSword.cs(35,26): error CS1001: Identifier expected"
I have no idea what to do with any of this now and I seriously need some assistance. I've been wanting to make a mod for multiple years and have so many ideas written down but I can't seem to be able to understand how to change even 12 characters of text in a .cs file. If anyone can understand me at all, PLEASE dear God help me out here.
However when I replaced the tile ID for the crafting station (changed to 412 from WorkBenches) I get this error that says:
"BasicSword.cs(35,25): error CS1003: Syntax error, ',' expected"
This specific character in the code is the period that separates "TileID" and the actual tile ID (412) in the crafting station input.
So I replaced the period with a comma, then was greeted with this error:
"BasicSword.cs(35,19): error CS0119: 'TileID' is a type, which is not valid in the given context"
Then I undid the replacement and instead typed a comma AFTER the period, which then resulted in this error:
"BasicSword.cs(35,26): error CS1001: Identifier expected"
I have no idea what to do with any of this now and I seriously need some assistance. I've been wanting to make a mod for multiple years and have so many ideas written down but I can't seem to be able to understand how to change even 12 characters of text in a .cs file. If anyone can understand me at all, PLEASE dear God help me out here.
Last edited: