In Aveyond 2, there's a feature where you can get eggs and milk from your farm every couple of hours or so. I want to add something like that to my game, but I have no idea how to do it. I get the feeling the feature in Aveyond 2 was done through a mixture of scripts and event commands, but as I said, I have no idea how I would achieve this.
Here's how it worked in Aveyond 2, at least from a player's perspective: You have the chickens. They lay eggs. You get the eggs. If you come back before a certain time after you get the eggs there aren't any eggs to pick up. After a certain time you can get more eggs, etc. With the milk it's the same thing except you have a cow. I think even the tournament in the game used the same system. I say this because you had to wait actual time to continue through it, instead of simply exiting and reentering the area.
I don't know how I would achieve this, and I can't seem to find a script out there that does this.
I'd like something like what Aveyond 2 has because my game has a crafting system, and I'd like the player to be able to get items from the environment and not just from enemies, stores, and chests.
Here's how it worked in Aveyond 2, at least from a player's perspective: You have the chickens. They lay eggs. You get the eggs. If you come back before a certain time after you get the eggs there aren't any eggs to pick up. After a certain time you can get more eggs, etc. With the milk it's the same thing except you have a cow. I think even the tournament in the game used the same system. I say this because you had to wait actual time to continue through it, instead of simply exiting and reentering the area.
I don't know how I would achieve this, and I can't seem to find a script out there that does this.
I'd like something like what Aveyond 2 has because my game has a crafting system, and I'd like the player to be able to get items from the environment and not just from enemies, stores, and chests.