BBS:      TELESC.NET.BR
Assunto:  xtrn/utopia/utopia.js
De:       Rob Swindell (on Debian L
Data:     Mon, 2 Feb 2026 18:27:00 -0800
-----------------------------------------------------------
https://gitlab.synchro.net/main/sbbs/-/commit/992aa9015714bef6df405c48
Modified Files:
	xtrn/utopia/utopia.js
Log Message:
Better randomly-generated land masses

The "rough edges" were not distributed evenly, the odds of getting a half
block that boardered water on the north was much less than on the south edge
of the map. This meant that land masses tended to be "flat tops". The switch
case fall-through logic was a bit flawed.

Added a shaded "rocks" block to the randomly-gen'd maps. I played with adding
even more rock shades but the results were just messier (to my eyes).

The map editor can add shaded blocks to maps with the '\' key. ANSI Artists,
do your thing, please!
n
---
  mSynchronetn  hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net

-----------------------------------------------------------
[Voltar]