From 27e383631dc62338cc8abef4e21e579dbcde35b7 Mon Sep 17 00:00:00 2001 From: Yair Morgenstern Date: Thu, 3 Feb 2022 20:16:10 +0200 Subject: [PATCH] A couple more that were in Son of War --- core/src/com/unciv/models/ruleset/unique/UniqueType.kt | 4 ++++ docs/uniques.md | 2 ++ 2 files changed, 6 insertions(+) diff --git a/core/src/com/unciv/models/ruleset/unique/UniqueType.kt b/core/src/com/unciv/models/ruleset/unique/UniqueType.kt index 756ce37974..4929fa5263 100644 --- a/core/src/com/unciv/models/ruleset/unique/UniqueType.kt +++ b/core/src/com/unciv/models/ruleset/unique/UniqueType.kt @@ -771,6 +771,10 @@ enum class UniqueType(val text: String, vararg targets: UniqueTarget, val flags: @Deprecated("Extremely old - used for auto-updates only", ReplaceWith("[+1] Sight"), DeprecationLevel.ERROR) Plus1SightForAutoupdates("+1 Visibility Range", UniqueTarget.Unit), + @Deprecated("Extremely old - used for auto-updates only", ReplaceWith("[+amount] Sight"), DeprecationLevel.ERROR) + PlusSightForAutoupdates("+[amount] Visibility Range", UniqueTarget.Unit), + @Deprecated("Extremely old - used for auto-updates only", ReplaceWith("[+amount] Sight "), DeprecationLevel.ERROR) + PlusSightForAutoupdates2("+[amount] Sight for all [mapUnitFilter] units", UniqueTarget.Unit), @Deprecated("Extremely old - used for auto-updates only", ReplaceWith("[+2] Sight"), DeprecationLevel.ERROR) Plus2SightForAutoupdates("+2 Visibility Range", UniqueTarget.Unit), @Deprecated("Extremely old - used for auto-updates only", ReplaceWith("Can build [Land] improvements on tiles"), DeprecationLevel.ERROR) diff --git a/docs/uniques.md b/docs/uniques.md index c0ec0261c7..863d3a544b 100644 --- a/docs/uniques.md +++ b/docs/uniques.md @@ -1527,6 +1527,8 @@ Applicable to: Conditional - "-[amount]% Strength vs [combatantFilter]" - Deprecated As of 3.17.3 - removed 3.17.13, replace with "[amount]% Strength OR " - "+[amount]% Combat Strength" - Deprecated As of 3.17.3 - removed 3.17.13, replace with "[amount]% Strength" - "+1 Visibility Range" - Deprecated Extremely old - used for auto-updates only, replace with "[+1] Sight" + - "+[amount] Visibility Range" - Deprecated Extremely old - used for auto-updates only, replace with "[+amount] Sight" + - "+[amount] Sight for all [mapUnitFilter] units" - Deprecated Extremely old - used for auto-updates only, replace with "[+amount] Sight " - "+2 Visibility Range" - Deprecated Extremely old - used for auto-updates only, replace with "[+2] Sight" - "Can build improvements on tiles" - Deprecated Extremely old - used for auto-updates only, replace with "Can build [Land] improvements on tiles" - "Science gained from research agreements +50%" - Deprecated Extremely old - used for auto-updates only, replace with "Science gained from research agreements [+50]%"