mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 20:48:56 +01:00
Converts a bunch of time/delay vars to use time defines (#92495)
## About The Pull Request Converts as many time vars expressed in deciseconds as I could find to use time defines. ## Why It's Good For The Game Makes these values neater and more readable. ## Changelog 🆑 code: Converted a lot of time-based variables to be expressed with time defines. /🆑
This commit is contained in:
@@ -23,13 +23,13 @@
|
||||
///current shuttle mode
|
||||
var/mode = SHUTTLE_IDLE
|
||||
///time spent in transit (deciseconds). Should not be lower then 10 seconds without editing the animation of the hyperspace ripples.
|
||||
var/callTime = 100
|
||||
var/callTime = 10 SECONDS
|
||||
/// time spent "starting the engines". Also rate limits how often we try to reserve transit space if its ever full of transiting shuttles.
|
||||
var/ignitionTime = 55
|
||||
var/ignitionTime = 5.5 SECONDS
|
||||
/// time spent after arrival before being able to begin ignition
|
||||
var/rechargeTime = 0
|
||||
var/rechargeTime = 0 SECONDS
|
||||
/// time spent after transit 'landing' before actually arriving
|
||||
var/prearrivalTime = 0
|
||||
var/prearrivalTime = 0 SECONDS
|
||||
|
||||
/// The direction the shuttle prefers to travel in, ie what direction the animation will cause it to appear to be traveling in
|
||||
var/preferred_direction = NORTH
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
port_direction = SOUTH
|
||||
|
||||
callTime = INFINITY
|
||||
ignitionTime = 50
|
||||
ignitionTime = 5 SECONDS
|
||||
|
||||
movement_force = list("KNOCKDOWN" = 3, "THROW" = 0)
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@ GLOBAL_LIST_INIT(blacklisted_cargo_types, typecacheof(list(
|
||||
/obj/docking_port/mobile/supply
|
||||
name = "supply shuttle"
|
||||
shuttle_id = "cargo"
|
||||
callTime = 600
|
||||
callTime = 60 SECONDS
|
||||
|
||||
dir = WEST
|
||||
port_direction = EAST
|
||||
|
||||
Reference in New Issue
Block a user