[MIRROR] Mime's Bane recipe (#5592)
* Mime's Bane recipe (#35570) * Makes Mimes's Bane use the new EMOTEMUTE trait It randomly occured to me that I should do this. Mime's Bane is currently a reagent currently only used in cloning pods to stop growing clones from gasping from crit/lack of air (since they're in a pure nitrogen environment). * 2 Mime's Bane = 1 Mute Toxin + 1 Nothing * Mutetoxin + nothing + radium * Mime's Bane recipe
This commit is contained in:
committed by
Poojawa
parent
74009632a2
commit
7ef05e33ad
@@ -1,6 +1,7 @@
|
||||
//mob traits
|
||||
#define TRAIT_BLIND "blind"
|
||||
#define TRAIT_MUTE "mute"
|
||||
#define TRAIT_EMOTEMUTE "emotemute"
|
||||
#define TRAIT_DEAF "deaf"
|
||||
#define TRAIT_NEARSIGHT "nearsighted"
|
||||
#define TRAIT_FAT "fat"
|
||||
|
||||
@@ -107,7 +107,10 @@
|
||||
if(restraint_check && (user.restrained() || user.buckled))
|
||||
to_chat(user, "<span class='notice'>You cannot [key] while restrained.</span>")
|
||||
return FALSE
|
||||
if(user.reagents && user.reagents.has_reagent("mimesbane"))
|
||||
|
||||
if(isliving(user))
|
||||
var/mob/living/L = user
|
||||
if(L.has_trait(TRAIT_EMOTEMUTE))
|
||||
return FALSE
|
||||
|
||||
/datum/emote/sound
|
||||
|
||||
@@ -908,3 +908,9 @@
|
||||
color = "#F0F8FF" // rgb: 240, 248, 255
|
||||
toxpwr = 0
|
||||
taste_description = "stillness"
|
||||
|
||||
/datum/reagent/toxin/mimesbane/on_mob_add(mob/living/L)
|
||||
L.add_trait(TRAIT_EMOTEMUTE, id)
|
||||
|
||||
/datum/reagent/toxin/mimesbane/on_mob_delete(mob/living/L)
|
||||
L.remove_trait(TRAIT_EMOTEMUTE, id)
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
required_reagents = list("ethanol" = 1, "chlorine" = 3, "water" = 1)
|
||||
|
||||
/datum/chemical_reaction/mutetoxin //i'll just fit this in here snugly between other unfun chemicals :v
|
||||
name = "Mute toxin"
|
||||
name = "Mute Toxin"
|
||||
id = "mutetoxin"
|
||||
results = list("mutetoxin" = 2)
|
||||
required_reagents = list("uranium" = 2, "water" = 1, "carbon" = 1)
|
||||
@@ -106,4 +106,10 @@
|
||||
name = "Anacea"
|
||||
id = "anacea"
|
||||
results = list("anacea" = 3)
|
||||
required_reagents = list("haloperidol" = 1, "impedrezene" = 1, "radium" = 1)
|
||||
required_reagents = list("haloperidol" = 1, "impedrezene" = 1, "radium" = 1)
|
||||
|
||||
/datum/chemical_reaction/mimesbane
|
||||
name = "Mime's Bane"
|
||||
id = "mimesbane"
|
||||
results = list("mimesbane" = 3)
|
||||
required_reagents = list("radium" = 1, "mutetoxin" = 1, "nothing" = 1)
|
||||
|
||||
Reference in New Issue
Block a user