mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-12 18:51:53 +00:00
* (code bounty) The tram is now unstoppably powerful. it cannot be stopped, it cannot be slowed, it cannot be reasoned with. YOU HAVE NO IDEA HOW READY YOU ARE * fex * fex Co-authored-by: Kylerace <kylerlumpkin1@gmail.com> Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
16 lines
626 B
Plaintext
16 lines
626 B
Plaintext
PROCESSING_SUBSYSTEM_DEF(tramprocess)
|
|
name = "Tram Process"
|
|
wait = 0.5
|
|
/// only used on maps with trams, so only enabled by such.
|
|
can_fire = FALSE
|
|
|
|
///how much time a tram can take per movement before we notify admins and slow down the tram. in milliseconds
|
|
var/max_time = 15
|
|
|
|
///how many times the tram can move costing over max_time milliseconds before it gets slowed down
|
|
var/max_exceeding_moves = 5
|
|
|
|
///how many times the tram can move costing less than half max_time milliseconds before we speed it back up again.
|
|
///is only used if the tram has been slowed down for exceeding max_time
|
|
var/max_cheap_moves = 5
|