From faa3acf13dbf46bda4529f2e2f168dc38bf51a84 Mon Sep 17 00:00:00 2001 From: JT Smith Date: Sun, 11 Apr 2010 13:48:11 -0400 Subject: [PATCH] fixed doc errors --- docs/Network19.pod | 6 +++--- docs/Observatory.pod | 23 ++++++++++++++++++++--- docs/Shipyard.pod | 3 +-- 3 files changed, 24 insertions(+), 8 deletions(-) diff --git a/docs/Network19.pod b/docs/Network19.pod index 2bdb49c2..87070701 100644 --- a/docs/Network19.pod +++ b/docs/Network19.pod @@ -42,7 +42,7 @@ A boolean indicating whether or not you have enacted a policy to restrict covera Get the top 100 headlines from your region of space. It also returns a list of RSS feeds that can be used outside the game to see the same news in a given region. -{ + { "news" : [ { "headline" : "HCorp founded a new colony on Rigel 4.", @@ -54,7 +54,7 @@ Get the top 100 headlines from your region of space. It also returns a list of R 'http://feeds.game.lacunaexpanse.com/78d5e7b2-b8d7-317c-b244-3f774264be57.rss' ], "status" : { get_status() } -} + } =head3 session_id @@ -66,4 +66,4 @@ The unique id of the Network 19 Affiliate. -=cut \ No newline at end of file +=cut diff --git a/docs/Observatory.pod b/docs/Observatory.pod index 9652a2c3..2b70281a 100644 --- a/docs/Observatory.pod +++ b/docs/Observatory.pod @@ -2,7 +2,7 @@ Observatory is accessible via the URL C. -The observatory controls stellar probes. Each L can have only 254 probes at one time. +The observatory controls stellar probes. The list of methods below represents changes and additions to the methods that all L share. @@ -10,7 +10,20 @@ The list of methods below represents changes and additions to the methods that a =head2 get_probed_stars ( session_id, building_id, [ page_number ] ) -Returns a list of the stars that have been probed by this +Returns a list of the stars that have been probed by this planet. + + { + "status" : { get_status() }, + "stars" : [ + "color" : "yellow", + "name" : "Sol", + "x" : 17, + "y" : 4, + "z" : -3, + "alignments" : "self-hostile" + ] + } + =head3 session_id @@ -30,6 +43,10 @@ An integer representing which set of probes to return. Defaults to 1. Each page The probe is deactivated, and allowed to burn up in the star. + { + "status" : { get_status() } + } + Throws 1002, 1010. =head3 session_id @@ -45,4 +62,4 @@ The unique id for the observatory. The unique id of the star the probe is attached to. -=cut \ No newline at end of file +=cut diff --git a/docs/Shipyard.pod b/docs/Shipyard.pod index 1ca6b5f8..6c2a3185 100644 --- a/docs/Shipyard.pod +++ b/docs/Shipyard.pod @@ -101,7 +101,6 @@ A ship type. Choose from: 'probe','colony_ship','spy_pod','cargo_ship','space_st An integer representing how many ships of that type you want to build. Defaults to 1. -=cut -=cut \ No newline at end of file +=cut -- knotmirror 0.0.1