mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-23 21:27:01 +01:00
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:
@@ -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()
|
||||
Reference in New Issue
Block a user