Skip to content

Commit

Permalink
APC single crew (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
Doubleumc committed Oct 27, 2023
1 parent 9aaeb7c commit ece3f43
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 0 deletions.
4 changes: 4 additions & 0 deletions code/modules/vehicles/apc/apc.dm
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ GLOBAL_LIST_EMPTY(command_apc_list)
add_verb(M.client, list(
/obj/vehicle/multitile/proc/toggle_door_lock,
/obj/vehicle/multitile/proc/activate_horn,
/obj/vehicle/multitile/proc/switch_hardpoint,
/obj/vehicle/multitile/proc/cycle_hardpoint,
/obj/vehicle/multitile/proc/name_vehicle
))
else if(seat == VEHICLE_GUNNER)
Expand Down Expand Up @@ -135,6 +137,8 @@ GLOBAL_LIST_EMPTY(command_apc_list)
remove_verb(M.client, list(
/obj/vehicle/multitile/proc/toggle_door_lock,
/obj/vehicle/multitile/proc/activate_horn,
/obj/vehicle/multitile/proc/switch_hardpoint,
/obj/vehicle/multitile/proc/cycle_hardpoint,
/obj/vehicle/multitile/proc/name_vehicle,
))
else if(seat == VEHICLE_GUNNER)
Expand Down
4 changes: 4 additions & 0 deletions code/modules/vehicles/apc/apc_command.dm
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@
add_verb(M.client, list(
/obj/vehicle/multitile/proc/toggle_door_lock,
/obj/vehicle/multitile/proc/activate_horn,
/obj/vehicle/multitile/proc/switch_hardpoint,
/obj/vehicle/multitile/proc/cycle_hardpoint,
))
else if(seat == VEHICLE_GUNNER)
add_verb(M.client, list(
Expand All @@ -119,6 +121,8 @@
remove_verb(M.client, list(
/obj/vehicle/multitile/proc/toggle_door_lock,
/obj/vehicle/multitile/proc/activate_horn,
/obj/vehicle/multitile/proc/switch_hardpoint,
/obj/vehicle/multitile/proc/cycle_hardpoint,
))
else if(seat == VEHICLE_GUNNER)
remove_verb(M.client, list(
Expand Down
4 changes: 4 additions & 0 deletions code/modules/vehicles/apc/apc_medical.dm
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@
add_verb(M.client, list(
/obj/vehicle/multitile/proc/toggle_door_lock,
/obj/vehicle/multitile/proc/activate_horn,
/obj/vehicle/multitile/proc/switch_hardpoint,
/obj/vehicle/multitile/proc/cycle_hardpoint,
))
else if(seat == VEHICLE_GUNNER)
add_verb(M.client, list(
Expand All @@ -75,6 +77,8 @@
remove_verb(M.client, list(
/obj/vehicle/multitile/proc/toggle_door_lock,
/obj/vehicle/multitile/proc/activate_horn,
/obj/vehicle/multitile/proc/switch_hardpoint,
/obj/vehicle/multitile/proc/cycle_hardpoint,
))
else if(seat == VEHICLE_GUNNER)
remove_verb(M.client, list(
Expand Down
2 changes: 2 additions & 0 deletions code/modules/vehicles/hardpoints/primary/dual_cannon.dm
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@

origins = list(0, -2)

allowed_seat = VEHICLE_DRIVER

ammo = new /obj/item/ammo_magazine/hardpoint/boyars_dualcannon
max_clips = 2

Expand Down
2 changes: 2 additions & 0 deletions code/modules/vehicles/hardpoints/secondary/frontal_cannon.dm
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@

origins = list(0, -2)

allowed_seat = VEHICLE_DRIVER

ammo = new /obj/item/ammo_magazine/hardpoint/m56_cupola/frontal_cannon
max_clips = 1

Expand Down
2 changes: 2 additions & 0 deletions code/modules/vehicles/hardpoints/support/flare.dm
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@

origins = list(0, -2)

allowed_seat = VEHICLE_DRIVER

ammo = new /obj/item/ammo_magazine/hardpoint/flare_launcher
max_clips = 3

Expand Down

0 comments on commit ece3f43

Please sign in to comment.