aquelarrefox Posted June 22, 2019 Share Posted June 22, 2019 does posible to mod a character for avoid using a tab? for example avoid wilson for using magic tab, Wigfrid fomr using food tab or webber the dress tab and their respectives recipes? Link to comment https://forums.kleientertainment.com/forums/topic/107826-disable-a-tab-for-a-character/ Share on other sites More sharing options...
Ultroman Posted June 24, 2019 Share Posted June 24, 2019 There are several ways to go about this. I'm not sure we ever found a way to remove tabs for a specific character (maybe it's on the forum, but I can't find it). One of the easiest ways is probably to try setting your character's innate tech-abilities to a negative value, e.g. inst.components.builder.magic_bonus = -4 However, since techs do not map perfectly to the tabs, you may end up removing recipes you did not mean to, since several recipes require different values in the techs. I know we have solved adding custom recipe tabs to only a specific character, so it should be possible. I just gotta find the threads again. EDIT: It looks like adding recipe tabs is easy enough, but I can't find anything about disabling the original ones. You can always look through the builder-component, to see if you can find a good place to hook in to make it ignore certain recipes. Link to comment https://forums.kleientertainment.com/forums/topic/107826-disable-a-tab-for-a-character/#findComment-1213601 Share on other sites More sharing options...
Developer bizziboi Posted June 24, 2019 Developer Share Posted June 24, 2019 Hamlet has logic that I think could be piggybacked for this: CraftTabs:SetShouldShowTabFn - not sure how easy or hard it would be to mod similar logic into non-Hamlet craft tabs though. Link to comment https://forums.kleientertainment.com/forums/topic/107826-disable-a-tab-for-a-character/#findComment-1213611 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