Skip to content

Commit

Permalink
Add food (irrigation, granary) buildings.
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaume-alvarez committed Jan 2, 2015
1 parent 8c92244 commit 5fd01fa
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
17 changes: 17 additions & 0 deletions core/assets/data/buildings/food.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[
{
name: Irrigation,
type: food,
turns: 10,
effects: {GRASSLAND: 1, growth: 1},
conditions: {terrain: GRASSLAND, power: 50},
},
{
name: Granary,
type: food,
turns: 10,
effects: {GRASSLAND: 1, growth: 2},
conditions: {terrain: GRASSLAND, power: 100},
previous: Irrigation
},
]
10 changes: 10 additions & 0 deletions core/assets/data/discoveries/antiquity.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,16 @@
terrains: [GRASSLAND, PLAIN],
effects: {PLAIN: 1, GRASSLAND: 1, FOREST: -1, MOUNTAIN: -1}
},
{
name: Irrigation,
previous: [Crop, River],
effects: {growth: 1}
},
{
name: Granary,
previous: [Pottery, House, CEREAL],
effects: {growth: 1}
},
{
name: "Grain Mill",
previous: [Stone, CEREAL, Wheel],
Expand Down
4 changes: 4 additions & 0 deletions core/assets/data/discoveries/prehistory.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,10 @@
terrains: [GRASSLAND, FOREST],
effects: {militaryPower: 1, growth: 1, FOREST: 1}
},
{
name: Pottery,
previous: [Fire, Clay],
},
{
name: Metallurgy,
previous: [METAL, Fire],
Expand Down

0 comments on commit 5fd01fa

Please sign in to comment.