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

Need Based Behaviors #11

Open
wants to merge 9 commits into
base: master
from

Conversation

Projects
None yet
1 participant
@AndyTechGuy
Copy link
Collaborator

commented Jul 3, 2019

Contains

  • Need based behaviors, where characters perform certain actions based on the satisfaction of hunger/thirst/other needs.

How to Test

  1. Start a world with MetalRenegades enabled in a Dynamic City worldtype.
  2. Wait for characters to spawn inside of buildings

Food Need

  • After a certain period of time, usually about 6-7 minutes, the character will become hungry, and will travel towards the nearest marketplace to satisfy their hunger.

Thirst Need

  • After a certain period of time, usually about 3 minutes, the character will become thirsty, and will travel towards the nearest well to satisfy their hunger. Note: With Terasology/DynamicCities#35, these wells do not spawn properly on the parcel. The character will travel towards the parcel instead of the well (parcel size ranges from 5x5 to 7x7)

Rest Need

  • After a certain period of time, usually about 15 minutes, the character will become tired, and will travel towards the nearest house (not necessarily their own shelter) and rest on the spot for a minute.

Communication Need

  • After a certain period of time, usually about 7-8 minutes, the character will require a social interaction. This character will find another character with this need, and they will travel towards each other until they meet.

Shelter Need

  • At night, all characters will return back to their spawn home, all across the city.

TODO

  • Food needs
  • Thirst needs
  • Addition of wells/other water source
  • Rest need (fixed time based)
  • Shelter need (time cycle based)
  • Communication need (citizen-citizen)

@AndyTechGuy AndyTechGuy changed the title Need Based Behaviors and Implementation of Final Characters Need Based Behaviors Jul 15, 2019

@AndyTechGuy AndyTechGuy marked this pull request as ready for review Jul 16, 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.