Skip to content

Commit

Permalink
Tweak.
Browse files Browse the repository at this point in the history
Naming.
  • Loading branch information
GoogleFrog committed Sep 27, 2021
1 parent 8194cad commit 189089d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions luarules/gadgets/map_terrain_generator.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1936,8 +1936,8 @@ local function SetEdgePassability(params, edge, minLandTier)
edge.terrainWidth = ((0.65 < random()) and params.rampWidth) or params.cliffWidth
end
else
-- Make a ramp 35% of the time.
edge.terrainWidth = ((0.35 < random()) and params.rampWidth) or params.cliffWidth
-- Make a ramp 40% of the time.
edge.terrainWidth = ((0.4 < random()) and params.rampWidth) or params.cliffWidth
end

-- Make a veh-pathable mega ramp.
Expand Down
8 changes: 4 additions & 4 deletions mapinfo.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
--

local mapinfo = {
name = "Random Crags",
shortname = "rcrags",
description = "A sometimes-craggy, sometimes flat random map (10x10)",
name = "Random Plateaus",
shortname = "rplat",
description = "A sometimes craggy, sometimes plateauy random map, now with igloos (10x10)",
author = "GoogleFrog",
version = "v2.1",
version = "v0.7",
modtype = 3, --// 1=primary, 0=hidden, 3=map

maphardness = 140,
Expand Down

0 comments on commit 189089d

Please sign in to comment.