Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
BeebBeebBoob committed Jan 6, 2025
1 parent be17bf4 commit 3e4bb08
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 27 deletions.
24 changes: 0 additions & 24 deletions code/controllers/subsystem/mapping.dm
Original file line number Diff line number Diff line change
Expand Up @@ -355,30 +355,6 @@ SUBSYSTEM_DEF(mapping)
to_chat(world, "<span class='userdanger'>ERROR: The path specified for the map to load is invalid. No station has been loaded!</span>")
return

// Do not confuse with seedRuins()
/datum/controller/subsystem/mapping/proc/handleRuins()
// load in extra levels of space ruins
log_startup_progress("Creating random space levels...")
var/num_extra_space = isnull(map_datum?.space_ruins_levels) ? SPACE_RUINS_NUMBER : map_datum.space_ruins_levels
if(num_extra_space)
var/load_zlevels_timer = start_watch()
for(var/i in 1 to num_extra_space)
GLOB.space_manager.add_new_zlevel("Ruin Area #[i]", linkage = CROSSLINKED, traits = list(REACHABLE, SPAWN_RUINS))
log_startup_progress("Loaded random space levels in [stop_watch(load_zlevels_timer)]s.")
else
log_startup_progress("No random space levels created, due to map configuration.")

// Now spawn ruins, random budget between 20 and 30 for all zlevels combined.
// While this may seem like a high number, the amount of ruin Z levels can be anywhere between 3 and 7.
// Note that this budget is not split evenly accross all zlevels
log_startup_progress("Seeding ruins...")
var/seed_ruins_timer = start_watch()
seedRuins(levels_by_trait(SPAWN_RUINS), rand(20, 30), /area/space, GLOB.space_ruins_templates)
log_startup_progress("Successfully seeded ruins in [stop_watch(seed_ruins_timer)]s.")


/datum/controller/subsystem/mapping/proc/loadStation()

var/watch = start_watch()
log_startup_progress("Loading [map_datum.station_name]...")
var/map_z_level
Expand Down
6 changes: 3 additions & 3 deletions code/game/turfs/simulated/minerals_sand.dm
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

/turf/simulated/mineral/sand
name = "rock"
icon = 'icons/turf/mining.dmi'
icon_state = "sand"
smooth_icon = 'icons/turf/smoothrocks_sand.dmi'
icon = 'icons/turf/smoothrocks_sand.dmi'
icon_state = "rock"
smooth = SMOOTH_CORNERS
baseturf = /turf/simulated/floor/plating/asteroid/sand
turf_type = /turf/simulated/floor/plating/asteroid/sand
mineralType = /obj/item/stack/ore/glass/sand
Expand Down

0 comments on commit 3e4bb08

Please sign in to comment.