Trims back wilderness code that was dependent on tether map.

* Reverted random.dm back to Polaris as there is no need for the VOREStation customs.
* Fixed /obj/random/outside_mob so it will actually work (You can't set vars on a type!)
* Removed all wilderness code outside of the tether map.  It was only setting life_disabled on mobs spawning there. We can do that with a subsystem or by dynamic maploading instead.
This commit is contained in:
Leshana
2018-01-17 15:23:22 -05:00
parent 62ef3b1820
commit fe431c8e46
8 changed files with 18 additions and 92 deletions
@@ -1,32 +0,0 @@
/mob/living/simple_animal/hostile/alien/proc/disable_for_wilderness()
var/datum/map_z_level/z_level = get_z_level_datum(src)
if(!istype(z_level, /datum/map_z_level/tether/wilderness))
return
var/datum/map_z_level/tether/wilderness/wilderness = z_level
if(wilderness.activated)
return
life_disabled = 1
wilderness.frozen_mobs += src
for(var/i = 1 to 20)
step_rand(src)
sleep(2)
/mob/living/simple_animal/hostile/alien/wilderness_spawn/New()
..()
disable_for_wilderness()
/mob/living/simple_animal/hostile/alien/drone/wilderness_spawn/New()
..()
disable_for_wilderness()
/mob/living/simple_animal/hostile/alien/sentinel/wilderness_spawn/New()
..()
disable_for_wilderness()
/mob/living/simple_animal/hostile/alien/queen/wilderness_spawn/New()
..()
disable_for_wilderness()
/mob/living/simple_animal/hostile/alien/queen/large/wilderness_spawn/New()
..()
disable_for_wilderness()