Minor tram door logic changes (#72390)

## About The Pull Request
- Warning lights now flash faster and begin to flash before the start of
the begin travel proc, giving people some more notice.
- Increased the speed the tram controls reset, ready to be dispatched
again. Less mashing at the console as it does nothing.
## Why It's Good For The Game
People don't like running for the tram and falling off the platform.
People boarding don't like waiting 3 seconds to dispatch an empty tram.
## Changelog
🆑 LT3
qol: Tram controls unlock faster on arrival at a station
/🆑
This commit is contained in:
lessthanthree
2023-01-02 17:42:38 +01:00
committed by GitHub
parent 19d60c70fa
commit 85b6057226
2 changed files with 3 additions and 3 deletions
@@ -99,13 +99,13 @@
if(to_where == from_where)
return
update_tram_doors(CLOSE_DOORS)
travel_direction = get_dir(from_where, to_where)
travel_distance = get_dist(from_where, to_where)
from_where = to_where
set_travelling(TRUE)
set_controls(LIFT_PLATFORM_LOCKED)
update_tram_doors(CLOSE_DOORS)
addtimer(CALLBACK(src, PROC_REF(dispatch_tram), to_where), 2 SECONDS)
addtimer(CALLBACK(src, PROC_REF(dispatch_tram), to_where), 3 SECONDS)
/datum/lift_master/tram/proc/dispatch_tram(obj/effect/landmark/tram/to_where)
SEND_SIGNAL(src, COMSIG_TRAM_TRAVEL, from_where, to_where)
@@ -126,7 +126,7 @@
if(!travel_distance)
update_tram_doors(LOCK_DOORS)
update_tram_doors(OPEN_DOORS)
addtimer(CALLBACK(src, PROC_REF(unlock_controls)), 3 SECONDS)
addtimer(CALLBACK(src, PROC_REF(unlock_controls)), 2 SECONDS)
return PROCESS_KILL
else if(world.time >= next_move)
var/start_time = TICK_USAGE
Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 26 KiB