Skip to content

SPENDTRADE

stanislawbartkowski edited this page May 1, 2019 · 5 revisions

Action

Spend trade to increase the city production

Format

executeCommand(token,"SPENDTRADE",row,col, <number>})

Parameters:

  • row,col : a city where the production is to be boosted
  • param : the volume of production in the city to increase, the trade will be calculated and deducted automatically.

Usage example:

executeCommand("SPENDTRADE",2,2,1)

The production will be increased by 1. The trade will be reduced by 3 or 2 if America.

Itemize

Returns a list of cities where production can be increased. Cities where city action has been executed already, are not included.
Example

[
  {'p': {'row': 2, 'col': 2}}, 
  {'p': {'row': 5, 'col': 4}}
]
Clone this wiki locally