The sleepy pen, hypospray and RSG will now all do initial chemical reactions when they inject a chemical (#21722)

* fuck it we ball

* I hate math

* Updates people, updates (also jimkil review)

* okay this should work better

* Will it work?
This commit is contained in:
DGamerL
2023-08-12 18:41:28 +01:00
committed by GitHub
parent eb69f11a1b
commit 121603c825
3 changed files with 15 additions and 4 deletions
@@ -46,7 +46,10 @@
var/contained = english_list(injected)
add_attack_logs(user, M, "Injected with [src] containing ([contained])", reagents.harmless_helper() ? ATKLOG_ALMOSTALL : null)
for(var/datum/reagent/R as anything in reagents.reagent_list)
if(initial(R.id) == "????") // Yes this is a specific case that we don't really want
return TRUE
reagents.reaction(M, REAGENT_INGEST, 0.1)
return TRUE
/obj/item/reagent_containers/hypospray/on_reagent_change()