Snaxi Vaults (#28618)

* Snaxi Vaults

* animal update - wolves and capybaras

* More vaults and fixed

* tweaking spawn numbers
This commit is contained in:
Kurfursten
2021-01-20 15:48:31 -06:00
committed by GitHub
parent 11f1923dc9
commit 694e7d4b7e
37 changed files with 1693 additions and 964 deletions

View File

@@ -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