Taob Posted July 22, 2020 Share Posted July 22, 2020 (edited) I was trying to add a structure but when I checked the game files I noticed that that line was at the end, some had "nil, nil, nil, nil, 4" or "nil, nil, nil, 6" Recipe("minisign_item", {Ingredient("boards", 1)}, RECIPETABS.TOWN, TECH.SCIENCE_ONE, nil, nil, nil, nil, 4) Recipe("fence_item", {Ingredient("twigs", 3), Ingredient("rope", 1) }, RECIPETABS.TOWN, TECH.SCIENCE_ONE, nil,nil,nil,nil,6) Edited July 22, 2020 by Taob Link to comment Share on other sites More sharing options...
Thomas Die Posted July 22, 2020 Share Posted July 22, 2020 env.AddRecipeTab = function( rec_str, rec_sort, rec_atlas, rec_icon, rec_owner_tag, rec_crafting_station ) CUSTOM_RECIPETABS[rec_str] = { str = rec_str, sort = rec_sort, icon_atlas = rec_atlas, icon = rec_icon, owner_tag = rec_owner_tag, crafting_station = rec_crafting_station } STRINGS.TABS[rec_str] = rec_str return CUSTOM_RECIPETABS[rec_str] end Recipe = Class(function(self, name, ingredients, tab, level, placer_or_more_data, min_spacing, nounlock, numtogive, builder_tag, atlas, image, testfn, product, build_mode, build_distance) 1 Link to comment Share on other sites More sharing options...
Taob Posted July 22, 2020 Author Share Posted July 22, 2020 like this? Link to comment Share on other sites More sharing options...
Thomas Die Posted July 22, 2020 Share Posted July 22, 2020 yeah, i think. 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