Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: choice beacons fits in suit storage unit #60

Merged
merged 1 commit into from
Dec 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading