MediaWiki API result

This is the HTML representation of the JSON format. HTML is good for debugging, but is unsuitable for application use.

Specify the format parameter to change the output format. To see the non-HTML representation of the JSON format, set format=json.

See the complete documentation, or the API help for more information.

{
    "batchcomplete": "",
    "continue": {
        "gapcontinue": "Real-Time",
        "continue": "gapcontinue||"
    },
    "warnings": {
        "main": {
            "*": "Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/postorius/lists/mediawiki-api-announce.lists.wikimedia.org/> for notice of API deprecations and breaking changes."
        },
        "revisions": {
            "*": "Because \"rvslots\" was not specified, a legacy format has been used for the output. This format is deprecated, and in the future the new format will always be used."
        }
    },
    "query": {
        "pages": {
            "15101": {
                "pageid": 15101,
                "ns": 0,
                "title": "Re: Dragon",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "<table style=\"width:100%;margin-bottom:1em;clear:both\"><tr><td>{{genre wanted}} {{ifcnth|2018|26th of 77}} </td></tr></table>\n\n{{work infobox|title=Re: Dragon|image=[[Image:Re: Dragon small cover.jpg]]|author=[[Jack Welch]]|released=01-Oct-2018|authsystem=[[Inform 7]]|platform=Online [[Glulx]] [[Vorple]]|language=English}}\n\n==How It Begins==\n{{hib wanted}}\n\n==Versions==\n===Release 8===\n* ''Re: Dragon'' ([[Jack Welch]]; 01-Oct-2018; Online [[Glulx]] [[Vorple]]).\n** Release 8 / Serial number 180927 / Inform 7 build 6M62 (I6/v6.33 lib 6/12N)\n** {{babel|ifid=0434478D-E9F1-41F4-9C9E-F02227C22B3C|cover=yes}}\n** [[24th Annual Interactive Fiction Competition|IF Comp 2018]]: 26th place of 77 entries.\n** {{download wanted}}\n\n==Links== \n===General info===\n* {{ifdb game|Re: Dragon|qm3t0xblg4rqfii4}}.\n* [https://ifwizz.de/re-dragon-(2018-en).html Re: Dragon] at [[ifwizz]].\n\n{{game stub|Genres, How It Begins, Notable Features, full version info.<br>Note: This page was originally auto-generated. Please check for errors.}}\n\n[[Category:Works]] [[Category:Works in 2018]] [[Category:Glulx works]] [[Category:IF Comp works]] [[Category:Inform 7 works]]"
                    }
                ]
            },
            "11670": {
                "pageid": 11670,
                "ns": 0,
                "title": "Reactive Agent Planner",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "'''Reactive Agent Planner''' (or '''RAP''' for short) is a [[library extension]] originally written in 1998 for [[TADS]] 1.0 by [[Nate Cull]]. It is usually described as \"a goal-seeking library for [[NPC]]s\". Versions of RAP have also been ported to [[Inform 6]], [[Inform 7]], and [[TADS 3]].\n\n==Overview==\nRAP is loosely based on the HAP planning engine from Carnegie Mellon University's OZ project, as described in white papers, but somewhat modified and simplified.\n\nRAP is presented in two parts: the goalseeking module and the planbase module. The goalseeking module does the heavy lifting of figuring out what ought to be done, and as the core of RAP, most authors probably won't want to alter it much, if at all. By contrast, the planbase module is where typical planning relations and planning actions are defined, and authors will usually need to modify or override this module when the barebone default definitions are inadequate.\n\nThe goal of an NPC is defined as a planning relation, a relationship between two objects in the game. Relations must be defined with a way of testing whether or not the relation is currently true.\n(A relation is sometimes also called a \"condition\".) Relations are also defined with one or more plans that can be followed in the event that the relation is not true.\n\nPlans, in their turn, are defined (roughly) as a series of steps. Each step in a plan is either a planning relation (to make true) or a planning action (to perform). Authors must make sure that NPCs won't be persuing a circular chain of relationship dependencies.\n\nSome caveats:\n* RAP cheats a bit; by default, NPCs know everything about the world that they need to manipulate. Giving NPCs a false or incomplete worldview is an exercise for the programmer.\n* NPCs don't know what happened in previous turns. With every turn, they are a blank slate and recalculate their plan anew.\n* NPCs can't be taught new plans in mid-game.\n\n==Versions==\n===TADS 2===\nReactive Agent Planner 1.0, by Nate Cull, 1998. RAP is a goal-planning library for NPCs implemented in TADS.\n* {{ifarchive|programming/tads2/examples/|rap10.zip}}.\n\n===Inform 6 (Version 1.1)===\nReactive Agent Planner version 1.1, a goal-seeking library for NPCs, by Nate Cull, March 2000.\n* {{ifarchive|infocom/compilers/inform6/library/contributions/|rap11.zip}}.\n\nContains:\n* rap.txt - Note from the author on Origins, Rant, and Disclaimer.\n* rapcore.h - The goalseeking module.\n* rapdemo.inf - Source code for ''RAPDEMO'', a demo starring Widget the Puppy who wants to find and play with a red rubber ball.\n* rapplans.h - The planbase module.\n\nFootnote by the author: \"I haven't specified a licence in the source code, but consider it GPL-ish.\"\n\n===Inform 6 (Version 1.2)===\nReactive Agent Planner version 1.2, a goal-seeking library for NPCs. Updated with a perl preprocessor by [[Samuel T. Denton|Sam Denton]]. February 2004.\n* {{ifarchive|infocom/compilers/inform6/library/contributions/|rap12.zip}}\n  \n===TADS 3 (Version 1.2)===\nThe TADS 3 Reactive Agent Planner, which automates complex NPC behavior. Original TADS 2 module by Nate Cull. Updated TADS 3 version 1.2 by [[Steve Breslin]].\n* {{ifarchive|programming/tads3/library/contributions/|t3RAP.zip}}\n\n===Inform 7===\nThe extension was renamed to just \"Planner\" for Inform 7.\n\nSee [[Planner]] [http://inform7.com/extensions/Nate%20Cull/Planner/index.html] and [[Basic Plans]] [http://inform7.com/extensions/Nate%20Cull/Basic%20Plans/index.html], both by Nate Cull.\n\nBasic Plans contains the demo game ''Alchemy'' where an NPC called Bob the Wizard attempts to make soup.\n\n==Games known to use Reactive Agent Planner==\n* ''[[The Battle of Walcot Keep]]'' ([[Steve Breslin]], [[Eric Eve]], [[Lindsey Hair]]; 2004; TADS 3). \n* ''[[The Carthage Corn Maze]]'' (Anonymous; 2001; TADS 2).\n* ''[[The Five Tutors]]'' (Anonymous; 2001; TADS 2).\n* ''[[Kiss Chase]]'' (Anonymous; 2002; TADS 2).\n* ''[[This Is The Toaster]]'' (Anonymous; 2000; TADS 2).\n\n==Further Reading==\n* \"Hap: A Reactive, Adaptive Architecture for Agents\". A. Bryan Loyall and Joseph Bates. Technical Report CMU-CS-91-147, School of Computer Science, Carnegie Mellon University, Pittsburgh, PA, June 1991. Downloadable postscript version available as of 2006-05-28 from http://www.cs.cmu.edu/afs/cs.cmu.edu/project/oz/web/papers.html\n\n==Reviews==\n* [http://emshort.home.mindspring.com/libraries.htm#NPC Guide to Inform Library Contributions: NPC Control]. Review by [[Emily Short]] on the Inform 6 version.\n\n[[Category:Inform 6 extensions]] [[Category:TADS 2 extensions]] [[Category:TADS 3 extensions]]"
                    }
                ]
            }
        }
    }
}