• My Pages
  • Comments
  • Add Link
  • Subscribe
  • Subscribe User
  • Edit (GUI)
  • Edit (Text)
  • Rename Page
  • Copy Page
  • Load Page
  • Save Page
  • Delete Page
  • Attachments
  • Check Spelling
  • Diffs
  • Info
  • Revert to this revision
  • XML
  • Render as Docbook
  • Print View
  • Raw Text
  • Delete Cache
  • Like Pages
  • Local Site Map
  • Remove Spam
  • Package Pages
  • Sync Pages
    • Diff for "RequestResources"
    Differences between revisions 2 and 3
    Revision 2 as of 2012-08-26 03:38:53
    Size: 1544
    Editor: Inanna
    Comment:
    Revision 3 as of 2013-01-15 22:26:47
    Size: 1510
    Editor: Daniel
    Comment:
    Deletions are marked like this. Additions are marked like this.
    Line 1: Line 1:
    ||<tablestyle="margin: 1em 1em 1em 0px; background-color: rgb(249, 249, 249); border-style: solid; border-color: rgb(170, 170, 170); color: rgb(0, 0, 0); font-family: sans-serif; font-size: 13px; line-height: 19.5px; text-align: start; " tableclass="wikitable"style="border-style: solid; border-color: rgb(170, 170, 170); padding: 0.2em; background-color: rgb(242, 242, 242); ">Usage:||<style="border-style: solid; border-color: rgb(170, 170, 170); padding: 0.2em; ">requestresources coord type local_min remote_min remote_request [trooptype]||
    ||<style="border-style: solid; border-color: rgb(170, 170, 170); padding: 0.2em; background-color: rgb(242, 242, 242); ">Example:||<style="border-style: solid; border-color: rgb(170, 170, 170); padding: 0.2em; ">requestresources !OtherCity food 100m 1b 50m<<BR>>requestresources 111,222 iron 20m -1 5m cavalry ||
    ||<tablebgcolor="#F9F9F9" tablestyle="margin:1em 1em 1em 0px;border-style:solid;border-color:rgb(170, 170, 170);color:rgb(0, 0, 0);font-family:sans-serif;font-size:13px;line-height:19.5px;text-align:start;" tableclass="wikitable"#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em;">Usage: ||<style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em;">requestresources coord type local_min remote_min remote_request [trooptype] ||
    ||<#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em;">Example: ||<style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em;">requestresources !OtherCity food 100m 1b 50m<<BR>>requestresources 111,222 iron 20m -1 5m cavalry ||
    Line 4: Line 4:

    '''coord can be in either xxx,yyy or city name format including "all"'''
    Line 12: Line 14:

    Usage:

    requestresources coord type local_min remote_min remote_request [trooptype]

    Example:

    requestresources OtherCity food 100m 1b 50m
    requestresources 111,222 iron 20m -1 5m cavalry

    coord can be in either xxx,yyy or city name format including "all"

    Requestresources works just like SendResources, except in reverse.

    In the 1st example above, the bot will request 50 million food from OtherCity if ThisCity has under 100 million food and OtherCity has at least 1 billion food. Since no trooptype is set, the bot will default to sending with transports.

    In the 2nd example above, the bot will request 5 million iron from 111,222 if ThisCity has under 20 million iron, regardless of how much iron is in 111,222, and it will use cavalry to transport the iron.

    The use of -1 and -2 parameters are possible with requestresources exactly as detailed above with SendResources.


    CategoryAllGoals CategoryResourceGoals

    RequestResources (last edited 2017-12-16 18:54:00 by Inanna)