Transit Tube Update

This commit is contained in:
Fox-McCloud
2015-08-29 18:22:29 -04:00
parent 1c9da614c4
commit 67f1b00291
4 changed files with 20 additions and 13 deletions
@@ -6,11 +6,10 @@
name = "station tube station"
icon = 'icons/obj/pipes/transit_tube_station.dmi'
icon_state = "closed"
exit_delay = 2
enter_delay = 3
exit_delay = 1
enter_delay = 2
var/pod_moving = 0
var/automatic_launch_time = 100
var/cooldown_delay = 200
var/cooldown_delay = 50
var/launch_cooldown = 0
var/reverse_launch = 0
@@ -10,8 +10,8 @@
layer = 3.1
anchored = 1.0
var/list/tube_dirs = null
var/exit_delay = 2
var/enter_delay = 1
var/exit_delay = 1
var/enter_delay = 0
// alldirs in global.dm is the same list of directions, but since
// the specific order matters to get a usable icon_state, it is
@@ -20,6 +20,11 @@
var/global/list/tube_dir_list = list(NORTH, SOUTH, EAST, WEST, NORTHEAST, NORTHWEST, SOUTHEAST, SOUTHWEST)
/obj/structure/transit_tube/CanPass(atom/movable/mover, turf/target)
if(istype(mover) && mover.checkpass(PASSGLASS))
return 1
return !density
// When destroyed by explosions, properly handle contents.
obj/structure/transit_tube/ex_act(severity)
switch(severity)