Jump to content

Prefab densities fix in update 691071 not fully effective


sukeme
  • Pending
On 9/20/2025 at 8:35 AM, V2C said:

Bug Fixes

  • Prefab densities for retrofitted Lunar Islands, Lunar Grotto, and Fumarole biomes will now properly be populated.
    • This means world regrowth will properly work within these areas.
    • This fix has also been applied onto already existing retrofits of these areas.

In the fix code for prefab densities in this update.

Spoiler

components\retrofitcavemap_anr.lua -- line 943

if self.retrofit_missing_retrofits_generated_densities then
  self.retrofit_missing_retrofits_generated_densities = nil

  local prefab_densities = TheWorld.generated.densities

  -- Fix up density populations on lunar island retrofit and pearl island retrofit
  local obj_layout = require("map/object_layout")

  local retrofit_densities = {
    ["AncientArchivesRetrofit:2:MoonMush"] = "retrofit_moonmush",
    ["FumaroleRetrofit:0:Chasm"] = "retrofit_fumarole",
  }

  for topology_id, static_layout in pairs(retrofit_densities) do
    local topology_id_index
    for i, v in pairs(TheWorld.topology.ids) do
      if topology_id == v then
        topology_id_index = i
        break
      end
    end

    if topology_id_index and TheWorld.topology.ids[topology_id_index] then
      local layout = obj_layout.LayoutForDefinition(static_layout)
      local prefabs = obj_layout.ConvertLayoutToEntitylist(layout)

      local prefab_list = {} --[prefab] = num

      for i, prefab_data in ipairs(prefabs) do
        if not prefab_list[prefab_data.prefab] then
          prefab_list[prefab_data.prefab] = 0
        end
        prefab_list[prefab_data.prefab] = prefab_list[prefab_data.prefab] + 1
      end

      prefab_densities[topology_id] = {}

      local num_ground = obj_layout.GetLayoutLandCount(layout)
      --prefab_list[prefab] = prefab_list[prefab] + 1
      for prefab, v in pairs(prefab_list) do
        -- convererts from actual numbers to a percentage of the distribute percent
        prefab_densities[topology_id][prefab] = v / num_ground
      end
    end
  end
end

The ConvertLayoutToEntitylist function only included the fixed prefab names defined in the layout.

Spoiler

map\object_layout.lua  -- line 184

