mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-24 04:28:12 +01:00
sample scooping sanity (#16812)
This commit is contained in:
@@ -27,9 +27,13 @@
|
||||
|
||||
/obj/item/storage/sample_container/afterattack(turf/T as turf, mob/user as mob)
|
||||
for(var/obj/item/research_sample/S in T)
|
||||
S.loc = src
|
||||
update_icon()
|
||||
to_chat(user, span_notice("You scoop \the [S] into \the [src]."))
|
||||
if(contents.len >= max_storage_space)
|
||||
to_chat(user, span_notice("\The [src] is full!"))
|
||||
return
|
||||
else
|
||||
S.loc = src
|
||||
update_icon()
|
||||
to_chat(user, span_notice("You scoop \the [S] into \the [src]."))
|
||||
|
||||
//Splice research sample containers into the list of valid items for these belts *without* overriding the lists entirely
|
||||
/obj/item/storage/belt/explorer/New()
|
||||
|
||||
Reference in New Issue
Block a user