diff --git a/rsc/roguegenerator.lua b/rsc/roguegenerator.lua index 4a2670f..7d0a1c8 100644 --- a/rsc/roguegenerator.lua +++ b/rsc/roguegenerator.lua @@ -7,7 +7,8 @@ center of rooms. The rooms can be any size, as long as they don't overlap. From There, a tunnel can be "carved" from each seed tile to the next. Finally, the map is populated, but that is beyond this exercise. -This specification isn't ironclad. +This specification isn't ironclad, as the current implementation has no overlap +prevention, resulting in some strange dungeon designs. --]] @@ -78,7 +79,7 @@ function buildpaths(roomlist) return pathlist end -print("populating lists") +print("Populating lists") math.randomseed(os.time()) @@ -135,4 +136,4 @@ for k, path in next, pathlist do --multiple paths in the lsit end end -print("generator finished") \ No newline at end of file +print("Generator finished") \ No newline at end of file diff --git a/rsc/startup.lua b/rsc/startup.lua index 713ef7f..2798731 100644 --- a/rsc/startup.lua +++ b/rsc/startup.lua @@ -4,7 +4,7 @@ print("Running startup script") pager = ... ----[[ +--[[ --DOCS: These lambdas should return true or false, depending on if the operation succeeded or not --DOCS: No return value given is recognized as a failure