local function ConvertLayoutToEntitylist(layout)
	assert(layout~=nil, "No layout was provided!")

	if layout.areas ~= nil and layout.layout ~= nil then
	    local to_add = {}
		for current_prefab, v in pairs(layout.layout) do
			for idx, current_prefab_data in ipairs(v) do
				if layout.areas[current_prefab] ~= nil then
					local area_contents = layout.areas[current_prefab]
					if type(area_contents) == "function" then
						area_contents = area_contents(current_prefab_data.width * current_prefab_data.height, current_prefab_data)
					end

					if area_contents ~= nil then
						for i,r_prefab in ipairs(area_contents) do

							local x, y = 0, 0
							local properties = current_prefab_data.properties

							if type(r_prefab) == "table" then
								x = r_prefab.x
								y = r_prefab.y

								if r_prefab.properties ~= nil then
									if properties and type(properties) == "table" and #properties > 0 then
										properties = JoinArrays(properties, r_prefab.properties)
									else
										properties = r_prefab.properties
									end
								end
								r_prefab = r_prefab.prefab
							else
								x = (current_prefab_data.x-current_prefab_data.width/2.0) + (math.random()*current_prefab_data.width)
								y = (current_prefab_data.y-current_prefab_data.height/2.0) + (math.random()*current_prefab_data.height)
								properties = current_prefab_data.properties
							end
							if to_add[r_prefab] == nil then
								to_add[r_prefab] = {}
							end
							table.insert(to_add[r_prefab], {x=x, y=y, properties=properties})
						end
					end
				end
			end
		end

		for prefab_name,instances in pairs(to_add) do
		    if layout.layout[prefab_name] == nil then
		        layout.layout[prefab_name] = {}
		    end
		    for i,instance in ipairs(instances) do
		        table.insert(layout.layout[prefab_name], instance)
		    end
        end

		-- all areas populated now, so remove the areas.
		for k,v in pairs(layout.areas) do
			layout.layout[k] = nil
		end
	end

	if layout.defs ~= nil then

		-- for each layout item that appears in defs, replace with one of the choices from defs

		if layout.layout ~= nil then
			for current_prefab,v in pairs(layout.layout) do
				if layout.defs[current_prefab] ~= nil then
					local idx = math.random(1, #layout.defs[current_prefab])

					layout.layout[layout.defs[current_prefab][idx]] = v
					layout.layout[current_prefab] = nil
				end
			end
		end

		if layout.count ~= nil then
			for current_prefab,v in pairs(layout.count) do
				if layout.defs[current_prefab] ~= nil then
					local idx = math.random(1, #layout.defs[current_prefab])

					layout.count[layout.defs[current_prefab][idx]] = v
					layout.count[current_prefab] = nil
				end
			end
		end
	end

	if layout.scale == nil then
		layout.scale = 1.0
	end

	local all_items = {}

	if layout.layout ~= nil then
		local layout_pos = LAYOUT_FUNCTIONS[LAYOUT.STATIC](layout.layout)
		for i,v in ipairs(layout_pos) do
			table.insert(all_items, v)
		end
	end
	if layout.type ~= LAYOUT.STATIC then
		local shape_pos = LAYOUT_FUNCTIONS[layout.type](layout.count)
		for i,v in ipairs(shape_pos) do
			table.insert(all_items, v)
		end
	end

	return all_items
end

However, some prefabs recorded in the layout do not use actual existing prefab names (for example, tree_rock, which is randomized into tree_rock1 or tree_rock2 when calling SpawnPrefab).

Spoiler

map\static_layouts\retrofit_fumarole.lua  -- line 1

return {
  version = "1.1",
  luaversion = "5.1",
  orientation = "orthogonal",
  width = 30,
  height = 30,
  tilewidth = 64,
  tileheight = 64,
  properties = {},
  tilesets = {
    {
      name = "ground",
      firstgid = 1,
      filename = "../../../../tools/tiled/dont_starve/ground.tsx",
      tilewidth = 64,
      tileheight = 64,
      spacing = 0,
      margin = 0,
      image = "../../../../tools/tiled/dont_starve/tiles.png",
      imagewidth = 512,
      imageheight = 512,
      properties = {},
      tiles = {}
    }
  },
  layers = {
    {
      type = "tilelayer",
      name = "BG_TILES",
      x = 0,
      y = 0,
      width = 30,
      height = 30,
      visible = true,
      opacity = 1,
      properties = {},
      encoding = "lua",
      data = {
        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 52, 52, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
        0, 52, 52, 52, 0, 0, 0, 52, 52, 0, 0, 0, 0, 0, 0, 52, 52, 52, 52, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
        0, 52, 52, 52, 52, 0, 52, 52, 52, 52, 0, 0, 0, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 0, 0, 0, 0, 0, 0, 0,
        0, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 0, 0, 0, 0, 0,
        0, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 0, 0, 52, 52, 52, 52, 52, 52, 52, 52, 0, 0,
        0, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 0, 0, 0, 52, 52, 52, 52, 52, 52, 52, 52, 0,
        0, 0, 52, 52, 52, 52, 52, 52, 52, 52, 0, 0, 52, 52, 52, 52, 52, 52, 52, 52, 0, 0, 52, 52, 52, 52, 52, 52, 52, 0,
        0, 0, 52, 52, 52, 52, 52, 52, 52, 0, 0, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 0,
        0, 0, 52, 52, 52, 52, 52, 52, 52, 0, 0, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 0, 0, 0,
        0, 0, 0, 52, 52, 52, 52, 52, 52, 0, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 0, 0, 0,
        0, 0, 0, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 0, 0, 0,
        0, 0, 0, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 0, 0, 0,
        0, 0, 0, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 0, 0, 0, 52, 52, 52, 52, 0,
        0, 0, 0, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 0, 0, 0, 52, 52, 52, 52, 0,
        0, 0, 0, 0, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 0, 0, 0, 52, 52, 52, 0,
        0, 0, 0, 0, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 0,
        0, 0, 0, 0, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 0, 0,
        0, 0, 0, 0, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 0, 0, 0,
        0, 0, 0, 0, 52, 52, 52, 52, 52, 52, 0, 0, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 0, 0, 0, 0,
        0, 0, 0, 0, 52, 52, 52, 52, 52, 52, 0, 0, 0, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 0, 0, 0, 0, 0,
        0, 0, 0, 52, 52, 52, 52, 52, 52, 52, 52, 0, 52, 52, 52, 52, 52, 52, 52, 52, 0, 52, 52, 52, 52, 52, 0, 0, 0, 0,
        0, 0, 0, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 0, 0, 0, 0, 52, 52, 52, 52, 52, 0, 0, 0,
        0, 0, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 0, 0, 0, 52, 52, 52, 52, 52, 52, 0, 0,
        0, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 0, 0,
        0, 52, 52, 52, 52, 52, 52, 52, 52, 0, 0, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 0, 0,
        0, 52, 52, 52, 52, 52, 52, 52, 0, 0, 0, 0, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 0, 0,
        0, 0, 52, 52, 52, 52, 52, 0, 0, 0, 0, 0, 0, 52, 52, 52, 52, 52, 52, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 52, 52, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
      }
    },
    {
      type = "objectgroup",
      name = "FG_OBJECTS",
      visible = true,
      opacity = 1,
      properties = {},
      objects = {
        {
          name = "",
          type = "shadowthrall_centipede_spawner",
          shape = "rectangle",
          x = 1017,
          y = 915,
          width = 0,
          height = 0,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 1300,
          y = 913,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 1326,
          y = 1005,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 1398,
          y = 675,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 1486,
          y = 551,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 1626,
          y = 685,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 1718,
          y = 857,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 1724,
          y = 987,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 1628,
          y = 1463,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 1660,
          y = 1557,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 1556,
          y = 1595,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 1454,
          y = 1391,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 1360,
          y = 1261,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 1548,
          y = 1141,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 1410,
          y = 1127,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 912,
          y = 1227,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 1046,
          y = 1319,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 876,
          y = 1395,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 994,
          y = 1447,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 1106,
          y = 1547,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 1246,
          y = 1569,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 1392,
          y = 1625,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 1162,
          y = 1661,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 1004,
          y = 1653,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 912,
          y = 1569,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 874,
          y = 1721,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 798,
          y = 1619,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 748,
          y = 1491,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 610,
          y = 1391,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 496,
          y = 1493,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 336,
          y = 1551,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 278,
          y = 1687,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 154,
          y = 1617,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 214,
          y = 1495,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 304,
          y = 1413,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 426,
          y = 1373,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 334,
          y = 1221,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 516,
          y = 1181,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 392,
          y = 1053,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 602,
          y = 1065,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 492,
          y = 1015,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 594,
          y = 903,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 308,
          y = 933,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 432,
          y = 865,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 548,
          y = 771,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 328,
          y = 781,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 446,
          y = 725,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 250,
          y = 667,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 358,
          y = 617,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 460,
          y = 465,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 222,
          y = 523,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 294,
          y = 413,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 448,
          y = 225,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 580,
          y = 303,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 746,
          y = 333,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 890,
          y = 231,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 1034,
          y = 175,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 1316,
          y = 237,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 1452,
          y = 329,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 1624,
          y = 405,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 1276,
          y = 559,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 1046,
          y = 449,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 818,
          y = 479,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 872,
          y = 373,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 1006,
          y = 315,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 440,
          y = 343,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 1208,
          y = 1233,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 1278,
          y = 741,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 1148,
          y = 539,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_vent_rock",
          shape = "rectangle",
          x = 722,
          y = 599,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "tree_rock",
          shape = "rectangle",
          x = 1286,
          y = 1155,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "tree_rock",
          shape = "rectangle",
          x = 1456,
          y = 1237,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "tree_rock",
          shape = "rectangle",
          x = 1448,
          y = 1507,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "tree_rock",
          shape = "rectangle",
          x = 1626,
          y = 1067,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "tree_rock",
          shape = "rectangle",
          x = 1500,
          y = 713,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "tree_rock",
          shape = "rectangle",
          x = 1596,
          y = 575,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "tree_rock",
          shape = "rectangle",
          x = 1722,
          y = 447,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "tree_rock",
          shape = "rectangle",
          x = 1464,
          y = 431,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "tree_rock",
          shape = "rectangle",
          x = 1374,
          y = 543,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "tree_rock",
          shape = "rectangle",
          x = 936,
          y = 509,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "tree_rock",
          shape = "rectangle",
          x = 658,
          y = 715,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "tree_rock",
          shape = "rectangle",
          x = 290,
          y = 1103,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "tree_rock",
          shape = "rectangle",
          x = 448,
          y = 1279,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "tree_rock",
          shape = "rectangle",
          x = 392,
          y = 1469,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "tree_rock",
          shape = "rectangle",
          x = 240,
          y = 1589,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "tree_rock",
          shape = "rectangle",
          x = 398,
          y = 1641,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "tree_rock",
          shape = "rectangle",
          x = 616,
          y = 1489,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "tree_rock",
          shape = "rectangle",
          x = 850,
          y = 1485,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "tree_rock",
          shape = "rectangle",
          x = 1116,
          y = 103,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "tree_rock",
          shape = "rectangle",
          x = 1180,
          y = 209,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "tree_rock",
          shape = "rectangle",
          x = 954,
          y = 399,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "tree_rock",
          shape = "rectangle",
          x = 536,
          y = 387,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "tree_rock",
          shape = "rectangle",
          x = 452,
          y = 581,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "tree_rock",
          shape = "rectangle",
          x = 326,
          y = 519,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "tree_rock",
          shape = "rectangle",
          x = 336,
          y = 311,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "tree_rock",
          shape = "rectangle",
          x = 172,
          y = 403,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "tree_rock",
          shape = "rectangle",
          x = 228,
          y = 829,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "tree_rock",
          shape = "rectangle",
          x = 800,
          y = 1179,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "tree_rock",
          shape = "rectangle",
          x = 1502,
          y = 1049,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "tree_rock",
          shape = "rectangle",
          x = 732,
          y = 523,
          width = 68,
          height = 66,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_fern_withered",
          shape = "rectangle",
          x = 258,
          y = 285,
          width = 50,
          height = 50,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_fern_withered",
          shape = "rectangle",
          x = 210,
          y = 351,
          width = 50,
          height = 50,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_fern_withered",
          shape = "rectangle",
          x = 276,
          y = 491,
          width = 50,
          height = 50,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_fern_withered",
          shape = "rectangle",
          x = 382,
          y = 393,
          width = 50,
          height = 50,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_fern_withered",
          shape = "rectangle",
          x = 404,
          y = 531,
          width = 50,
          height = 50,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_fern_withered",
          shape = "rectangle",
          x = 518,
          y = 289,
          width = 50,
          height = 50,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_fern_withered",
          shape = "rectangle",
          x = 656,
          y = 363,
          width = 50,
          height = 50,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_fern_withered",
          shape = "rectangle",
          x = 682,
          y = 281,
          width = 50,
          height = 50,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_fern_withered",
          shape = "rectangle",
          x = 832,
          y = 311,
          width = 50,
          height = 50,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_fern_withered",
          shape = "rectangle",
          x = 992,
          y = 243,
          width = 50,
          height = 50,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_fern_withered",
          shape = "rectangle",
          x = 1088,
          y = 275,
          width = 50,
          height = 50,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_fern_withered",
          shape = "rectangle",
          x = 1372,
          y = 325,
          width = 50,
          height = 50,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_fern_withered",
          shape = "rectangle",
          x = 1548,
          y = 381,
          width = 50,
          height = 50,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_fern_withered",
          shape = "rectangle",
          x = 1708,
          y = 343,
          width = 50,
          height = 50,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_fern_withered",
          shape = "rectangle",
          x = 1580,
          y = 487,
          width = 50,
          height = 50,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_fern_withered",
          shape = "rectangle",
          x = 1498,
          y = 637,
          width = 50,
          height = 50,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_fern_withered",
          shape = "rectangle",
          x = 1302,
          y = 647,
          width = 50,
          height = 50,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_fern_withered",
          shape = "rectangle",
          x = 1040,
          y = 541,
          width = 50,
          height = 50,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "flower_cave_withered",
          shape = "rectangle",
          x = 834,
          y = 571,
          width = 50,
          height = 50,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_fern_withered",
          shape = "rectangle",
          x = 348,
          y = 711,
          width = 50,
          height = 50,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_fern_withered",
          shape = "rectangle",
          x = 402,
          y = 957,
          width = 50,
          height = 50,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_fern_withered",
          shape = "rectangle",
          x = 312,
          y = 871,
          width = 50,
          height = 50,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_fern_withered",
          shape = "rectangle",
          x = 428,
          y = 1161,
          width = 50,
          height = 50,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_fern_withered",
          shape = "rectangle",
          x = 528,
          y = 1107,
          width = 50,
          height = 50,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_fern_withered",
          shape = "rectangle",
          x = 520,
          y = 927,
          width = 50,
          height = 50,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_fern_withered",
          shape = "rectangle",
          x = 290,
          y = 1347,
          width = 50,
          height = 50,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "flower_cave_triple_withered",
          shape = "rectangle",
          x = 526,
          y = 1423,
          width = 50,
          height = 50,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_fern_withered",
          shape = "rectangle",
          x = 308,
          y = 1493,
          width = 50,
          height = 50,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_fern_withered",
          shape = "rectangle",
          x = 906,
          y = 1649,
          width = 50,
          height = 50,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_fern_withered",
          shape = "rectangle",
          x = 1022,
          y = 1555,
          width = 50,
          height = 50,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_fern_withered",
          shape = "rectangle",
          x = 1082,
          y = 1433,
          width = 50,
          height = 50,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_fern_withered",
          shape = "rectangle",
          x = 954,
          y = 1341,
          width = 50,
          height = 50,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_fern_withered",
          shape = "rectangle",
          x = 1550,
          y = 1441,
          width = 50,
          height = 50,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_fern_withered",
          shape = "rectangle",
          x = 1350,
          y = 1561,
          width = 50,
          height = 50,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_fern_withered",
          shape = "rectangle",
          x = 1488,
          y = 1643,
          width = 50,
          height = 50,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_fern_withered",
          shape = "rectangle",
          x = 1552,
          y = 1519,
          width = 50,
          height = 50,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_fern_withered",
          shape = "rectangle",
          x = 1526,
          y = 1319,
          width = 50,
          height = 50,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_fern_withered",
          shape = "rectangle",
          x = 1630,
          y = 1149,
          width = 50,
          height = 50,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_fern_withered",
          shape = "rectangle",
          x = 1636,
          y = 863,
          width = 50,
          height = 50,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_fern_withered",
          shape = "rectangle",
          x = 1614,
          y = 767,
          width = 50,
          height = 50,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_fern_withered",
          shape = "rectangle",
          x = 1362,
          y = 765,
          width = 50,
          height = 50,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_fern_withered",
          shape = "rectangle",
          x = 1198,
          y = 625,
          width = 50,
          height = 50,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_fern_withered",
          shape = "rectangle",
          x = 708,
          y = 1123,
          width = 50,
          height = 50,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_fern_withered",
          shape = "rectangle",
          x = 1122,
          y = 1251,
          width = 50,
          height = 50,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_fern_withered",
          shape = "rectangle",
          x = 1272,
          y = 1081,
          width = 50,
          height = 50,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_fern_withered",
          shape = "rectangle",
          x = 1034,
          y = 1139,
          width = 50,
          height = 50,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_fern_withered",
          shape = "rectangle",
          x = 1136,
          y = 987,
          width = 50,
          height = 50,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_fern_withered",
          shape = "rectangle",
          x = 1186,
          y = 843,
          width = 50,
          height = 50,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_fern_withered",
          shape = "rectangle",
          x = 1040,
          y = 721,
          width = 50,
          height = 50,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_fern_withered",
          shape = "rectangle",
          x = 830,
          y = 765,
          width = 50,
          height = 50,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_fern_withered",
          shape = "rectangle",
          x = 746,
          y = 921,
          width = 50,
          height = 50,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_fern_withered",
          shape = "rectangle",
          x = 860,
          y = 1069,
          width = 50,
          height = 50,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_fern_withered",
          shape = "rectangle",
          x = 1160,
          y = 1127,
          width = 50,
          height = 50,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "cave_fern_withered",
          shape = "rectangle",
          x = 924,
          y = 655,
          width = 50,
          height = 50,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "flower_cave_double_withered",
          shape = "rectangle",
          x = 1156,
          y = 733,
          width = 50,
          height = 50,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "retrofit_fumaroleteleporter",
          shape = "rectangle",
          x = 177,
          y = 263,
          width = 0,
          height = 0,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "flower_cave_withered",
          shape = "rectangle",
          x = 875,
          y = 892,
          width = 50,
          height = 50,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "flower_cave_double_withered",
          shape = "rectangle",
          x = 275,
          y = 617,
          width = 17,
          height = 16,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "flower_cave_withered",
          shape = "rectangle",
          x = 295,
          y = 374,
          width = 17,
          height = 16,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "flower_cave_triple_withered",
          shape = "rectangle",
          x = 117,
          y = 318,
          width = 17,
          height = 16,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "flower_cave_withered",
          shape = "rectangle",
          x = 99,
          y = 259,
          width = 17,
          height = 16,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "flower_cave_double_withered",
          shape = "rectangle",
          x = 179,
          y = 312,
          width = 17,
          height = 16,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "flower_cave_triple_withered",
          shape = "rectangle",
          x = 226,
          y = 322,
          width = 17,
          height = 16,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "flower_cave_double_withered",
          shape = "rectangle",
          x = 274,
          y = 228,
          width = 17,
          height = 16,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "flower_cave_withered",
          shape = "rectangle",
          x = 185,
          y = 190,
          width = 17,
          height = 16,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "flower_cave_withered",
          shape = "rectangle",
          x = 138,
          y = 222,
          width = 17,
          height = 16,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "flower_cave_withered",
          shape = "rectangle",
          x = 97,
          y = 176,
          width = 17,
          height = 16,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "flower_cave_double_withered",
          shape = "rectangle",
          x = 97,
          y = 392,
          width = 17,
          height = 16,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "flower_cave_withered",
          shape = "rectangle",
          x = 526,
          y = 183,
          width = 17,
          height = 16,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "flower_cave_withered",
          shape = "rectangle",
          x = 582,
          y = 229,
          width = 17,
          height = 16,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "flower_cave_withered",
          shape = "rectangle",
          x = 932,
          y = 326,
          width = 17,
          height = 16,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "flower_cave_withered",
          shape = "rectangle",
          x = 1100,
          y = 397,
          width = 17,
          height = 16,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "flower_cave_withered",
          shape = "rectangle",
          x = 1270,
          y = 241,
          width = 17,
          height = 16,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "flower_cave_withered",
          shape = "rectangle",
          x = 1422,
          y = 1013,
          width = 17,
          height = 16,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "flower_cave_withered",
          shape = "rectangle",
          x = 324,
          y = 1049,
          width = 17,
          height = 16,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "flower_cave_withered",
          shape = "rectangle",
          x = 284,
          y = 1235,
          width = 17,
          height = 16,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "flower_cave_withered",
          shape = "rectangle",
          x = 386,
          y = 1342,
          width = 17,
          height = 16,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "flower_cave_withered",
          shape = "rectangle",
          x = 1514,
          y = 1175,
          width = 17,
          height = 16,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "flower_cave_withered",
          shape = "rectangle",
          x = 1612,
          y = 1403,
          width = 17,
          height = 16,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "flower_cave_withered",
          shape = "rectangle",
          x = 1273,
          y = 1675,
          width = 17,
          height = 16,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "flower_cave_withered",
          shape = "rectangle",
          x = 1100,
          y = 1640,
          width = 17,
          height = 16,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "flower_cave_withered",
          shape = "rectangle",
          x = 333,
          y = 1656,
          width = 17,
          height = 16,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "flower_cave_triple_withered",
          shape = "rectangle",
          x = 120,
          y = 1589,
          width = 17,
          height = 16,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "flower_cave_triple_withered",
          shape = "rectangle",
          x = 579,
          y = 1345,
          width = 17,
          height = 16,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "flower_cave_triple_withered",
          shape = "rectangle",
          x = 626,
          y = 1017,
          width = 17,
          height = 16,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "flower_cave_triple_withered",
          shape = "rectangle",
          x = 1750,
          y = 944,
          width = 17,
          height = 16,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "flower_cave_triple_withered",
          shape = "rectangle",
          x = 1668,
          y = 522,
          width = 17,
          height = 16,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "flower_cave_triple_withered",
          shape = "rectangle",
          x = 1450,
          y = 281,
          width = 17,
          height = 16,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "flower_cave_triple_withered",
          shape = "rectangle",
          x = 1216,
          y = 1192,
          width = 17,
          height = 16,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "flower_cave_triple_withered",
          shape = "rectangle",
          x = 1690,
          y = 1667,
          width = 17,
          height = 16,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "flower_cave_double_withered",
          shape = "rectangle",
          x = 442,
          y = 821,
          width = 17,
          height = 16,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "flower_cave_double_withered",
          shape = "rectangle",
          x = 231,
          y = 772,
          width = 17,
          height = 16,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "flower_cave_double_withered",
          shape = "rectangle",
          x = 404,
          y = 913,
          width = 17,
          height = 16,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "flower_cave_double_withered",
          shape = "rectangle",
          x = 624,
          y = 1179,
          width = 17,
          height = 16,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "flower_cave_double_withered",
          shape = "rectangle",
          x = 388,
          y = 1149,
          width = 17,
          height = 16,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "flower_cave_double_withered",
          shape = "rectangle",
          x = 292,
          y = 1279,
          width = 17,
          height = 16,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "flower_cave_double_withered",
          shape = "rectangle",
          x = 237,
          y = 1448,
          width = 17,
          height = 16,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "flower_cave_double_withered",
          shape = "rectangle",
          x = 752,
          y = 1593,
          width = 17,
          height = 16,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "flower_cave_double_withered",
          shape = "rectangle",
          x = 975,
          y = 1813,
          width = 17,
          height = 16,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "flower_cave_double_withered",
          shape = "rectangle",
          x = 1086,
          y = 1670,
          width = 17,
          height = 16,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "flower_cave_double_withered",
          shape = "rectangle",
          x = 956,
          y = 1523,
          width = 17,
          height = 16,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "flower_cave_double_withered",
          shape = "rectangle",
          x = 1576,
          y = 765,
          width = 17,
          height = 16,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "flower_cave_double_withered",
          shape = "rectangle",
          x = 1794,
          y = 530,
          width = 17,
          height = 16,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "flower_cave_double_withered",
          shape = "rectangle",
          x = 1445,
          y = 517,
          width = 17,
          height = 16,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "flower_cave_double_withered",
          shape = "rectangle",
          x = 1564,
          y = 333,
          width = 17,
          height = 16,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "flower_cave_withered",
          shape = "rectangle",
          x = 1412,
          y = 398,
          width = 17,
          height = 16,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "flower_cave_withered",
          shape = "rectangle",
          x = 1569,
          y = 306,
          width = 17,
          height = 16,
          visible = true,
          properties = {}
        },
        {
          name = "",
          type = "flower_cave_withered",
          shape = "rectangle",
          x = 1742,
          y = 533,
          width = 17,
          height = 16,
          visible = true,
          properties = {}
        }
      }
    }
  }
}

 

As a result, the returned list only contained tree_rock instead of the actual prefabs: tree_rock1 and tree_rock2.

Therefore, the generated prefab densities did not include tree_rock1 or tree_rock2. This caused Boulderbough to completely fail to undergo offspring regrowth, and desolation regrowth only applied to tree_rock.

 

In our group’s world (currently at day 34,818), we now have almost no way to obtain new Boulderboughs. Some players even stay underground waiting for a Great Depths Worm to appear and kill it just to get one.

 

Please help us restore the normal way of obtaining new Boulderboughs. Thank you very much!

 

This is a supplement to a previous bug track, since the description in that post was not detailed enough.

 

English translation provided with assistance.


Steps to Reproduce

Start a cave world with a version lower than 692645, then run the following code to check the result.

tmp_obj_layout = require("map/object_layout")
tmp_layout = tmp_obj_layout.LayoutForDefinition("retrofit_fumarole")
tmp_prefabs = tmp_obj_layout.ConvertLayoutToEntitylist(tmp_layout)
tmp_result = {}
for k, v in pairs(tmp_prefabs) do if tmp_result[v.prefab] == nil then tmp_result[v.prefab] = 0 end tmp_result[v.prefab] = tmp_result[v.prefab] + 1 end
print(json.encode(tmp_result))
Spoiler

This is result.

{
  "flower_cave_withered":24,
  "flower_cave_triple_withered":11,
  "flower_cave_double_withered":20,
  "cave_vent_rock":69,
  "retrofit_fumaroleteleporter":1,
  "cave_fern_withered":52,
  "shadowthrall_centipede_spawner":1,
  "tree_rock":30
}

Alternatively, search for "FumaroleRetrofit:0:Chasm" in the saved file after saving, and check whether the saved data contains the following entries: tree_rock, tree_rock1, tree_rock2.

Spoiler

This is result.

["FumaroleRetrofit:0:Chasm"]={
  tree_rock=0.051813471502591,
  flower_cave_triple_withered=0.018998272884283,
  cave_vent_rock=0.11917098445596,
  flower_cave_double_withered=0.03454231433506,
  cave_fern_withered=0.089810017271157,
  retrofit_fumaroleteleporter=0.001727115716753,
  shadowthrall_centipede_spawner=0.001727115716753,
  flower_cave_withered=0.041450777202073
}

The attached save file includes both pre- and post-update data. In the session folder, 0000000002 corresponds to data from before the 692645 update, while 0000000003 corresponds to data saved with the current version 692777.

Cluster_1.zip

  • Like 2
  • Big Ups 1



User Feedback




Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...