mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-27 13:55:54 -04:00
Added Alhambra #245
This commit is contained in:
parent
49ed7570f8
commit
eeaca08f57
@ -151,7 +151,9 @@ All the following are from [the Noun Project](https://thenounproject.com) licenc
|
|||||||
* [College](https://thenounproject.com/term/college/1203703/) By Vectors Market for National College
|
* [College](https://thenounproject.com/term/college/1203703/) By Vectors Market for National College
|
||||||
* [Chichen Itza](https://thenounproject.com/term/chichen-itza/668065/) By Hea Poh Lin
|
* [Chichen Itza](https://thenounproject.com/term/chichen-itza/668065/) By Hea Poh Lin
|
||||||
* [Christian Church](https://thenounproject.com/term/christian-church/1174183/) By Andrejs Kirma for Monastery
|
* [Christian Church](https://thenounproject.com/term/christian-church/1174183/) By Andrejs Kirma for Monastery
|
||||||
|
* [Castle](https://thenounproject.com/search/?q=castle&i=390189) By Mint Shirt
|
||||||
* [Cambodia](https://thenounproject.com/term/cambodia/1809152/) By Wichai Wi for Angkor Wat
|
* [Cambodia](https://thenounproject.com/term/cambodia/1809152/) By Wichai Wi for Angkor Wat
|
||||||
|
* [Alhambra](https://thenounproject.com/search/?q=alhambra&i=403759) By parkjisun
|
||||||
* [Books](https://thenounproject.com/term/books/1140218/) By Abir Alward for Oxford University
|
* [Books](https://thenounproject.com/term/books/1140218/) By Abir Alward for Oxford University
|
||||||
* [Forge](https://thenounproject.com/term/forge/1044767/) By Monjin Friends
|
* [Forge](https://thenounproject.com/term/forge/1044767/) By Monjin Friends
|
||||||
* [Anchor](https://thenounproject.com/term/anchor/1258518/) By Saeful Muslim for Harbor
|
* [Anchor](https://thenounproject.com/term/anchor/1258518/) By Saeful Muslim for Harbor
|
||||||
|
BIN
android/Images/BuildingIcons/Alhambra.png
Normal file
BIN
android/Images/BuildingIcons/Alhambra.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.9 KiB |
@ -328,6 +328,16 @@
|
|||||||
uniques:["Cost of acquiring new tiles reduced by 25%"],
|
uniques:["Cost of acquiring new tiles reduced by 25%"],
|
||||||
requiredTech:"Chivalry"
|
requiredTech:"Chivalry"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name:"Alhambra",
|
||||||
|
culture:1,
|
||||||
|
greatPersonPoints:{culture:1},
|
||||||
|
isWonder:true,
|
||||||
|
providesFreeBuilding:"Castle",
|
||||||
|
percentStatBonus:{culture:20},
|
||||||
|
uniques:["All newly-trained melee, mounted, and armored units in this city receive the Drill I promotion"],
|
||||||
|
requiredTech:"Chivalry"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name:"Ironworks",
|
name:"Ironworks",
|
||||||
production:8,
|
production:8,
|
||||||
|
@ -4464,6 +4464,9 @@
|
|||||||
Portuguese:"Castelo"
|
Portuguese:"Castelo"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
"Alhambra":{}
|
||||||
|
"All newly-trained melee, mounted, and armored units in this city receive the Drill I promotion":{}
|
||||||
|
|
||||||
"Angkor Wat":{
|
"Angkor Wat":{
|
||||||
Italian:"Angkor Wat"
|
Italian:"Angkor Wat"
|
||||||
Russian:"Ангкор-Ват"
|
Russian:"Ангкор-Ват"
|
||||||
|
@ -112,6 +112,11 @@ class BaseUnit : INamed, IConstruction, ICivilopedia {
|
|||||||
unit.promotions.XP += construction.getBuiltBuildings().sumBy { it.xpForNewUnits }
|
unit.promotions.XP += construction.getBuiltBuildings().sumBy { it.xpForNewUnits }
|
||||||
if(construction.cityInfo.civInfo.policies.isAdopted("Total War"))
|
if(construction.cityInfo.civInfo.policies.isAdopted("Total War"))
|
||||||
unit.promotions.XP += 15
|
unit.promotions.XP += 15
|
||||||
|
|
||||||
|
if(unit.type in listOf(UnitType.Melee,UnitType.Mounted,UnitType.Armor)
|
||||||
|
&& construction.cityInfo.getBuildingUniques()
|
||||||
|
.contains("All newly-trained melee, mounted, and armored units in this city receive the Drill I promotion"))
|
||||||
|
unit.promotions.addPromotion("Drill I")
|
||||||
}
|
}
|
||||||
|
|
||||||
fun getUpgradeUnit(civInfo: CivilizationInfo):BaseUnit{
|
fun getUpgradeUnit(civInfo: CivilizationInfo):BaseUnit{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user