mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 14:39:58 +01:00
Gets rid of an old unneeded for loop, reverse copypastas it from where I picked it up.
This commit is contained in:
@@ -11,10 +11,9 @@
|
||||
|
||||
/datum/chemical_reaction/slimespawn/on_reaction(var/datum/reagents/holder)
|
||||
feedback_add_details("slime_cores_used","[replacetext(name," ","_")]")
|
||||
for(var/mob/O in viewers(get_turf(holder.my_atom), null))
|
||||
O.show_message(text("<span class='danger'>Infused with plasma, the core begins to quiver and grow, and soon a new baby slime emerges from it!</span>"), 1)
|
||||
var/mob/living/simple_animal/slime/S = new /mob/living/simple_animal/slime
|
||||
S.loc = get_turf(holder.my_atom)
|
||||
S.visible_message("<span class='danger'>Infused with plasma, the core begins to quiver and grow, and soon a new baby slime emerges from it!</span>")
|
||||
|
||||
/datum/chemical_reaction/slimeinaprov
|
||||
name = "Slime epinephrine"
|
||||
@@ -631,8 +630,7 @@
|
||||
|
||||
/datum/chemical_reaction/slimeRNG/on_reaction(var/datum/reagents/holder)
|
||||
feedback_add_details("slime_cores_used","[replacetext(name," ","_")]")
|
||||
for(var/mob/O in viewers(get_turf(holder.my_atom), null))
|
||||
O.show_message(text("<span class='danger'>Infused with plasma, the core begins to quiver and grow, and soon a new baby slime emerges from it!</span>"), 1)
|
||||
var/mob/living/simple_animal/slime/S = new /mob/living/simple_animal/slime
|
||||
S.colour = pick("grey","orange", "metal", "blue", "purple", "dark purple", "dark blue", "green", "silver", "yellow", "gold", "yellow", "red", "silver", "pink", "cerulean", "sepia", "bluespace", "pyrite", "light pink", "oil", "adamantine", "black")
|
||||
S.loc = get_turf(holder.my_atom)
|
||||
S.loc = get_turf(holder.my_atom)
|
||||
S.visible_message("<span class='danger'>Infused with plasma, the core begins to quiver and grow, and soon a new baby slime emerges from it!</span>")
|
||||
|
||||
Reference in New Issue
Block a user