Skip to content

Commit

Permalink
Rebuild cache for server v3.0838
Browse files Browse the repository at this point in the history
  • Loading branch information
b2gills committed Mar 1, 2012
1 parent 62d6d06 commit 4e4bd67
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 1 deletion.
4 changes: 4 additions & 0 deletions data/changes.txt
Original file line number Diff line number Diff line change
@@ -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

Expand Down
46 changes: 45 additions & 1 deletion data/other-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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,
Expand All @@ -1249,6 +1290,9 @@ Map:
"color" : "green",
"x" : -42,
"y" : 27
"zone" : "0|0",
"id" : "99",
"station" : { ... }
}
],
"status" : { ... }
Expand Down

0 comments on commit 4e4bd67

Please sign in to comment.