KyE039 Posted September 10, 2021 Share Posted September 10, 2021 Hello, could you help me ... I would like that when brushing a goat he gave me a horn the first time and that 20 days have to pass before he gives me another one. this is the code i am using inst:AddComponent("brushable") inst.components.brushable.regrowthdays = 1 inst.components.brushable.max = 1 inst.components.brushable.prize = "lightninggoathorn" Link to comment https://forums.kleientertainment.com/forums/topic/133493-hello-i-need-help-with-my-mod/ Share on other sites More sharing options...
DecDuck Posted September 10, 2021 Share Posted September 10, 2021 inst:AddComponent("brushable") inst.components.brushable.regrowthdays = 20 inst.components.brushable.max = 1 inst.components.brushable.prize = "lightninggoathorn" Should work Link to comment https://forums.kleientertainment.com/forums/topic/133493-hello-i-need-help-with-my-mod/#findComment-1493454 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