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

Time-Based Behaviors for AI agents #7

merged 16 commits into from Jul 5, 2019


None yet
3 participants
Copy link

commented Jun 19, 2019


  • AI behaviors that act according to current world time, in this case returning at night.
  • Adds CheckNightAction, which allows for behavior trees to behave based on time-of-day cues.
  • All four types of characters will return to their spawn buildings at nighttime.
  • The Nocturnal gooey has been added, which unlike all the other characters, will only move around at night:


  • Creation of TimeSensitiveComponent, to allow behaviors based on world time.
  • Characters returning to shelter at night
  • Returning home with pathfinding (to be completed in a later PR)
  • Town gatherings at specific times (noon, morning, evening) (also for a later PR)

@AndyTechGuy AndyTechGuy changed the title [WIP] Time-Based Behaviors for City Residents [WIP] Time-Based Behaviors for AI agents Jun 19, 2019

@AndyTechGuy AndyTechGuy force-pushed the AndyTechGuy:timeSensitiveBehaviors branch from aaa58ca to 4a3e227 Jun 24, 2019

@AndyTechGuy AndyTechGuy marked this pull request as ready for review Jun 24, 2019

@AndyTechGuy AndyTechGuy changed the title [WIP] Time-Based Behaviors for AI agents Time-Based Behaviors for AI agents Jun 24, 2019

Copy link

left a comment

Sorry for the late review. Maybe this needs more discussions.

@AndyTechGuy AndyTechGuy merged commit 2452ba7 into Terasology:master Jul 5, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.