[READY]VEHICLE REFACTOR - Riding datums --> Components, Vehicles --> /obj/vehicle, staging for mech overhaul later on

This commit is contained in:
kevinz000
2017-12-03 13:33:01 -08:00
committed by CitadelStationBot
parent 6217206bae
commit 66c66f0bd7
54 changed files with 1052 additions and 786 deletions
@@ -343,8 +343,8 @@
if(istype(C, /obj/vehicle))
var/obj/vehicle/V = C
var/datum/riding/R = V.riding_datum
if(V.riding_datum)
var/datum/component/riding/R = V.GetComponent(/datum/component/riding)
if(R)
if(R.vehicle_move_delay <= 0 )
to_chat(user, "<span class='warning'>The [C] can't be made any faster!</span>")
return ..()
@@ -355,7 +355,6 @@
C.add_atom_colour("#FF0000", FIXED_COLOUR_PRIORITY)
qdel(src)
/obj/item/slimepotion/fireproof
name = "slime chill potion"
desc = "A potent chemical mix that will fireproof any article of clothing. Has three uses."