Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Rebuild cache for server v3.0838

  • Loading branch information...
commit 4e4bd6768be2cebb0b20d175f85e4ab32463a5ef 1 parent 62d6d06
Brad Gilbert authored
Showing with 49 additions and 1 deletion.
  1. +4 −0 data/changes.txt
  2. +45 −1 data/other-api.yml
4 data/changes.txt
View
@@ -1,3 +1,7 @@
+3.0838:
+ - Fix: Fixed some position errors in rearrange API.
+ - Fix: Sabotage Probe and Appropriate Resources had text formatting bugs.
+
3.0837:
- Mod: Trade Ministry now trades within a set distance rather than just within zone
46 data/other-api.yml
View
@@ -282,7 +282,7 @@ Body:
}
}
rearrange_buildings:
- description: 'Rearranges all buildings to the coordinates supplied via the arrangment array of hashes.{ "moved" : [ { "id" : building_id, "name" : "Building Name", "x" : X coord, "y" : Y coord } ], "body" : { "surface_image" : "surface-e" }, "status" : { ... } }'
+ description: Rearranges all buildings to the coordinates supplied via the arrangment array of hashes.
parameters:
- description: A session id.
name: session_id
@@ -293,6 +293,21 @@ Body:
- description: 'All buildings being moved need to be supplied. PCC or Station Command need to be in position 0,0.'
name: arrangement
type: string
+ returns: |-
+ {
+ "moved" : [
+ {
+ "id" : building_id,
+ "name" : "Building Name",
+ "x" : X coord,
+ "y" : Y coord
+ }
+ ],
+ "body" : {
+ "surface_image" : "surface-e"
+ },
+ "status" : { ... }
+ }
throws:
- 1002
- 1010
@@ -1143,6 +1158,14 @@ Map:
"color" : "yellow",
"x" : -41,
"y" : 27,
+ "zone" : "0|0",
+ "id" : "99",
+ "station" : { # only shows up if this star is under the influence of a space station
+ "id" : "id-goes-here",
+ "x" : 143,
+ "y" : -27,
+ "name" : "The Death Star"
+ },
"bodies" : [ # only added if a probe is present
{
same data as get_status() on /body
@@ -1168,6 +1191,14 @@ Map:
"color" : "yellow",
"x" : -41,
"y" : 27,
+ "zone" : "0|0",
+ "id" : "99",
+ "station" : { # only shows up if this star is under the influence of a space station
+ "id" : "id-goes-here",
+ "x" : 143,
+ "y" : -27,
+ "name" : "The Death Star"
+ },
"bodies" : [ # only added if a probe is present
{
same data as get_status() on /body
@@ -1196,6 +1227,14 @@ Map:
"color" : "yellow",
"x" : -41,
"y" : 27,
+ "zone" : "0|0",
+ "id" : "99",
+ "station" : { # only shows up if this star is under the influence of a space station
+ "id" : "id-goes-here",
+ "x" : 143,
+ "y" : -27,
+ "name" : "The Death Star"
+ },
"bodies" : [ # only added if a probe is present
{
same data as get_status() on /body
@@ -1231,6 +1270,8 @@ Map:
"color" : "yellow",
"x" : -41,
"y" : 27,
+ "zone" : "0|0",
+ "id" : "99",
"station" : { # only shows up if this star is under the influence of a space station
"id" : "id-goes-here",
"x" : 143,
@@ -1249,6 +1290,9 @@ Map:
"color" : "green",
"x" : -42,
"y" : 27
+ "zone" : "0|0",
+ "id" : "99",
+ "station" : { ... }
}
],
"status" : { ... }
Please sign in to comment.
Something went wrong with that request. Please try again.