meta {
  name: POST move - reset dev spawn (ability-cast preset)
  type: http
  seq: 15
}

docs {
  Resets authoritative position to `Game:DefaultPosition` (~-5, 0.9, -5) so `prototype_target_alpha` lock and cast range checks pass when the collection ran earlier requests that moved the player (e.g. seq 10–11 resource-node gather). Runs before hotbar/target/cast (seq 20–22).
}

post {
  url: {{baseUrl}}/game/players/{{playerId}}/move
  body: json
  auth: none
}

headers {
  content-type: application/json
}

body:json {
  {
    "schemaVersion": 1,
    "target": {
      "x": -5,
      "y": 0.9,
      "z": -5
    }
  }
}

tests {
  test("status 200", function () {
    expect(res.getStatus()).to.equal(200);
  });
}
