|
Size: 924
Comment:
|
Size: 960
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 1: | Line 1: |
| '''Troop beans are objects which contain information about troops.''' |
= Troop beans are objects which contain information about troops. = |
| Line 23: | Line 22: |
| example: |
== example: == |
| Line 28: | Line 26: |
| see also GetTroops | see also GetTroops [[getAvailableTroop]] |
| Line 31: | Line 29: |
| ScriptObjects | ScriptObjects ScriptObjects |
Troop beans are objects which contain information about troops.
properties of troop beans:
property |
type |
description |
archer |
int |
number of archers |
ballista |
int |
number of balls |
batteringRam |
int |
number of rams |
carriage |
int |
number of transports |
catapult |
int |
number of catapults |
heavyCavalry |
int |
number of cataphracts |
lightCavalry |
int |
number of cav |
militia |
int |
number of warriors |
peasants |
int |
number of workers |
pikemen |
int |
number of pikemen |
scouter |
int |
number of scouts |
swordsmen |
int |
number of swordsmen |
foodConsumeRate |
int |
hourly food consumption of this troop bean |
typOrder |
? |
??? |
example:
echo "the troops currently in the city are eating {city.troop.foodConsumeRate} food per hour."see also GetTroops getAvailableTroop

![[+]](/moin_static/explorer/img/toggle1.png)

![[-]](/moin_static/explorer/img/toggle0.png)
