Browse Source

Return worldgen slightly

master
Thomas Johnson 3 years ago
parent
commit
9207d5f467
  1. 2
      src/world/gen.rs

2
src/world/gen.rs

@ -25,7 +25,7 @@ const CIRC_MIN_RAD: isize = 2;
const CIRC_MAX_RAD: isize = 7;
// path strategies: [no path, Bresenham line between centers, orthogonal paths, random paths nearby]
const PATH_STRATEGY_WEIGHTS: [usize; 4] = [30, 0, 1, 1];
const PATH_STRATEGY_WEIGHTS: [usize; 4] = [2500, 5, 100, 100];
const USE_RECTANGLE_CENTER_FOR_PATH_END_PROB: f64 = 0.5;

Loading…
Cancel
Save