Skip to content

Monsters: Hunter AI #3

Description

@Shoes01

A very simple AI that roams the maps and kills prey.

Life cycle

A hunter AI will attempt to detect the scent of nearby prey (via dijkstra map).
If the detection fails (the dijkstra number is great than the detection skill), then the hunter AI will choose a direction at random and move towards it. It will continue to attempt to detect scent (it will not know if it is moving away or towards, despite the dijkstra map being able to inform the AI). After 15(?) paces, it will choose a new direction and restart the process.
If the detection is successful, it will just the dijkstra map to move towards the prey.
Once the hunter reaches the prey, it will attack it to death. It will incur injuries.
After killing the prey, it will consume the remains. After doing so, the hunter will regain some hp, and birth a new hunter. The new hunter will have stats influenced by the killed prey. These actions will require time spent.
The cycle restarts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions