Skip to content

Commit

Permalink
Give it a bit more range as a treat
Browse files Browse the repository at this point in the history
  • Loading branch information
Bokkiewokkie committed Jul 30, 2024
1 parent 7c982a8 commit 53c2cde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nsv13/code/modules/mining/asteroid.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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/closed/mineral/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
Expand Down

0 comments on commit 53c2cde

Please sign in to comment.