Files
Paradise/code/_onclick/ventcrawl.dm
ComicIronic 65ea7e07d9 Ventcrawl Overhaul
Ventcrawling mobs now no longer get a teleportation menu, instead, they
are put inside the vents, the client gets an overlay of the pipes in the
pipe network, and it is up to them to navigate.
2015-04-20 13:09:04 -07:00

37 lines
923 B
Plaintext

var/list/ventcrawl_machinery = list(/obj/machinery/atmospherics/unary/vent_pump, /obj/machinery/atmospherics/unary/vent_scrubber)
/mob/living/carbon/slime/AltClickOn(var/atom/A)
if(is_type_in_list(A,ventcrawl_machinery))
src.ventcrawl(A)
return
..(A)
/mob/living/carbon/monkey/AltClickOn(var/atom/A)
if(is_type_in_list(A,ventcrawl_machinery))
src.ventcrawl(A)
return
..(A)
/mob/living/simple_animal/borer/AltClickOn(var/atom/A)
if(is_type_in_list(A,ventcrawl_machinery))
src.ventcrawl(A)
return
..(A)
/mob/living/simple_animal/mouse/AltClickOn(var/atom/A)
if(is_type_in_list(A,ventcrawl_machinery))
src.ventcrawl(A)
return
..(A)
/mob/living/simple_animal/spiderbot/AltClickOn(var/atom/A)
if(is_type_in_list(A,ventcrawl_machinery))
src.ventcrawl(A)
return
..(A)
/mob/living/carbon/alien/AltClickOn(var/atom/A)
if(is_type_in_list(A,ventcrawl_machinery))
src.ventcrawl(A)
return
..(A)