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

AI Agents Spawning inside Buildings #6

Merged
merged 10 commits into from Jun 21, 2019

Conversation

Projects
None yet
2 participants
@AndyTechGuy
Copy link
Collaborator

commented Jun 16, 2019

Contains

  • Gooey characters spawning inside buildings generated by DynamicCities.
  • Each spawnable character now contains an AgentComponent.
  • Any building that is able to house characters now contains a PotentialHomeComponent in the building prefab, which lists the characters currently inside the building, and how many characters a building can provide shelter for.
  • When a character spawns inside a building, it is given a HomeComponent, which provides a reference to this building.

How to Test

  • This PR depends on Terasology/DynamicCities#43, make sure this change is either merged or included manually or else the game will crash.
  • Start a game with MetalRenegades enabled.
  • When a city spawns, look inside any of the buildings. There should be any number from 1 to 5 gooey characters inside depending on the building.

@AndyTechGuy AndyTechGuy changed the title AI Agents Spawning within Buildings AI Agents Spawning inside Buildings Jun 16, 2019

@Cervator
Copy link
Member

left a comment

Just a few relatively tiny comments and recommendations :-)

@AndyTechGuy AndyTechGuy merged commit 4c22d74 into Terasology:master Jun 21, 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.