Skip to content

Commit

Permalink
Fix defaults of solid resource angle placements (after fixing other b…
Browse files Browse the repository at this point in the history
…ug with angle math.)
  • Loading branch information
Oarcinae committed Oct 8, 2024
1 parent 1f263a3 commit 249b250
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -345,11 +345,11 @@ OCFG = {
-- At what angle (in radians) do resources start.
-- 0 means starts directly east.
-- Resources are placed clockwise from there.
angle_offset = 2.32, -- 2.32 is approx SSW.
angle_offset = 2.09, -- Approx SSW.

-- At what andle do we place the last resource.
-- angle_offset and angle_final determine spacing and placement.
angle_final = 4.46, -- 4.46 is approx NNW.
angle_final = 4.18, -- Approx NNW.

-- Vertical offset in tiles for the deposit resource placement. Starting from top-left corner.
-- Only applicable for square spawns.
Expand Down
4 changes: 2 additions & 2 deletions settings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ data:extend({
type = "double-setting",
name = "oarc-mod-resource-placement-angle-offset",
setting_type = "runtime-global",
default_value = 2.32,
default_value = 2.09,
minimum_value = 0,
maximum_value = 6.28,
order = "i3"
Expand All @@ -350,7 +350,7 @@ data:extend({
type = "double-setting",
name = "oarc-mod-resource-placement-angle-final",
setting_type = "runtime-global",
default_value = 4.46,
default_value = 4.18,
minimum_value = 0,
maximum_value = 6.28,
order = "i4"
Expand Down

0 comments on commit 249b250

Please sign in to comment.