Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement varmints #191

Open
cbcerquiaga opened this issue Jan 23, 2019 · 1 comment
Open

Implement varmints #191

cbcerquiaga opened this issue Jan 23, 2019 · 1 comment
Assignees
Labels
assets enhancement New feature or request
Milestone

Comments

@cbcerquiaga
Copy link
Owner

We need animated pests that come and eat plants. When attacked with the how, they need to be scared away temporarily, and when struck with it they need to die (and maybe add meat and fur to the inventory?). We should have at least 3 different AIs to make the minigame more interesting.

@cbcerquiaga cbcerquiaga added enhancement New feature or request assets labels Jan 23, 2019
@cbcerquiaga cbcerquiaga added this to the farming milestone Jan 23, 2019
@cbcerquiaga cbcerquiaga self-assigned this Jan 23, 2019
cbcerquiaga added a commit that referenced this issue Feb 28, 2019
cbcerquiaga added a commit that referenced this issue Feb 28, 2019
#191 Doesn't do anything yet, but I think we can implement it pretty easily by extending the hunting enemy AI script and building off of it.
cbcerquiaga added a commit that referenced this issue Mar 6, 2019
#191 added a 2d array to keep track of the states of all of the plots so pests can have more information about their surroundings and made some small progress on the rest of the AI
@cbcerquiaga
Copy link
Owner Author

Right now, I'm thinking that for the AI, the states ought to be searching (circling the area looking for a nearby good plot), running (running away from the player for their safety), and chasing (getting to food and spoiling it). I can't think of anything else I'd want them to do...maybe we can have some randomness to their movements, making them randomly go different ways when searching or have them occasionally rush to food no matter where the player is (maybe a "hungry chase" if it's been too long since they've eaten?)

cbcerquiaga added a commit that referenced this issue Mar 6, 2019
#191 Added most of the code to make varmints spawn randomly. It doesn't quite work yet though
cbcerquiaga added a commit that referenced this issue Mar 7, 2019
#191 added a function for them to circle the plots. Still needs work, and need to write code to check for plots with food and make some way to calculate priority
cbcerquiaga added a commit that referenced this issue Mar 18, 2019
There's an issue with niether move_and_slide nor move_and_collide not working
#191
cbcerquiaga added a commit that referenced this issue May 25, 2019
#191 They move in small circles now instead of getting stuck on the edge of the map
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assets enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant