Merge remote-tracking branch 'upstream/dev-freeze' into dev

Conflicts:
	code/_helpers/unsorted.dm
	code/game/objects/items/weapons/RCD.dm
	code/game/objects/items/weapons/grenades/emgrenade.dm
	code/modules/clothing/spacesuits/rig/rig_attackby.dm
This commit is contained in:
PsiOmegaDelta
2015-07-11 10:58:49 +02:00
57 changed files with 1186 additions and 1051 deletions
+1 -1
View File
@@ -124,7 +124,7 @@
//uniqueID = rand(0,10000)
var/datum/disease2/effectholder/holder = pick(effects)
holder.minormutate()
infectionchance = min(50,infectionchance + rand(0,10))
//infectionchance = min(50,infectionchance + rand(0,10))
/datum/disease2/disease/proc/majormutate()
uniqueID = rand(0,10000)
+3 -3
View File
@@ -51,7 +51,7 @@ proc/infection_check(var/mob/living/carbon/M, var/vector = "Airborne")
if (vector == "Airborne")
var/obj/item/I = M.wear_mask
if (istype(I))
protection = max(protection, round(0.06*I.armor["bio"]))
protection = max(protection, I.armor["bio"])
return prob(protection)
@@ -148,12 +148,12 @@ proc/airborne_can_reach(turf/source, turf/target)
// log_debug("Could not reach target")
if (vector == "Contact")
if (in_range(src, victim))
if (Adjacent(victim))
// log_debug("In range, infecting")
infect_virus2(victim,V)
//contact goes both ways
if (victim.virus2.len > 0 && vector == "Contact")
if (victim.virus2.len > 0 && vector == "Contact" && Adjacent(victim))
// log_debug("Spreading [vector] diseases from [victim] to [src]")
var/nudity = 1