Skip to content

Use Teletransporter Creation Location to Decide Starting Values

Closes #473.

This has two parts:

  • Add a second phase to entity initialization that runs after a new entities.
  • Making the teletransporter entity model use that, addressing issue #473.

The actual changes are really simple. Most of this work here was just research in how to do the first point. Partially to decide that a new virtual method, set_context_values a new partner to set_initial_values, but mostly to decide where the call should go. It went outside of EntityModel so I made the method public, it would be bad if someone called it when they weren't supposed to, but I don't see a way around that. And that is about as interesting as this issue gets.

Merge request reports