mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-01-03 14:12:29 +00:00
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.
37 lines
923 B
Plaintext
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) |