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:
Casper3667
2025-10-16 11:36:19 +00:00
committed by GitHub
parent 231daa308c
commit e764307cba
3 changed files with 12 additions and 7 deletions
+1 -7
View File
@@ -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
+4
View File
@@ -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
//-------------------------------------------