cameron8800 Posted January 1, 2021 Share Posted January 1, 2021 I have been working on changing wormwood's item recipes, but I can't seem to get it to actually work. Does anyone know how to change an item recipe? Link to comment Share on other sites More sharing options...
Thomas Die Posted January 4, 2021 Share Posted January 4, 2021 RECIPETABS = GLOBAL.RECIPETABS Recipe = GLOBAL.Recipe Ingredient = GLOBAL.Ingredient TECH = GLOBAL.TECH Recipe("recipe_name", {Ingredient("ingredient_1", amount), Ingredient("ingredient_2", amount)}, RECIPETABS.THE_TAB, TECH.NONE, nil, nil, nil, nil, "CHARACTER_TAG") local AVAILABLE_TECH = { "SCIENCE", "MAGIC", "ANCIENT", "CELESTIAL", "MOON_ALTAR", "SHADOW", "CARTOGRAPHY", "SEAFARING", "SCULPTING", "ORPHANAGE", --teehee "PERDOFFERING", "WARGOFFERING", "PIGOFFERING", "CARRATOFFERING", "MADSCIENCE", "FOODPROCESSING", "FISHING", "WINTERSFEASTCOOKING", "HERMITCRABSHOP", "TURFCRAFTING", } Tab names amount of ingredient is an integer and tech amount is a capitalized number as a word --ref ----NATURE---- Recipe("livinglog", {Ingredient(CHARACTER_INGREDIENT.HEALTH, 20)}, CUSTOM_RECIPETABS.NATURE, TECH.NONE, nil, nil, nil, nil, "plantkin") Recipe("armor_bramble", {Ingredient("livinglog", 2), Ingredient("boneshard", 4)}, CUSTOM_RECIPETABS.NATURE, TECH.NONE, nil, nil, nil, nil, "plantkin") Recipe("trap_bramble", {Ingredient("livinglog", 1), Ingredient("stinger", 1)}, CUSTOM_RECIPETABS.NATURE, TECH.NONE, nil, nil, nil, nil, "plantkin") Recipe("compostwrap", {Ingredient("poop", 5), Ingredient("spoiled_food", 2), Ingredient("nitre", 1)}, CUSTOM_RECIPETABS.NATURE, TECH.NONE, nil, nil, nil, nil, "plantkin") make CHARACTER_INGREDIENT into GLOBAL.CHARACTER_INGREDIENT if you want to use if also character ingredients are only allowed in multiples of 5 including 0 2 Link to comment Share on other sites More sharing options...
Recommended Posts
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