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

bugfix: ants & unstable mutagen react with full power even if extremely small volume #6103

Open
wants to merge 2 commits into
base: master220
Choose a base branch
from
Open
Changes from 1 commit
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
4 changes: 2 additions & 2 deletions code/modules/reagents/chemistry/reagents/toxins.dm
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@
return
if(!M.dna)
return //No robots, AIs, aliens, Ians or other mobs should be affected by this.
if((method==REAGENT_TOUCH && prob(33)) || method==REAGENT_INGEST)
if(volume > 1 && ((method==REAGENT_TOUCH && prob(33)) || method==REAGENT_INGEST))
randmutb(M)
M.check_genes()

Expand Down Expand Up @@ -1285,7 +1285,7 @@

/datum/reagent/ants/reaction_mob(mob/living/M, method=REAGENT_TOUCH, volume) //NOT THE ANTS
if(iscarbon(M))
if(method == REAGENT_TOUCH || method==REAGENT_INGEST)
if(volume > 1 && (method == REAGENT_TOUCH || method==REAGENT_INGEST))
to_chat(M, "<span class='warning'>OH SHIT ANTS!!!!</span>")
M.emote("scream")
M.adjustBruteLoss(4)
Expand Down