Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Rebuild cache for server v3.0838

  • Loading branch information...
commit 4e4bd6768be2cebb0b20d175f85e4ab32463a5ef 1 parent 62d6d06
Brad Gilbert authored

Showing 2 changed files with 49 additions and 1 deletion. Show diff stats Hide diff stats

  1. +4 0 data/changes.txt
  2. +45 1 data/other-api.yml
4 data/changes.txt
... ... @@ -1,3 +1,7 @@
  1 +3.0838:
  2 + - Fix: Fixed some position errors in rearrange API.
  3 + - Fix: Sabotage Probe and Appropriate Resources had text formatting bugs.
  4 +
1 5 3.0837:
2 6 - Mod: Trade Ministry now trades within a set distance rather than just within zone
3 7
46 data/other-api.yml
@@ -282,7 +282,7 @@ Body:
282 282 }
283 283 }
284 284 rearrange_buildings:
285   - 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" : { ... } }'
  285 + description: Rearranges all buildings to the coordinates supplied via the arrangment array of hashes.
286 286 parameters:
287 287 - description: A session id.
288 288 name: session_id
@@ -293,6 +293,21 @@ Body:
293 293 - description: 'All buildings being moved need to be supplied. PCC or Station Command need to be in position 0,0.'
294 294 name: arrangement
295 295 type: string
  296 + returns: |-
  297 + {
  298 + "moved" : [
  299 + {
  300 + "id" : building_id,
  301 + "name" : "Building Name",
  302 + "x" : X coord,
  303 + "y" : Y coord
  304 + }
  305 + ],
  306 + "body" : {
  307 + "surface_image" : "surface-e"
  308 + },
  309 + "status" : { ... }
  310 + }
296 311 throws:
297 312 - 1002
298 313 - 1010
@@ -1143,6 +1158,14 @@ Map:
1143 1158 "color" : "yellow",
1144 1159 "x" : -41,
1145 1160 "y" : 27,
  1161 + "zone" : "0|0",
  1162 + "id" : "99",
  1163 + "station" : { # only shows up if this star is under the influence of a space station
  1164 + "id" : "id-goes-here",
  1165 + "x" : 143,
  1166 + "y" : -27,
  1167 + "name" : "The Death Star"
  1168 + },
1146 1169 "bodies" : [ # only added if a probe is present
1147 1170 {
1148 1171 same data as get_status() on /body
@@ -1168,6 +1191,14 @@ Map:
1168 1191 "color" : "yellow",
1169 1192 "x" : -41,
1170 1193 "y" : 27,
  1194 + "zone" : "0|0",
  1195 + "id" : "99",
  1196 + "station" : { # only shows up if this star is under the influence of a space station
  1197 + "id" : "id-goes-here",
  1198 + "x" : 143,
  1199 + "y" : -27,
  1200 + "name" : "The Death Star"
  1201 + },
1171 1202 "bodies" : [ # only added if a probe is present
1172 1203 {
1173 1204 same data as get_status() on /body
@@ -1196,6 +1227,14 @@ Map:
1196 1227 "color" : "yellow",
1197 1228 "x" : -41,
1198 1229 "y" : 27,
  1230 + "zone" : "0|0",
  1231 + "id" : "99",
  1232 + "station" : { # only shows up if this star is under the influence of a space station
  1233 + "id" : "id-goes-here",
  1234 + "x" : 143,
  1235 + "y" : -27,
  1236 + "name" : "The Death Star"
  1237 + },
1199 1238 "bodies" : [ # only added if a probe is present
1200 1239 {
1201 1240 same data as get_status() on /body
@@ -1231,6 +1270,8 @@ Map:
1231 1270 "color" : "yellow",
1232 1271 "x" : -41,
1233 1272 "y" : 27,
  1273 + "zone" : "0|0",
  1274 + "id" : "99",
1234 1275 "station" : { # only shows up if this star is under the influence of a space station
1235 1276 "id" : "id-goes-here",
1236 1277 "x" : 143,
@@ -1249,6 +1290,9 @@ Map:
1249 1290 "color" : "green",
1250 1291 "x" : -42,
1251 1292 "y" : 27
  1293 + "zone" : "0|0",
  1294 + "id" : "99",
  1295 + "station" : { ... }
1252 1296 }
1253 1297 ],
1254 1298 "status" : { ... }

0 comments on commit 4e4bd67

Please sign in to comment.
Something went wrong with that request. Please try again.