Minor comment tweaks
This commit is contained in:
@@ -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
|
There, a tunnel can be "carved" from each seed tile to the next. Finally, the
|
||||||
map is populated, but that is beyond this exercise.
|
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
|
return pathlist
|
||||||
end
|
end
|
||||||
|
|
||||||
print("populating lists")
|
print("Populating lists")
|
||||||
|
|
||||||
math.randomseed(os.time())
|
math.randomseed(os.time())
|
||||||
|
|
||||||
@@ -135,4 +136,4 @@ for k, path in next, pathlist do --multiple paths in the lsit
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
print("generator finished")
|
print("Generator finished")
|
||||||
+1
-1
@@ -4,7 +4,7 @@ print("Running startup script")
|
|||||||
|
|
||||||
pager = ...
|
pager = ...
|
||||||
|
|
||||||
---[[
|
--[[
|
||||||
|
|
||||||
--DOCS: These lambdas should return true or false, depending on if the operation succeeded or not
|
--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
|
--DOCS: No return value given is recognized as a failure
|
||||||
|
|||||||
Reference in New Issue
Block a user