SenL Posted February 17, 2015 Share Posted February 17, 2015 Hi, I have a custom turret that takes ingredients x y and z. When it's destroyed, it gives back all x y and z -- this is not desired haha. How do I fix this? I copy eyeturret and it only statesinst:AddComponent("lootdropper")(When eyeturret dies, it drops nothing) Thanks. Link to comment https://forums.kleientertainment.com/forums/topic/51083-lootdropper/ Share on other sites More sharing options...
rezecib Posted February 17, 2015 Share Posted February 17, 2015 (edited) @SenL, The recipe gives an eyeturret_item, which places an eyeturret. I'm guessing you have a recipe for the turret directly. But like with the butterfly recipe mod, you could add a finiteuses component and set its percent to 0. Or maybe just remove the lootdropper component? I don't think you need that. Edited February 17, 2015 by rezecib Link to comment https://forums.kleientertainment.com/forums/topic/51083-lootdropper/#findComment-613868 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