icantevenname Posted October 9, 2018 Share Posted October 9, 2018 (edited) I know that it's possible to have a character know a thing from the get-go, inst:DoTaskInTime(0, function(inst) inst.components.builder:AddRecipe("thingy") inst:PushEvent("unlockrecipe", { recipe = "thingy" }) end) So what would be the opposite? The idea being needing to use a Science Machine to prototype the locked out recipes. Edited October 9, 2018 by icantevenname Added info Link to comment https://forums.kleientertainment.com/forums/topic/96272-making-a-dumb-character-locking-default-recipies/ Share on other sites More sharing options...
Lumina Posted October 9, 2018 Share Posted October 9, 2018 I'm pretty sure this is possible, i saw code doing this to ensure that a character that has a variation of an existing recipe will not have the original recipe. I hope it can help your search. Link to comment https://forums.kleientertainment.com/forums/topic/96272-making-a-dumb-character-locking-default-recipies/#findComment-1091950 Share on other sites More sharing options...
icantevenname Posted October 10, 2018 Author Share Posted October 10, 2018 19 hours ago, Lumina said: I'm pretty sure this is possible, i saw code doing this to ensure that a character that has a variation of an existing recipe will not have the original recipe. I hope it can help your search. Can you point me in the direction of this mod? Link to comment https://forums.kleientertainment.com/forums/topic/96272-making-a-dumb-character-locking-default-recipies/#findComment-1092248 Share on other sites More sharing options...
Lumina Posted October 10, 2018 Share Posted October 10, 2018 No, i tried to find examples but couldn't. I'm pretty sure i saw similar requests in the past, but can't find them again. Link to comment https://forums.kleientertainment.com/forums/topic/96272-making-a-dumb-character-locking-default-recipies/#findComment-1092338 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