I've been adding a few mod recipes lately that require a new tech ingredient and came across an issue where they aren't actually counted as such but a default ingredient requiring x amount of an item (which doesn't exist so this craft is basically impossible to make) instead of requiring a station tech level :
how it is < > how it should be
The problem seems to be that IsTechIngredient (recipe.lua) will only recognise the TECH_INGREDIENT of the game since recipes load before mods do, is_tech_ingredient will not include further tech ingredients added.
Recipe will consider TECH_INGREDIENT added later from mods as normal ingredient.
I've linked the log showing all the recipes + a mod ones that include a certain recipe with a tech ing (look for sculpting_material vs cherryruins_material)
Hope this helps.
- 1
- 1
- 1
There are no comments to display.
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 accountSign in
Already have an account? Sign in here.
Sign In Now