mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
Snaxi Vaults (#28618)
* Snaxi Vaults * animal update - wolves and capybaras * More vaults and fixed * tweaking spawn numbers
This commit is contained in:
@@ -178,15 +178,18 @@
|
||||
continue
|
||||
var/sanity = 0
|
||||
var/turf/new_spawn_point
|
||||
var/filter_counter = 0
|
||||
do
|
||||
sanity++
|
||||
new_spawn_point = pick(valid_spawn_points)
|
||||
valid_spawn_points.Remove(new_spawn_point)
|
||||
if(filter_function && !call(filter_function)(ME, new_spawn_point))
|
||||
new_spawn_point = null
|
||||
filter_counter++
|
||||
continue
|
||||
break
|
||||
while(sanity < 100)
|
||||
message_admins("TESTING: Filtered [filter_counter] turfs.")
|
||||
if(!new_spawn_point)
|
||||
continue
|
||||
var/vault_x = new_spawn_point.x
|
||||
|
||||
Reference in New Issue
Block a user