Cyde042 Posted August 6, 2015 Share Posted August 6, 2015 I made a bucket for my goat milking mod and it's currently attached to the beard component. The issue is that the bucket being a "shaver" it gets the "Shave" tooltip when hovering on the goat, but I need it to say "Milk". I tried some things here and there but no luck. I tried making it respond to the prefab name by trying to override an action function in actions.lua (the game didn't respond to it because I don't know how to initialise it like prefabpostinit). It was something like this but I already deleted the paragraph.if (act.target.prefab == "lightninggoat") and (act.invobject.prefab == "bucket_mod") then GLOBAL.STRINGS.ACTIONS.SHAVE = "Milk" I don't think it's necesarry to create a separate component just for this one tool, there must be a way, right? Link to comment https://forums.kleientertainment.com/forums/topic/56835-2-tools-1-action-2-tooltips/ Share on other sites More sharing options...
Mobbstar Posted August 6, 2015 Share Posted August 6, 2015 (edited) Surely there is a way. Or you can just make a new component. I personally end up making new components. Isn't there a beefalo cheese mod? Might wanna consider that when plotting your route. Edited August 6, 2015 by Mobbstar Link to comment https://forums.kleientertainment.com/forums/topic/56835-2-tools-1-action-2-tooltips/#findComment-660619 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