Jump to content

My character specific item is able to be crafted by other characters


Recommended Posts

I'm not sure why however, they aren't able to use but they can craft it.

This is the code for the 2 items. "navvy" is just the tag for the character,

 

AddRecipeToFilter("techno_axe", "CHARACTER")
AddRecipeToFilter("charging_station", "CHARACTER")


AddRecipe("charging_station",
{ Ingredient("armorwood", 1), Ingredient("gears", 2)},
RECIPETABS.WAR,
TECH.NONE,
nil,
nil,
nil,
nil,
navvy, -- <- Custom character tag would go here if you wanted only that character to craft your item
"images/inventoryimages/charging_station.xml")


AddRecipe("techno_axe",
{ Ingredient("multitool_axe_pickaxe", 1), Ingredient("gears", 2)},
RECIPETABS.WAR,
TECH.NONE,
nil,
nil,
nil,
nil,
navvy, -- <- Custom character tag would go here if you wanted only that character to craft your item
"images/inventoryimages/techno_axe.xml")

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...