MapParameters

class MapParameters

Functions

clone
Link copied to clipboard
fun clone(): MapParameters
displayMapDimensions
Link copied to clipboard
fun displayMapDimensions(): String
equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
getArea
Link copied to clipboard
fun getArea(): Int
hashCode
Link copied to clipboard
open fun hashCode(): Int
reseed
Link copied to clipboard
fun reseed()
resetAdvancedSettings
Link copied to clipboard
fun resetAdvancedSettings()
toString
Link copied to clipboard
open override fun toString(): String

Properties

baseRuleset
Link copied to clipboard
var baseRuleset: String
createdWithVersion
Link copied to clipboard
var createdWithVersion: String

Unciv Version of creation for support cases

elevationExponent
Link copied to clipboard
var elevationExponent: Float = 0.7f
mapResources
Link copied to clipboard
var mapResources: String
mapSize
Link copied to clipboard
var mapSize: MapSizeNew
maxCoastExtension
Link copied to clipboard
var maxCoastExtension: Int = 2
mods
Link copied to clipboard
var mods: LinkedHashSet<String>

This is used mainly for the map editor, so you can continue editing a map under the same ruleset you started with

name
Link copied to clipboard
var name: String
noNaturalWonders
Link copied to clipboard
var noNaturalWonders: Boolean = false
noRuins
Link copied to clipboard
var noRuins: Boolean = false
rareFeaturesRichness
Link copied to clipboard
var rareFeaturesRichness: Float = 0.05f
resourceRichness
Link copied to clipboard
var resourceRichness: Float = 0.1f
seed
Link copied to clipboard
var seed: Long
shape
Link copied to clipboard
var shape: String
temperatureExtremeness
Link copied to clipboard
var temperatureExtremeness: Float = 0.6f
tilesPerBiomeArea
Link copied to clipboard
var tilesPerBiomeArea: Int = 6
type
Link copied to clipboard
var type: String
vegetationRichness
Link copied to clipboard
var vegetationRichness: Float = 0.4f
waterThreshold
Link copied to clipboard
var waterThreshold: Float = 0f
worldWrap
Link copied to clipboard
var worldWrap: Boolean = false

Sources

jvm source
Link copied to clipboard