mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-21 20:11:04 +01:00
The cargo and janitorial tugs are now faster (#21485)
- The cargo tug now has a speed between the former speed and the emagged speed - The emag speed buff is removed - An antag feedback hint was added to show that it can run people over when emagged - These changes also affect the C8000 deluxe custodial truck On a sidenote, the emagged running over may need tuning at some point.
This commit is contained in:
@@ -314,11 +314,6 @@
|
||||
user.put_in_hands(key)
|
||||
key = null
|
||||
|
||||
/obj/vehicle/train/cargo/engine/emag_act(var/remaining_charges, mob/user)
|
||||
. = ..()
|
||||
if(.)
|
||||
update_car(train_length, active_engines)
|
||||
|
||||
//-------------------------------------------
|
||||
// Loading/unloading procs
|
||||
//-------------------------------------------
|
||||
@@ -402,8 +397,7 @@
|
||||
move_delay *= (1 / max(1, active_engines)) * 2 //overweight penalty (scaled by the number of engines)
|
||||
move_delay += GLOB.config.walk_speed //base reference speed
|
||||
move_delay *= GLOB.config.vehicle_delay_multiplier //makes cargo trains 10% slower than running when not overweight
|
||||
if(emagged)
|
||||
move_delay -= 2
|
||||
move_delay -= 1
|
||||
|
||||
/obj/vehicle/train/cargo/trolley/update_car(var/train_length, var/active_engines)
|
||||
src.train_length = train_length
|
||||
|
||||
@@ -26,6 +26,10 @@
|
||||
if(tow)
|
||||
. += SPAN_NOTICE("It towing \the [tow] in the [dir2text(get_dir(src, tow))].")
|
||||
|
||||
/obj/vehicle/train/cargo/engine/antagonist_hints(mob/user, distance, is_adjacent)
|
||||
. = ..()
|
||||
. += "When emagged, it can be used to run people over with."
|
||||
|
||||
//-------------------------------------------
|
||||
// Standard procs
|
||||
//-------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user