Skip to content

Commit

Permalink
Req lift can move only when idle (#13532)
Browse files Browse the repository at this point in the history
  • Loading branch information
vvvv-vvvv authored Jul 21, 2023
1 parent 05f6864 commit 1f0ac12
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion code/modules/reqs/supply.dm
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,9 @@ GLOBAL_LIST_INIT(blacklisted_cargo_types, typecacheof(list(
shopping_cart[P.type] = number_to_buy
. = TRUE
if("send")
if(supply_shuttle.mode == SHUTTLE_IDLE && is_mainship_level(supply_shuttle.z))
if(supply_shuttle.mode != SHUTTLE_IDLE)
return
if(is_mainship_level(supply_shuttle.z))
if (!supply_shuttle.check_blacklist())
to_chat(usr, "For safety reasons, the Automated Storage and Retrieval System cannot store live, friendlies, classified nuclear weaponry or homing beacons.")
playsound(supply_shuttle.return_center_turf(), 'sound/machines/buzz-two.ogg', 50, 0)
Expand Down

0 comments on commit 1f0ac12

Please sign in to comment.