From ea0545ebfa5944e2c4ba4f683c57e32e24e7db17 Mon Sep 17 00:00:00 2001
From: Heroman3003 <31296024+Heroman3003@users.noreply.github.com>
Date: Sat, 29 Oct 2022 17:19:22 +1000
Subject: [PATCH] Fixes 3
---
code/modules/vehicles/construction.dm | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/code/modules/vehicles/construction.dm b/code/modules/vehicles/construction.dm
index c5683140c8..45174925c6 100644
--- a/code/modules/vehicles/construction.dm
+++ b/code/modules/vehicles/construction.dm
@@ -279,13 +279,13 @@
* Snowmobile.
*/
-/obj/item/vehicle_assembly/snowmobile
+/obj/item/weapon/vehicle_assembly/snowmobile
name = "snowmobile assembly"
desc = "The frame of a snowmobile."
icon = 'icons/obj/vehicles.dmi'
icon_state = "snowmobile-frame"
-/obj/item/vehicle_assembly/snowmobile/attackby(var/obj/item/W as obj, var/mob/user as mob)
+/obj/item/weapon/vehicle_assembly/snowmobile/attackby(var/obj/item/W as obj, var/mob/user as mob)
switch(build_stage)
if(0)
if(istype(W, /obj/item/stack/material/steel))
@@ -301,7 +301,7 @@
return
if(1)
- if(istype(W, /obj/item/stock_parts/console_screen))
+ if(istype(W, /obj/item/weapon/stock_parts/console_screen))
user.drop_item()
qdel(W)
to_chat(user, "You add the lights to \the [src].")
@@ -309,7 +309,7 @@
return
if(2)
- if(istype(W, /obj/item/stock_parts/spring))
+ if(istype(W, /obj/item/weapon/stock_parts/spring))
user.drop_item()
qdel(W)
to_chat(user, "You add the control system to \the [src].")
@@ -330,7 +330,7 @@
return
if(4)
- if(istype(W, /obj/item/cell))
+ if(istype(W, /obj/item/weapon/cell))
user.drop_item()
W.forceMove(src)
cell = W