From 81dd6a83712ffdcb22226267c67b38f84a52d0bd Mon Sep 17 00:00:00 2001 From: Bokkiewokkie <43698041+Bokkiewokkie@users.noreply.github.com> Date: Fri, 6 Sep 2024 22:24:59 +0200 Subject: [PATCH] Makes asteroids not just replace every turf when generating ores (#2699) --- nsv13/code/modules/mining/asteroid.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nsv13/code/modules/mining/asteroid.dm b/nsv13/code/modules/mining/asteroid.dm index dc6896a7577..6ae18405aab 100644 --- a/nsv13/code/modules/mining/asteroid.dm +++ b/nsv13/code/modules/mining/asteroid.dm @@ -130,8 +130,8 @@ GLOBAL_LIST_EMPTY(asteroid_spawn_markers) //handles mining asteroids, kind of s center = T else center = locate(T.x+(width/2), T.y+(height/2), T.z) - for(var/turf/target_turf as() in RANGE_TURFS(rand(3,5), center)) //Give that boi a nice core. - if(prob(85)) //Bit of random distribution + for(var/turf/closed/mineral/target_turf as() in RANGE_TURFS(rand(4,6), center)) //Give that boi a nice core. + if(prob(80)) //Bit of random distribution var/turf_type = pick(core_composition) target_turf.ChangeTurf(turf_type) //Make the core itself // add boundaries