Deprecate NaturalWonderConvertNeighborsExcept (#12098)

This commit is contained in:
SomeTroglodyte
2024-08-14 08:48:43 +02:00
committed by GitHub
parent daf709ea22
commit 5ad68bb14d
3 changed files with 3 additions and 3 deletions

View File

@ -448,7 +448,7 @@
"occursOn": ["Grassland"],
"uniques": ["Must be adjacent to [1] to [5] [Coast] tiles",
"Must be adjacent to [1] [Mountain] tiles",
"Neighboring tiles except [Mountain] will convert to [Coast]"],
"Neighboring tiles will convert to [Coast] <in tiles without [Mountain]>"],
"turnsInto": "Mountain",
"impassable": true,
"unbuildable": true,

View File

@ -448,7 +448,7 @@
"occursOn": ["Grassland"],
"uniques": ["Must be adjacent to [1] to [5] [Coast] tiles",
"Must be adjacent to [1] [Mountain] tiles",
"Neighboring tiles except [Mountain] will convert to [Coast]"],
"Neighboring tiles will convert to [Coast] <in tiles without [Mountain]>"],
"turnsInto": "Mountain",
"impassable": true,
"unbuildable": true,

View File

@ -538,7 +538,7 @@ enum class UniqueType(
NaturalWonderConvertNeighbors("Neighboring tiles will convert to [baseTerrain/terrainFeature]", UniqueTarget.Terrain, flags = UniqueFlag.setOfHiddenToUsers,
docDescription = "Supports conditionals that need only a Tile as context and nothing else, like `<with [n]% chance>`, and applies them per neighbor." +
"\nIf your mod renames Coast or Lakes, do not use this with one of these as parameter, as the code preventing artifacts won't work."),
// The "Except [terrainFilter]" could theoretically be implemented with a conditional
@Deprecated("As of 4.12.19", ReplaceWith("Neighboring tiles will convert to [baseTerrain/terrainFeature] <in tiles without [simpleTerrain]>"))
NaturalWonderConvertNeighborsExcept("Neighboring tiles except [simpleTerrain] will convert to [baseTerrain/terrainFeature]", UniqueTarget.Terrain, flags = UniqueFlag.setOfHiddenToUsers,
docDescription = "Supports conditionals that need only a Tile as context and nothing else, like `<with [n]% chance>`, and applies them per neighbor." +
"\nIf your mod renames Coast or Lakes, do not use this with one of these as parameter, as the code preventing artifacts won't work."),