mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 20:16:55 +01:00
Merge branch 'master' of git://github.com/Baystation12/Baystation12
This commit is contained in:
@@ -6,8 +6,9 @@
|
||||
|
||||
New()
|
||||
..()
|
||||
step_rand(src)
|
||||
step_rand(src)
|
||||
step(src, pick(cardinal))
|
||||
step(src, pick(cardinal))
|
||||
step(src, pick(cardinal))
|
||||
anchored = 1
|
||||
spawn(300) del(src)
|
||||
|
||||
@@ -503,12 +504,6 @@
|
||||
activate(var/mob/living/carbon/mob,var/multiplier)
|
||||
mob.say("*groan")
|
||||
|
||||
/datum/disease2/effect/lesser/scream
|
||||
name = "Loudness Syndrome"
|
||||
stage = 4
|
||||
activate(var/mob/living/carbon/mob,var/multiplier)
|
||||
mob.say("*scream")
|
||||
|
||||
/datum/disease2/effect/lesser/drool
|
||||
name = "Saliva Effect"
|
||||
stage = 1
|
||||
@@ -527,6 +522,31 @@
|
||||
activate(var/mob/living/carbon/mob,var/multiplier)
|
||||
mob.say("*twitch")
|
||||
|
||||
/datum/disease2/effect/lesser/pale
|
||||
name = "Ghost Effect"
|
||||
stage = 1
|
||||
activate(var/mob/living/carbon/mob,var/multiplier)
|
||||
if(prob(10))
|
||||
mob.emote("me",1,"looks very pale.")
|
||||
|
||||
/datum/disease2/effect/lesser/stumble
|
||||
name = "Poor Balance Syndrome"
|
||||
stage = 3
|
||||
activate(var/mob/living/carbon/mob,var/multiplier)
|
||||
if(!mob.client) return
|
||||
|
||||
// little trick, this way you only stumble while moving
|
||||
if(world.time < mob.client.move_delay + 10)
|
||||
step(mob, pick(cardinal))
|
||||
mob.emote("me",1,"stumbles over their own feet.")
|
||||
|
||||
/datum/disease2/effect/lesser/hoarse
|
||||
name = "Hoarse Throat"
|
||||
stage = 1
|
||||
activate(var/mob/living/carbon/mob,var/multiplier)
|
||||
mob.disease_symptoms |= DISEASE_HOARSE
|
||||
|
||||
|
||||
/*Removed on request by Spaceman, due to it being detrimental to RP. -CN
|
||||
/datum/disease2/effect/lesser/deathgasp
|
||||
name = "Zombie Syndrome"
|
||||
@@ -534,11 +554,8 @@
|
||||
activate(var/mob/living/carbon/mob,var/multiplier)
|
||||
mob.say("*deathgasp")*/
|
||||
|
||||
/datum/disease2/effect/lesser/giggle
|
||||
name = "Uncontrolled Laughter Effect"
|
||||
stage = 3
|
||||
activate(var/mob/living/carbon/mob,var/multiplier)
|
||||
mob.say("*giggle")
|
||||
var/global/const/DISEASE_HOARSE = 2
|
||||
var/global/const/DISEASE_WHISPER = 4
|
||||
|
||||
|
||||
/datum/disease2/effect/lesser
|
||||
|
||||
@@ -8,4 +8,7 @@
|
||||
|
||||
var/datum/disease2/disease/virus2 = null
|
||||
var/list/datum/disease2/disease/resistances2 = list()
|
||||
var/antibodies = 0
|
||||
var/antibodies = 0
|
||||
|
||||
mob
|
||||
var/list/disease_symptoms = 0 // a list of disease-incurred symptoms
|
||||
@@ -51,8 +51,10 @@
|
||||
for(var/datum/disease/D in patient.viruses)
|
||||
if(!D.hidden[SCANNER])
|
||||
foundVirus++
|
||||
if(patient.virus2)
|
||||
foundVirus++
|
||||
|
||||
// jesus fuck, no, don't display vira by just looking at them
|
||||
/*if(patient.virus2)
|
||||
foundVirus++*/
|
||||
C.images += image(tempHud,patient,"hud[RoundHealth(patient.health)]")
|
||||
if(patient.stat == 2)
|
||||
C.images += image(tempHud,patient,"huddead")
|
||||
|
||||
@@ -992,6 +992,8 @@
|
||||
for(var/datum/disease/D in viruses)
|
||||
D.cure()
|
||||
|
||||
// clean all the symptoms incurred by the virus
|
||||
src.disease_symptoms = 0
|
||||
|
||||
if(!virus2)
|
||||
// the following is silly since it lets you infect people through glass
|
||||
@@ -1013,8 +1015,10 @@
|
||||
// check if we're immune
|
||||
if(virus2.antigen & src.antibodies) virus2.dead = 1
|
||||
if(src.get_infection_chance())
|
||||
var/obj/virus/V = new(src.loc)
|
||||
V.disease = src.virus2
|
||||
// need more pathogens
|
||||
for(var/i=0, i<3, i++)
|
||||
var/obj/virus/V = new(src.loc)
|
||||
V.disease = src.virus2
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -132,6 +132,9 @@
|
||||
if (!message)
|
||||
return
|
||||
|
||||
if( !message_mode && (disease_symptoms & DISEASE_WHISPER))
|
||||
message_mode = "whisper"
|
||||
|
||||
message = capitalize(message) //capitalize the first letter of what they actually say
|
||||
|
||||
// :downs:
|
||||
|
||||
@@ -54,6 +54,8 @@
|
||||
|
||||
/mob/proc/say_quote(var/text)
|
||||
var/ending = copytext(text, length(text))
|
||||
if (src.disease_symptoms & DISEASE_HOARSE)
|
||||
return "rasps, \"[text]\"";
|
||||
if (src.stuttering)
|
||||
return "stammers, \"[text]\"";
|
||||
if (src.slurring)
|
||||
|
||||
Reference in New Issue
Block a user