mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-23 22:30:18 +07:00
Added Agriculture tech - no gameplay change, but it does tell the game's story well!
This commit is contained in:
@ -118,6 +118,7 @@ class CivilizationInfo {
|
||||
constructor(civName: String, startingLocation: Vector2, gameInfo: GameInfo) {
|
||||
this.civName = civName
|
||||
this.gameInfo = gameInfo
|
||||
tech.techsResearched.add("Agriculture")
|
||||
this.placeUnitNearTile(startingLocation, "Settler")
|
||||
this.placeUnitNearTile(startingLocation, "Scout")
|
||||
}
|
||||
|
@ -33,10 +33,10 @@ class TechPickerScreen(internal val civInfo: CivilizationInfo) : PickerScreen()
|
||||
init {
|
||||
techsToResearch = ArrayList(civTech.techsToResearch)
|
||||
|
||||
val techMatrix = Array<Array<Technology?>>(17) { arrayOfNulls(10) } // Divided into columns, then rows
|
||||
val techMatrix = Array<Array<Technology?>>(18) { arrayOfNulls(10) } // Divided into columns, then rows
|
||||
|
||||
for (technology in GameBasics.Technologies.values) {
|
||||
techMatrix[technology.column!!.columnNumber - 1][technology.row - 1] = technology
|
||||
techMatrix[technology.column!!.columnNumber][technology.row - 1] = technology
|
||||
}
|
||||
|
||||
for (i in 0..9) {
|
||||
|
Reference in New Issue
Block a user