mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-31 07:09:26 +07:00
Deprecate NaturalWonderConvertNeighborsExcept
(#12098)
This commit is contained in:
@ -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,
|
||||
|
@ -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,
|
||||
|
@ -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."),
|
||||
|
Reference in New Issue
Block a user