VTEC for jani mobile and ambulance (#19462)

* Zoomies!

* Hal requested changes

* Sirryan suggestion

Co-authored-by: Sirryan2002 <80364400+Sirryan2002@users.noreply.github.com>

Co-authored-by: Sirryan2002 <80364400+Sirryan2002@users.noreply.github.com>
This commit is contained in:
DevanStrife
2022-10-26 00:13:27 +01:00
committed by GitHub
co-authored by Sirryan2002
parent fc7e4847b3
commit f9aa949d8f
+5
View File
@@ -69,6 +69,11 @@
else
to_chat(user, "<span class='warning'>[I] seems to be stuck to your hand!</span>")
return
if(istype(I, /obj/item/borg/upgrade/vtec) && vehicle_move_delay > 1)
vehicle_move_delay = 1
qdel(I)
to_chat(user, "<span class='notice'>You upgrade [src] with [I].</span>")
return
return ..()
/obj/vehicle/AltClick(mob/user)