Red pills sometimes make people think (#41883)

Remember that scene from The Matrix? This PR adds a 5% chance that swallowing red pills makes you think about stuff the average Nanotrasen employee isn't supposed to pay attention to.
This commit is contained in:
81Denton
2018-12-10 22:43:40 +01:00
committed by oranges
parent f1d22a017e
commit fdd2a1d8e9
2 changed files with 23 additions and 0 deletions
@@ -46,6 +46,10 @@
M.visible_message("<span class='danger'>[user] forces [M] to [apply_method] [src].</span>", \
"<span class='userdanger'>[user] forces [M] to [apply_method] [src].</span>")
var/makes_me_think = pick(strings("redpill.json", "redpill_questions"))
if(icon_state == "pill4" && prob(5)) //you take the red pill - you stay in Wonderland, and I show you how deep the rabbit hole goes
sleep(50)
to_chat(M, "<span class='notice'>[makes_me_think]</span>")
if(reagents.total_volume)
reagents.reaction(M, apply_type)