Skip to content

Commit

Permalink
choice beacons fits in suit storage unit
Browse files Browse the repository at this point in the history
  • Loading branch information
paganiy committed Dec 18, 2023
1 parent f87541a commit 97f1518
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 7 additions & 0 deletions code/game/machinery/suit_storage_unit.dm
Original file line number Diff line number Diff line change
Expand Up @@ -771,6 +771,13 @@
if(!user.transferItemToLoc(weapon, src))
return
mod = weapon
else if(istype(weapon, /obj/item/choice_beacon/space_suit)) // MASSMETA EDIT
if(space_suit) //
to_chat(user, span_warning("The unit already contains a delivery beacon!")) //
return //
if(!user.transferItemToLoc(weapon, src)) //
return //
space_suit = weapon //
else
if(storage)
to_chat(user, span_warning("The auxiliary storage compartment is full!"))
Expand Down
1 change: 0 additions & 1 deletion massmeta/includes.dm
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
#include "code\modules\clothing\suits\wintercoats.dm"
#include "code\modules\clothing\under\jobs\cargo.dm"
#include "code\modules\clothing\under\jobs\command.dm"
#include "code\modules\clothing\under\jobs\medical.dm"
#include "code\modules\clothing\under\jobs\rnd.dm"
#include "code\modules\clothing\under\jobs\civilian.dm"
#include "code\modules\clothing\under\jobs\security.dm"
Expand Down

0 comments on commit 97f1518

Please sign in to comment.