mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
[MIRROR] Sample Scooping Sanity (#9766)
Co-authored-by: Killian <49700375+KillianKirilenko@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
fb660f56a6
commit
c2447c7715
@@ -193,9 +193,13 @@
|
||||
|
||||
if(istype(P, /obj/item/storage/sample_container))
|
||||
var/obj/item/storage/sample_container/SC = P
|
||||
src.loc = SC
|
||||
SC.update_icon()
|
||||
to_chat(user, span_notice("You store \the [src] in \the [SC]."))
|
||||
if(SC.contents.len >= SC.max_storage_space)
|
||||
to_chat(user, span_notice("\The [SC] is full!"))
|
||||
return
|
||||
else
|
||||
src.loc = SC
|
||||
SC.update_icon()
|
||||
to_chat(user, span_notice("You store \the [src] in \the [SC]."))
|
||||
|
||||
if(istype(P, /obj/item/cataloguer))
|
||||
to_chat(user, span_notice("You start to scan \the [src] with \the [P]..."))
|
||||
|
||||
Reference in New Issue
Block a user