Jump to content

Recommended Posts

I'm trying to add a recipe for the mooncaller staff, but the code keeps crashing my game.

 

AddRecipe("opalstaff", {Ingredient("opalpreciousgem", 1), Ingredient("livinglog", 1), Ingredient("nightmarefuel" , 2)}, RECIPETABS.CELESTIAL, TECH.CELESTIAL_THREE, nil, nil, nil, nil)

Link to comment
https://forums.kleientertainment.com/forums/topic/107894-add-crafting-recipes/
Share on other sites

You look like you need the newcomer post. It'll tell you where to find the log files and how to debug your mod.

Looking at what you have here, though, I can tell you that there is no such thing as CELESTIAL_THREE. There's a CELESTIAL_ONE, though. If you REALLY want the recipe to require a 3 in CELESTIAL (can you even get 3?), you can replace TECH.CELESTIAL_THREE with { CELESTIAL = 3 }

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
×
  • Create New...