Jump to content

Where's the character tag?


Recommended Posts

Modded characters do not have tags by default, you would have to add one.

They would go in "local common_postinit" in "[character name].lua", and it would look like this:

Quote

inst:AddTag("exampletag")

Characters like Wilson have their tags in the same place.

Also, the above poster is correct. You'd want either "AddRecipe2" or "AddCharacterRecipe" depending on whether or not your item is specific to one Survivor.

  • Like 1
Link to comment
Share on other sites

12 minutes ago, Chesed said:

Modded characters do not have tags by default, you would have to add one.

They would go in "local common_postinit" in "[character name].lua", and it would look like this:

Characters like Wilson have their tags in the same place.

Also, the above poster is correct. You'd want either "AddRecipe2" or "AddCharacterRecipe" depending on whether or not your item is specific to one Survivor.

Thank you for the help

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
  • Create New...