Skip to content

Commit

Permalink
* Barracks in Settlers, not Pioneers. Also add building costs
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisOelmueller committed Apr 18, 2012
1 parent 10d6ef1 commit 43ffdc5
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions content/objects/buildings/barracks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,34 @@ baseclass: production.ProductionBuilding
radius: 6
cost: 25
cost_inactive: 10
#size_x: 4
#size_y: 4
size_x: 3
size_y: 3
inhabitants_start: 6
inhabitants_max: 6
tooltip_text: _ Recruits units suitable for ground combat.
settler_level: 1
buildingcosts: {RES.GOLD: 1}
settler_level: 2
buildingcosts: {RES.GOLD: 1000, RES.BOARDS: 6, RES.TOOLS: 4, RES.BRICKS: 8}

#for now and until proper unit production lines exist, don't show the low productivity status icon
show_status_icons: false

components:
- SelectableComponent:
type: building
tabs: [ProductionOverviewTab ]
tabs: [ProductionOverviewTab]
enemy_tabs: [EnemyBuildingOverviewTab,]
- HealthComponent: {maxhealth: 1000}
- UnitProducerComponent:
productionlines:
0:
consumes:
- [RES.TEXTILE, -1]
- [RES.GOLD, -1]
time: 60
- StorageComponent:
SlotsStorage:
slot_sizes: {RES.TEXTILE: 99, RES.BOARDS: 99}
slot_sizes: {RES.TEXTILE: 12}
- CollectingComponent:
collectors:
UNITS.BUILDING_COLLECTOR: 1
actionsets:
as_barracks0: {level: 0}

0 comments on commit 43ffdc5

Please sign in to comment.