Skip to content

SENDPRODUCTION

stanislawbartkowski edited this page Apr 30, 2019 · 3 revisions

Action

This command sends production from tile to the city

Format

executeCommand(token,"SENDPRODUCTION",row,col,jsparam: { "row" : int, "col" : int })

Parameters

  • row,col : the square where the city or capital is standing
  • jsparam : scout square coordinates to be utilized for city production

Usage example

executeCommand("secret token","SENDPRODUCTION",2,2,"{"row" : 5, "col" : 3})

Send production from square (5,3) to city/capital (2,2)

Itemize

List of pairs, city and scout. City, where production can be sent and the position of the scout to be utilized.

Format: [ { "p" : {"row" : int, "col" : int}, "param" : { "row" : int, "col" : int } } ]

Sample

[ { "p" : { "row" : 2, "col" : 2 }, "param" : { "row" : 1, "col" : 5 } } ]

Production from square (1,5) can be sent to city (2.2)

Clone this wiki locally