Skip to content

Commit

Permalink
Requested corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
BonniePandora committed Sep 27, 2024
1 parent 15d680b commit d000b59
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 49 deletions.
2 changes: 1 addition & 1 deletion code/game/objects/structures/gun_rack.dm
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
/obj/structure/gun_rack/apc/frontal/aa
name = "vertical-launch-system ammo storage compartment"
icon_state = "boyars"
desc = "A small compartment that stores ammunition for the vehicle's VLS-array ."
desc = "A small compartment that stores ammunition for the vehicle's VLS-array."
max_stored = 2
initial_stored = 0
allowed_type = /obj/item/ammo_magazine/hardpoint/towlauncher/aa
Expand Down
48 changes: 0 additions & 48 deletions code/modules/vehicles/apc/apc_aa.dm
Original file line number Diff line number Diff line change
Expand Up @@ -13,54 +13,6 @@

passengers_slots = 10


/obj/vehicle/multitile/apc/movie/aa/add_seated_verbs(mob/living/M, seat)
if(!M.client)
return
add_verb(M.client, list(
/obj/vehicle/multitile/proc/get_status_info,
/obj/vehicle/multitile/proc/open_controls_guide,
/obj/vehicle/multitile/proc/name_vehicle,
))
if(seat == VEHICLE_DRIVER)
add_verb(M.client, list(
/obj/vehicle/multitile/proc/toggle_door_lock,
/obj/vehicle/multitile/proc/switch_hardpoint,
/obj/vehicle/multitile/proc/cycle_hardpoint,
/obj/vehicle/multitile/proc/toggle_shift_click,
/obj/vehicle/multitile/proc/activate_horn,
))
else if(seat == VEHICLE_GUNNER)
add_verb(M.client, list(
/obj/vehicle/multitile/proc/switch_hardpoint,
/obj/vehicle/multitile/proc/cycle_hardpoint,
/obj/vehicle/multitile/proc/toggle_shift_click,
))

/obj/vehicle/multitile/apc/movie/aa/remove_seated_verbs(mob/living/M, seat)
if(!M.client)
return
remove_verb(M.client, list(
/obj/vehicle/multitile/proc/get_status_info,
/obj/vehicle/multitile/proc/open_controls_guide,
/obj/vehicle/multitile/proc/name_vehicle,
))
SStgui.close_user_uis(M, src)
if(seat == VEHICLE_DRIVER)
remove_verb(M.client, list(
/obj/vehicle/multitile/proc/toggle_door_lock,
/obj/vehicle/multitile/proc/switch_hardpoint,
/obj/vehicle/multitile/proc/cycle_hardpoint,
/obj/vehicle/multitile/proc/toggle_shift_click,
/obj/vehicle/multitile/proc/activate_horn,
))
else if(seat == VEHICLE_GUNNER)
remove_verb(M.client, list(
/obj/vehicle/multitile/proc/switch_hardpoint,
/obj/vehicle/multitile/proc/cycle_hardpoint,
/obj/vehicle/multitile/proc/toggle_shift_click,
))

/obj/vehicle/multitile/apc/movie/aa/initialize_cameras(change_tag = FALSE)
if(!camera)
camera = new /obj/structure/machinery/camera/vehicle(src)
Expand Down

0 comments on commit d000b59

Please sign in to comment.