Permalink
Browse files

added production to terrain

  • Loading branch information...
1 parent 3635147 commit 2cb5c7e071c86429e44e75f27a64ef74d11cb075 @wooki committed Mar 21, 2013
Showing with 4 additions and 2 deletions.
  1. +3 −1 terrain.yaml
  2. +1 −1 units.yaml
View
4 terrain.yaml
@@ -6,14 +6,16 @@
from: # name of terrain(s) to upgrade from
- plains
- forest
- gold: 1 # cost in gold (ommit if no cost)
+ gold: 1 # cost in gold (ommit if no cost)
- # village can be created from farm for 10 gold if you have 3+ farms
name: village # name of terrain to upgrade to
from: farms # name of terrain to upgrade from
gold: 10 # cost in gold (ommit if no cost)
requires:
- village: 3 # required surrounding terrain (ommit if not required)
+ produces:
+ - gold: 1 # production should be limited to gold from urban terrain types
- # plains can be created from forest for 1 gold
name: plains
View
2 units.yaml
@@ -58,7 +58,7 @@
- # archers are either grouped rangers OR equiped militia (see the syntax in requires)
name: archers
- requires: # if several build options then this has different syntax
+ requires: # if several build options then this has different syntax (extra level)
- # build with militia
- militia: 1
- gold: 10

0 comments on commit 2cb5c7e

Please sign in to comment.