mirror of
https://github.com/yairm210/Unciv.git
synced 2025-02-20 19:56:51 +01:00
Civilian units can get promotions upon being built
Promotions with no icon get default star icon
This commit is contained in:
parent
c963191453
commit
bcd5c361df
Binary file not shown.
|
After Width: | Height: | Size: 7.8 KiB |
|
|
@ -165,28 +165,35 @@ UnitPromotionIcons/Operational Range
|
|||
orig: 50, 50
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
UnitPromotionIcons/Flight Deck
|
||||
UnitPromotionIcons/Fallback
|
||||
rotate: false
|
||||
xy: 1156, 62
|
||||
size: 50, 50
|
||||
orig: 50, 50
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
UnitPromotionIcons/Formation
|
||||
UnitPromotionIcons/Great Generals
|
||||
rotate: false
|
||||
xy: 1156, 62
|
||||
size: 50, 50
|
||||
orig: 50, 50
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
UnitPromotionIcons/Quick Study
|
||||
rotate: false
|
||||
xy: 1156, 62
|
||||
size: 50, 50
|
||||
orig: 50, 50
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
UnitPromotionIcons/Flight Deck
|
||||
rotate: false
|
||||
xy: 1214, 62
|
||||
size: 50, 50
|
||||
orig: 50, 50
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
UnitPromotionIcons/Great Generals
|
||||
rotate: false
|
||||
xy: 1272, 62
|
||||
size: 50, 50
|
||||
orig: 50, 50
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
UnitPromotionIcons/Quick Study
|
||||
UnitPromotionIcons/Formation
|
||||
rotate: false
|
||||
xy: 1272, 62
|
||||
size: 50, 50
|
||||
|
|
|
|||
Binary file not shown.
|
Before Width: | Height: | Size: 61 KiB After Width: | Height: | Size: 61 KiB |
|
|
@ -216,8 +216,6 @@ class BaseUnit : RulesetObject(), INonPerpetualConstruction {
|
|||
if (boughtWith != null && !civInfo.gameInfo.gameParameters.godMode && !unit.hasUnique(UniqueType.MoveImmediatelyOnceBought))
|
||||
unit.currentMovement = 0f
|
||||
|
||||
if (this.isCivilian()) return true // tiny optimization makes save files a few bytes smaller
|
||||
|
||||
addConstructionBonuses(unit, cityConstructions)
|
||||
|
||||
return true
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user