Readonly corpsesReadonly creaturesOptional detailsReadonly doodadsReadonly eventReadonly flowReadonly gameReadonly idReadonly itemsOptional mapThe version the mapgen for this island uses
Readonly mapReadonly mapOptional modifiersReadonly moveEntity move types in fov on this island
Optional nameReadonly npcsReadonly playersSet of players on this island
Readonly portsOptional referenceDo not use this property directly, instead use `game.references.getReference()
The version this island was last loaded on
Readonly seededReadonly seedsReadonly temperatureReadonly tileReadonly timeReadonly treasureThe version this island was originally made on
Readonly wellReadonly worldCheck if this island has players on it
Check the amount of water tiles there is connected to a supplied x/y area
Gets the default terrain type that should be under a tile (in the case of melting or removing it in some way).
The default terrain type with a fallback to dirt (which shouldn't happen without mods or bugs).
Tile that we are getting the default terrain type for.
Gets the growing speed (or chance to grow more every tick).
Optional quality: QualityQuality of the item or tile to check the growing speed of.
Optional magicValue: numberReturns the type of liquid that can be gathered from the tile
Gets the items/resources from terrain based on the TerrainResources definition and checks if it is based on the current biome type.
undefined if nothing set, or an array of ITerrainLootItem.
Optional terrainLoot: ITerrainLootThe resource to check.
Loads the island
a range value for the weapon being shot based on the weapon range and the players skill with that weapon type. This value then becomes the maximum potential range of the current shot.
Optional updatedRenderer: booleanGenerated using TypeDoc
Represents the worlds island Items, Creatures, Npcs, etc.. all exist on the island