Small comment changes in UniqueType.kt (#9617)

This commit is contained in:
Xander Lenstra 2023-06-18 15:35:17 +02:00 committed by GitHub
parent c823989c39
commit 5e9059cd1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -150,7 +150,7 @@ enum class UniqueType(val text: String, vararg targets: UniqueTarget, val flags:
/// Growth
GrowthPercentBonus("[relativeAmount]% growth [cityFilter]", UniqueTarget.Global, UniqueTarget.FollowerBelief),
CarryOverFood("[relativeAmount]% Food is carried over after population increases [cityFilter]", UniqueTarget.Global, UniqueTarget.FollowerBelief),
CarryOverFood("[amount]% Food is carried over after population increases [cityFilter]", UniqueTarget.Global, UniqueTarget.FollowerBelief),
// Todo: moddability: specialists -> [populationFilter]
FoodConsumptionBySpecialists("[relativeAmount]% Food consumption by specialists [cityFilter]", UniqueTarget.Global, UniqueTarget.FollowerBelief),
@ -229,7 +229,7 @@ enum class UniqueType(val text: String, vararg targets: UniqueTarget, val flags:
ReceiveFreeUnitWhenDiscoveringTech("Receive free [unit] when you discover [tech]", UniqueTarget.Global),
// Units entering Tiles
// ToDo: make per unit and use unit filters?
// ToDo: make per unit and use unit filters? "Enables embarkation <for [land] units>"
LandUnitEmbarkation("Enables embarkation for land units", UniqueTarget.Global),
UnitsMayEnterOcean("Enables [mapUnitFilter] units to enter ocean tiles", UniqueTarget.Global),
LandUnitsCrossTerrainAfterUnitGained("Land units may cross [terrainName] tiles after the first [baseUnitFilter] is earned", UniqueTarget.Global),
@ -248,8 +248,9 @@ enum class UniqueType(val text: String, vararg targets: UniqueTarget, val flags:
/// Resource production & consumption
ConsumesResources("Consumes [amount] [resource]", UniqueTarget.Improvement, UniqueTarget.Building, UniqueTarget.Unit),
ProvidesResources("Provides [amount] [resource]", UniqueTarget.Improvement, UniqueTarget.Global),
// Todo: Sign should not be part of the unique placeholder
CostsResources("Costs [amount] [stockpiledResource]", UniqueTarget.Improvement, UniqueTarget.Building, UniqueTarget.Unit),
// Todo: Get rid of forced sign (+[relativeAmount]) and unify these two, e.g.: "[relativeAmount]% [resource/resourceType] production"
// Note that the parameter type 'resourceType' (strategic, luxury, bonus) currently doesn't exist and should then be added as well
StrategicResourcesIncrease("Quantity of strategic resources produced by the empire +[relativeAmount]%", UniqueTarget.Global), // used by Policies
DoubleResourceProduced("Double quantity of [resource] produced", UniqueTarget.Global),