CaptainRC Posted September 6, 2012 Share Posted September 6, 2012 (edited) Ok, after many requests, I've decided to at least try to add one little function to my old "Be a Milk Drinker" mod and make the milk harvestable from cows. Unfortunately, I don't know how to do that. Could someone show me how? Even better if you can explain to me how I can make it so that you can only harvest if you have a certain item. Edited September 6, 2012 by CaptainRC Link to comment Share on other sites More sharing options...
Mujuro Posted September 6, 2012 Share Posted September 6, 2012 There are probably a few ways to go about this, though I can't say I've tried 'activating' a cow. :P One way would be to stick a script against a cow that does a GetItemCount() against your object. Another way could be to bind your cows to an event node, e.g., Player Activate Actor and bind the item check condition directly in there to trigger an admin quest that results in obtaining milk (e.g., when the quest is triggered through the event node, your quest would could be as simple as setting up your Reference Aliases for the actors (e.g., player and cow), doing a Game.GetPlayer().AddItem(milk, 1) plus some sort of timer interval set against GameDaysPassed so that you can't milk the same cow again for a certain period of time. Of course, I could be completely wrong. :P Link to comment Share on other sites More sharing options...
CaptainRC Posted September 7, 2012 Author Share Posted September 7, 2012 Ok, so it seems that I need a script. Unfortunately, I'm terrible at those. Link to comment Share on other sites More sharing options...
budcat Posted September 7, 2012 Share Posted September 7, 2012 (edited) Granted I'm just throwing this at the wall only because you haven't found a solution yet. But you could make the cow "talk" and add "dialog" which is the option to milk the cow or leave him (edit: her, don't go milking bulls :pinch:) alone and then make the choosing milk option give you the item. Edited September 7, 2012 by budcat Link to comment Share on other sites More sharing options...
Mujuro Posted September 7, 2012 Share Posted September 7, 2012 Granted I'm just throwing this at the wall only because you haven't found a solution yet. But you could make the cow "talk" and add "dialog" which is the option to milk the cow or leave him (edit: her, don't go milking bulls :pinch:) alone and then make the choosing milk option give you the item.This should work, but he'd still need to script the milk add and the timer to prevent milking of the same cow within a certain time interval. Link to comment Share on other sites More sharing options...
Recommended Posts