mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
All Secondary Goals use labels (#29776)
* All Secondary Goals use labels * Fixes. * Fixes. * Update code/__DEFINES/dcs/basetype_signals.dm Co-authored-by: PollardTheDragon <144391971+PollardTheDragon@users.noreply.github.com> Signed-off-by: Charlie Nolan <funnyman3595@gmail.com> --------- Signed-off-by: Charlie Nolan <funnyman3595@gmail.com> Co-authored-by: PollardTheDragon <144391971+PollardTheDragon@users.noreply.github.com>
This commit is contained in:
co-authored by
PollardTheDragon
parent
97d72d6e22
commit
435637e257
@@ -24,6 +24,8 @@ GLOBAL_LIST_EMPTY(archived_virology_goals)
|
||||
SIGNAL_HANDLER // COMSIG_CARGO_CHECK_SELL
|
||||
if(istype(thing, /obj/item/reagent_containers))
|
||||
var/obj/item/reagent_containers/C = thing
|
||||
if(!thing.reagents?.has_reagent("blood"))
|
||||
return
|
||||
if(check_viruses(C.reagents.reagent_list))
|
||||
return COMSIG_CARGO_SELL_PRIORITY
|
||||
return COMSIG_CARGO_SELL_WRONG
|
||||
|
||||
Reference in New Issue
Block a user