Replaces lavaland generation (Cellular automata caves) with a more sophisticated cave network system (#96026)

This commit is contained in:
CabinetOnFire
2026-06-06 15:36:14 +00:00
committed by GitHub
parent f78a72d5bd
commit cfd1c8bb67
9 changed files with 101 additions and 24 deletions
+3
View File
@@ -212,6 +212,9 @@
var/top_right_y = bottom_left_y + current_pick.height - 1
log_mapping("Successfully placed [current_pick.name] ruin ([bottom_left_x],[bottom_left_y],[placed_turf.z] to [top_right_x],[top_right_y],[placed_turf.z]).")
///Keep track of the active ruins so we can take it in account for map generation. Using bottom lef turf as key
SSmapping.active_ruins[locate(bottom_left_x, bottom_left_y, placed_turf.z)] = current_pick
//Update the available list
for(var/datum/map_template/ruin/R in ruins_available)
if(R.cost > budget || R.mineral_cost > mineral_budget)