mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-06 07:22:42 +00:00
Added cumulative brainloss for borer infestations.
This commit is contained in:
@@ -50,8 +50,17 @@
|
||||
|
||||
..()
|
||||
if(host)
|
||||
if(!stat && !host.stat && chemicals < 250)
|
||||
chemicals++
|
||||
if(!stat && !host.stat)
|
||||
if(chemicals < 250)
|
||||
chemicals++
|
||||
if(controlling)
|
||||
if(rand(0,3))
|
||||
host.adjustBrainLoss(rand(1,2))
|
||||
|
||||
if(prob(host.brainloss))
|
||||
host.say("*"[pick("blink","blink_r","choke","aflap","drool","twitch","twitch_s","gasp")])
|
||||
|
||||
//if(host.brainloss > 100)
|
||||
|
||||
/mob/living/simple_animal/borer/New()
|
||||
..()
|
||||
@@ -124,7 +133,7 @@
|
||||
|
||||
src << "You begin delicately adjusting your connection to the host brain..."
|
||||
|
||||
spawn(100)
|
||||
spawn(300+(host.brainloss*5))
|
||||
|
||||
if(!host || !src) return
|
||||
|
||||
|
||||
@@ -614,11 +614,12 @@
|
||||
H << "\red <B>You begin doggedly resisting the parasite's control (this will take approximately sixty seconds).</B>"
|
||||
B.host << "\red <B>You feel the captive mind of [src] begin to resist your control.</B>"
|
||||
|
||||
spawn(rand(400,500))
|
||||
spawn(rand(350,450)+B.host.brainloss)
|
||||
|
||||
if(!B || !B.controlling)
|
||||
return
|
||||
|
||||
B.host.adjustBrainLoss(rand(5,10))
|
||||
H << "\red <B>With an immense exertion of will, you regain control of your body!</B>"
|
||||
B.host << "\red <B>You feel control of the host brain ripped from your grasp, and retract your probosci before the wild neural impulses can damage you.</b>"
|
||||
B.controlling = 0
|
||||
|
||||
Reference in New Issue
Block a user