Advertisement
Guest User

Untitled

a guest
Dec 7th, 2016
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. /datum/chemical_reaction/slime/on_reaction(datum/reagents/holder)
  2. var/obj/item/slime_extract/M = holder.my_atom
  3. if(M.Uses <= 0)
  4. if (!results.len) //if the slime doesn't output chemicals
  5. qdel(M)
  6. if(istype(M.loc, /obj/item/weapon/storage/bag))
  7. var/obj/item/weapon/storage/bag/B = M.loc
  8. for(var/mob/MB in B.is_seeing)
  9. MB.close(MB)
  10. MB.show_to(MB)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement