mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-26 10:04:12 +00:00
brainloss is now only referenced via procs.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2874 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -419,7 +419,7 @@
|
|||||||
name = "Lazy mind syndrome"
|
name = "Lazy mind syndrome"
|
||||||
stage = 3
|
stage = 3
|
||||||
activate(var/mob/living/carbon/mob,var/multiplier)
|
activate(var/mob/living/carbon/mob,var/multiplier)
|
||||||
mob.brainloss = 50
|
mob.setBrainLoss(50)
|
||||||
|
|
||||||
/datum/disease2/effect/greater/suicide
|
/datum/disease2/effect/greater/suicide
|
||||||
name = "Suicidal syndrome"
|
name = "Suicidal syndrome"
|
||||||
@@ -438,7 +438,7 @@
|
|||||||
name = "Lazy mind syndrome"
|
name = "Lazy mind syndrome"
|
||||||
stage = 3
|
stage = 3
|
||||||
activate(var/mob/living/carbon/mob,var/multiplier)
|
activate(var/mob/living/carbon/mob,var/multiplier)
|
||||||
mob.brainloss = 20
|
mob.setBrainLoss(20)
|
||||||
|
|
||||||
/datum/disease2/effect/lesser/drowsy
|
/datum/disease2/effect/lesser/drowsy
|
||||||
name = "Bedroom Syndrome"
|
name = "Bedroom Syndrome"
|
||||||
|
|||||||
@@ -23,15 +23,15 @@
|
|||||||
if(prob(2))
|
if(prob(2))
|
||||||
affected_mob << "\red Your don't feel like yourself."
|
affected_mob << "\red Your don't feel like yourself."
|
||||||
if(prob(5))
|
if(prob(5))
|
||||||
affected_mob.brainloss +=1
|
affected_mob.adjustBrainLoss(1)
|
||||||
affected_mob.updatehealth()
|
affected_mob.updatehealth()
|
||||||
if(3)
|
if(3)
|
||||||
if(prob(2))
|
if(prob(2))
|
||||||
affected_mob.emote("stare")
|
affected_mob.emote("stare")
|
||||||
if(prob(2))
|
if(prob(2))
|
||||||
affected_mob.emote("drool")
|
affected_mob.emote("drool")
|
||||||
if(prob(10) && affected_mob.brainloss<=98)//shouldn't retard you to death now
|
if(prob(10) && affected_mob.getBrainLoss()<=98)//shouldn't retard you to death now
|
||||||
affected_mob.brainloss += 2
|
affected_mob.adjustBrainLoss(2)
|
||||||
affected_mob.updatehealth()
|
affected_mob.updatehealth()
|
||||||
if(prob(2))
|
if(prob(2))
|
||||||
affected_mob << "\red Your try to remember something important...but can't."
|
affected_mob << "\red Your try to remember something important...but can't."
|
||||||
@@ -50,8 +50,8 @@
|
|||||||
affected_mob.updatehealth()
|
affected_mob.updatehealth()
|
||||||
if(prob(2))
|
if(prob(2))
|
||||||
affected_mob << "\red Your head hurts." */
|
affected_mob << "\red Your head hurts." */
|
||||||
if(prob(15) && affected_mob.brainloss<=98) //shouldn't retard you to death now
|
if(prob(15) && affected_mob.getBrainLoss()<=98) //shouldn't retard you to death now
|
||||||
affected_mob.brainloss +=3
|
affected_mob.adjustBrainLoss(3)
|
||||||
affected_mob.updatehealth()
|
affected_mob.updatehealth()
|
||||||
if(prob(2))
|
if(prob(2))
|
||||||
affected_mob << "\red Strange buzzing fills your head, removing all thoughts."
|
affected_mob << "\red Strange buzzing fills your head, removing all thoughts."
|
||||||
|
|||||||
@@ -49,7 +49,7 @@
|
|||||||
B.name = "Guys Gone Wild"
|
B.name = "Guys Gone Wild"
|
||||||
if("lol", "wtf", "gay", "penis", "ass", "poo", "badmin", "shitmin", "deadmin", "cock", "cocks")
|
if("lol", "wtf", "gay", "penis", "ass", "poo", "badmin", "shitmin", "deadmin", "cock", "cocks")
|
||||||
B.name = pick("Woodys Got Wood: The Aftermath", "War of the Cocks", "Sweet Bro and Hella Jef: Expanded Edition")
|
B.name = pick("Woodys Got Wood: The Aftermath", "War of the Cocks", "Sweet Bro and Hella Jef: Expanded Edition")
|
||||||
H.brainloss = 100 // starts off retarded as fuck
|
H.setBrainLoss(100) // starts off retarded as fuck
|
||||||
if("science")
|
if("science")
|
||||||
B.name = pick("Principle of Relativity", "Quantum Enigma: Physics Encounters Consciousness", "Programming the Universe", "Quantum Physics and Theology", "String Theory for Dummies", "How To: Build Your Own Warp Drive", "The Mysteries of Bluespace", "Playing God: Collector's Edition")
|
B.name = pick("Principle of Relativity", "Quantum Enigma: Physics Encounters Consciousness", "Programming the Universe", "Quantum Physics and Theology", "String Theory for Dummies", "How To: Build Your Own Warp Drive", "The Mysteries of Bluespace", "Playing God: Collector's Edition")
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -1472,7 +1472,7 @@
|
|||||||
for(var/mob/living/carbon/human/H in world)
|
for(var/mob/living/carbon/human/H in world)
|
||||||
if(H.client)
|
if(H.client)
|
||||||
H << "\red <B>You suddenly feel stupid.</B>"
|
H << "\red <B>You suddenly feel stupid.</B>"
|
||||||
H.brainloss = 60
|
H.setBrainLoss(60)
|
||||||
message_admins("[key_name_admin(usr)] made everybody retarded")
|
message_admins("[key_name_admin(usr)] made everybody retarded")
|
||||||
else
|
else
|
||||||
alert("You cannot perform this action. You must be of a higher administrative rank!")
|
alert("You cannot perform this action. You must be of a higher administrative rank!")
|
||||||
|
|||||||
@@ -1266,7 +1266,7 @@ datum
|
|||||||
holder.remove_reagent("carpotoxin", 5)
|
holder.remove_reagent("carpotoxin", 5)
|
||||||
if(holder.has_reagent("zombiepowder"))
|
if(holder.has_reagent("zombiepowder"))
|
||||||
holder.remove_reagent("zombiepowder", 5)
|
holder.remove_reagent("zombiepowder", 5)
|
||||||
M.brainloss = 0
|
M.setBrainLoss(0)
|
||||||
M.disabilities = 0
|
M.disabilities = 0
|
||||||
M.sdisabilities = 0
|
M.sdisabilities = 0
|
||||||
M.eye_blurry = 0
|
M.eye_blurry = 0
|
||||||
|
|||||||
@@ -143,7 +143,7 @@
|
|||||||
|
|
||||||
if (src.stat == 1)
|
if (src.stat == 1)
|
||||||
usr << "\red [src.name] doesn't seem to be responding to anything around [t_him], [t_his] eyes closed as though asleep."
|
usr << "\red [src.name] doesn't seem to be responding to anything around [t_him], [t_his] eyes closed as though asleep."
|
||||||
else if (src.brainloss >= 60)
|
else if (src.getBrainLoss() >= 60)
|
||||||
usr << "\red [src.name] has a stupid expression on [t_his] face."
|
usr << "\red [src.name] has a stupid expression on [t_his] face."
|
||||||
if (!src.client)
|
if (!src.client)
|
||||||
usr << "\red [src.name] doesn't seem as though they want to talk."
|
usr << "\red [src.name] doesn't seem as though they want to talk."
|
||||||
|
|||||||
@@ -153,7 +153,7 @@
|
|||||||
if (disabilities & 16)
|
if (disabilities & 16)
|
||||||
if (prob(10))
|
if (prob(10))
|
||||||
stuttering = max(10, stuttering)
|
stuttering = max(10, stuttering)
|
||||||
if (brainloss >= 60 && stat != 2)
|
if (getBrainLoss() >= 60 && stat != 2)
|
||||||
if (prob(7))
|
if (prob(7))
|
||||||
switch(pick(1,2,3))
|
switch(pick(1,2,3))
|
||||||
if(1)
|
if(1)
|
||||||
|
|||||||
@@ -60,7 +60,7 @@
|
|||||||
var/message_range = null
|
var/message_range = null
|
||||||
var/message_mode = null
|
var/message_mode = null
|
||||||
|
|
||||||
if (brainloss >= 60 && prob(50))
|
if (getBrainLoss() >= 60 && prob(50))
|
||||||
if (ishuman(src))
|
if (ishuman(src))
|
||||||
message_mode = "headset"
|
message_mode = "headset"
|
||||||
// Special message handling
|
// Special message handling
|
||||||
@@ -123,7 +123,7 @@
|
|||||||
return
|
return
|
||||||
|
|
||||||
// :downs:
|
// :downs:
|
||||||
if (brainloss >= 60)
|
if (getBrainLoss() >= 60)
|
||||||
message = dd_replacetext(message, " am ", " ")
|
message = dd_replacetext(message, " am ", " ")
|
||||||
message = dd_replacetext(message, " is ", " ")
|
message = dd_replacetext(message, " is ", " ")
|
||||||
message = dd_replacetext(message, " are ", " ")
|
message = dd_replacetext(message, " are ", " ")
|
||||||
|
|||||||
@@ -59,7 +59,7 @@
|
|||||||
var/ending = copytext(text, length(text))
|
var/ending = copytext(text, length(text))
|
||||||
if (src.stuttering)
|
if (src.stuttering)
|
||||||
return "stammers, \"[text]\"";
|
return "stammers, \"[text]\"";
|
||||||
if (src.brainloss >= 60)
|
if (src.getBrainLoss() >= 60)
|
||||||
return "gibbers, \"[text]\"";
|
return "gibbers, \"[text]\"";
|
||||||
if (ending == "?")
|
if (ending == "?")
|
||||||
return "asks, \"[text]\"";
|
return "asks, \"[text]\"";
|
||||||
|
|||||||
@@ -749,11 +749,11 @@
|
|||||||
return 0
|
return 0
|
||||||
var/mob/living/carbon/human/H = user
|
var/mob/living/carbon/human/H = user
|
||||||
if (istype(H))
|
if (istype(H))
|
||||||
if(H.brainloss >= 60)
|
if(H.getBrainLoss() >= 60)
|
||||||
for(var/mob/M in viewers(src, null))
|
for(var/mob/M in viewers(src, null))
|
||||||
M << "\red [H] stares cluelessly at [src] and drools."
|
M << "\red [H] stares cluelessly at [src] and drools."
|
||||||
return 0
|
return 0
|
||||||
else if(prob(H.brainloss))
|
else if(prob(H.getBrainLoss()))
|
||||||
user << "\red You momentarily forget how to use [src]."
|
user << "\red You momentarily forget how to use [src]."
|
||||||
return 0
|
return 0
|
||||||
return 1
|
return 1
|
||||||
|
|||||||
@@ -279,7 +279,7 @@
|
|||||||
name = "Lazy mind syndrome"
|
name = "Lazy mind syndrome"
|
||||||
stage = 3
|
stage = 3
|
||||||
activate(var/mob/living/carbon/mob,var/multiplier)
|
activate(var/mob/living/carbon/mob,var/multiplier)
|
||||||
mob.brainloss = 50
|
mob.setBrainLoss(50)
|
||||||
|
|
||||||
/datum/disease2/effect/suicide
|
/datum/disease2/effect/suicide
|
||||||
name = "Suicidal syndrome"
|
name = "Suicidal syndrome"
|
||||||
|
|||||||
Reference in New Issue
Block a user