Skip to content

Commit

Permalink
isuzu + axis no sink
Browse files Browse the repository at this point in the history
adds the parts and icons for the type 94 isuzu (technically should have 6 wheels, i'll have to add a cosmetic one eventually)

removes vehicle axis sinkability, hopefully this fixes the turning issue
  • Loading branch information
KanohaShinobi committed Jan 10, 2024
1 parent 09a8cd0 commit aeb4951
Show file tree
Hide file tree
Showing 3 changed files with 64 additions and 0 deletions.
44 changes: 44 additions & 0 deletions code/modules/1713/machinery/modular_vehicles/carparts/cars.dm
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@
icon_state = "carseat_right_type95"
applies_material_colour = FALSE
material = null
/obj/structure/bed/chair/carseat/left/type94
icon_state = "carseat_left_type94"
applies_material_colour = FALSE
material = null
/obj/structure/bed/chair/drivers/car/lion
material = "lionpelt"
/obj/structure/bed/chair/carseat/left/lion
Expand All @@ -45,6 +49,8 @@
material = "lionpelt"
/obj/structure/bed/chair/drivers/car/type95
icon_state = "carseat_driver_right_type95"
/obj/structure/bed/chair/drivers/car/type94
icon_state = "carseat_driver_right_type94"
/obj/structure/bed/chair/drivers/car/dark
material = "darkleather"
/obj/structure/bed/chair/carseat/left/dark
Expand Down Expand Up @@ -389,6 +395,30 @@
w_right = list("none",TRUE,TRUE,0,0.1,TRUE,FALSE)
hasoverlay = "type95windshielddoor_right"
icon_state = "frame_steel_corner_crf_type95"
///////////////TYPE 94 TRUCK//////////////////////////////////////////////////////////
/////////////////////TYPE95 Kurogane////////////
/obj/structure/vehicleparts/frame/car/type94/lf
w_front = list("type94front_leftU",TRUE,TRUE,0,0.1,FALSE,FALSE)
w_left = list("none",TRUE,TRUE,0,0.1,FALSE,FALSE)
hasoverlay = "type94front_left"
icon_state = "frame_steel_corner_lf_type94"
removesroof = TRUE
/obj/structure/vehicleparts/frame/car/type94/rf
w_front = list("type94front_rightU",TRUE,TRUE,0,0.1,FALSE,FALSE)
w_right = list("none",TRUE,TRUE,0,0.1,FALSE,FALSE)
hasoverlay = "type94front_right"
icon_state = "frame_steel_corner_rf_type94"
removesroof = TRUE
/obj/structure/vehicleparts/frame/car/type94/lc
w_front = list("type94windshielddoor_leftU",TRUE,TRUE,0,0.1,FALSE,FALSE)
w_left = list("none",TRUE,TRUE,0,0.1,TRUE,FALSE)
hasoverlay = "type94windshielddoor_left"
icon_state = "frame_steel_corner_clf_type95"
/obj/structure/vehicleparts/frame/car/type94/rc
w_front = list("type94windshielddoor_rightU",FALSE,TRUE,0,0.1,FALSE,FALSE)
w_right = list("none",TRUE,TRUE,0,0.1,TRUE,FALSE)
hasoverlay = "type94windshielddoor_right"
icon_state = "frame_steel_corner_crf_type95"
///////////////axis///////////////
/obj/structure/vehicleparts/axis/car/piccolino
name = "ASNO Piccolino"
Expand Down Expand Up @@ -495,6 +525,16 @@
speedlist = list(1=5,2=4,3=2.5,4=1.5,5=1)
turntimer = 4

/obj/structure/vehicleparts/axis/car/type94
name = "Isuzu Type 94"
desc = "A powered axis from a car."
icon = 'icons/obj/vehicles/vehicleparts.dmi'
icon_state = "axis_powered"
speeds = 5
maxpower = 800
speedlist = list(1=5,2=4,3=2.5,4=1.5,5=1)
turntimer = 5

/obj/structure/vehicleparts/axis/car/falcon/police
name = "SMC Falcon Police Interceptor"
color = "#383838"
Expand Down Expand Up @@ -663,6 +703,10 @@
/obj/structure/engine/internal/gasoline/premade/type95
enginesize = 3800

/obj/structure/engine/internal/gasoline/premade/type94
enginesize = 4400
fuelefficiency = 0.1

/obj/structure/engine/internal/gasoline/premade/panzeriv
enginesize = 12000

Expand Down
20 changes: 20 additions & 0 deletions code/modules/1713/machinery/modular_vehicles/carparts/premade.dm
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,26 @@
"1,3" = list(/obj/structure/bed/chair/carseat/right/type95,/obj/structure/vehicleparts/frame/car/type95/rb,/obj/structure/vehicleparts/movement/reversed),
"2,3" = list(/obj/structure/bed/chair/carseat/left/type95,/obj/structure/vehicleparts/frame/car/type95/lb,/obj/structure/vehicleparts/movement/reversed),
)
//Isuzu Type 94
//Kurogane Type 95
/obj/effects/premadevehicles/isuzu/type94
name = "Isuzu Type 94"
icon_state = "4x4"
custom_color = "#736953"
axis = /obj/structure/vehicleparts/axis/car/type94
tocreate = list(
"1,1" = list(/obj/item/weapon/reagent_containers/glass/barrel/fueltank/smalltank/fueledgasoline,/obj/structure/vehicleparts/movement,/obj/structure/vehicleparts/frame/car/type94/rf),
"2,1" = list(/obj/structure/vehicleparts/frame/car/type94/lf,/obj/structure/engine/internal/gasoline/premade/type94,/obj/structure/vehicleparts/movement),

"1,2" = list(/obj/structure/bed/chair/drivers/car/type94,/obj/structure/vehicleparts/frame/car/type94/rc),
"2,2" = list(/obj/structure/bed/chair/carseat/left/type94,/obj/structure/vehicleparts/frame/car/type94/lc),

"1,3" = list(/obj/structure/vehicleparts/frame/car/right),
"2,3" = list(/obj/structure/vehicleparts/frame/car/left),

"1,4" = list(/obj/structure/vehicleparts/frame/car/right,/obj/structure/vehicleparts/movement/reversed),
"2,4" = list(/obj/structure/vehicleparts/frame/car/left,/obj/structure/vehicleparts/movement/reversed,/obj/structure/vehicleparts/license_plate/eu),
)
///////////////////////////////////////////////CARS///////////////////////////////////////////////////////
/obj/effects/premadevehicles/car

Expand Down
Binary file modified icons/obj/vehicles/vehicleparts.dmi
Binary file not shown.

0 comments on commit aeb4951

Please sign in to comment.