MapGen: fix patch

This commit is contained in:
Van
2026-03-09 21:16:53 +03:00
parent 4ef2476771
commit c6573ae308
4 changed files with 10169 additions and 32204 deletions

View File

@@ -775,9 +775,9 @@ function MapGen:getNoises2dValue(category, layer, x, y, z)
local triangles = { local triangles = {
pastCalc.triangle, pastCalc.triangle,
pastCalc.triangle.neighbours.t1, pastCalc.triangle.neighbours[1],
pastCalc.triangle.neighbours.t2, pastCalc.triangle.neighbours[2],
pastCalc.triangle.neighbours.t3, pastCalc.triangle.neighbours[3],
} }
---@param t MapGen.Triangle ---@param t MapGen.Triangle

View File

@@ -74,7 +74,7 @@ end
---@field h2 MapGen.Triangulation.Edge ---@field h2 MapGen.Triangulation.Edge
---@field h3 MapGen.Triangulation.Edge ---@field h3 MapGen.Triangulation.Edge
---@field neighboursIDs integer[] ---@field neighboursIDs integer[]
---@field neighbours MapGen.Triangle.Neighbours ---@field neighbours MapGen.Triangle[]
---@field color ColorString? ---@field color ColorString?
local Triangle = { local Triangle = {
neighbours = {} neighbours = {}

File diff suppressed because it is too large Load Diff

View File

@@ -65,6 +65,7 @@ core.register_on_joinplayer(function(player, last_login)
}, },
saturation = 1.0, saturation = 1.0,
}) })
end) end)
-- Keys indicating the languages ​​for which localization presence is checked. -- Keys indicating the languages ​​for which localization presence is checked.