Merge branch 'master' into development

This commit is contained in:
skull132
2018-05-02 21:07:35 +03:00
4 changed files with 14 additions and 12 deletions
-3
View File
@@ -762,9 +762,6 @@
/datum/reagent/philosopher_stone
value = 1000
/datum/reagent/azoth
value = 200
/datum/reagent/elixir
value = 1000
@@ -462,7 +462,7 @@
L.reveal_blood()
/datum/reagent/estus
name = "liquid light"
name = "Liquid Light"
id = "estus"
description = "This impossible substance slowly converts from a liquid into actual light."
reagent_state = LIQUID
@@ -87,13 +87,13 @@ proc/GetAnomalySusceptibility(var/mob/living/carbon/human/H)
if(!H || !istype(H))
return 1
var/protected = 0
//anomaly suits give best protection, but excavation suits are almost as good
if(istype(H.back,/obj/item/weapon/rig/hazmat))
var/obj/item/weapon/rig/hazmat/rig = H.back
if(rig.suit_is_deployed() && !rig.offline)
protected += 1
return 0 //<- Maximum level of protection achieved.
var/protected = 0
if(istype(H.wear_suit,/obj/item/clothing/suit/bio_suit/anomaly))
protected += 0.6
@@ -108,8 +108,16 @@ proc/GetAnomalySusceptibility(var/mob/living/carbon/human/H)
//latex gloves and science goggles also give a bit of bonus protection
if(istype(H.gloves,/obj/item/clothing/gloves/latex))
protected += 0.1
/*
If you have Anomaly Suit, Anomaly Hood, Latex Gloves AND Science Goggles, you will have
0.6 + 0.3 + 0.1 + 0.1 = 1.1
maximum protection level. The CLAMP01 instruction make sure that "protected" will be
always in 0..1 range boundaries.
*/
if(istype(H.glasses,/obj/item/clothing/glasses/science))
protected += 0.1
protected += 0.1 //<- In case of full not-Anomaly clothing, you'll have 0.5 + 0.2 + 0.1 + 0.1 = 0.9 maximum protection level.
//As said before, in case of a value of 1.1, "protected" will be setted to 1.
protected = CLAMP01(protected)
return 1 - protected
@@ -140,9 +140,6 @@
if(/obj/machinery/power/supermatter)
return "Super dense phoron clump - Appears to have been shaped or hewn, structure is composed of matter 2000% denser than ordinary carbon matter residue.\
Potential application as unrefined phoron source."
if(/obj/machinery/power/supermatter)
return "Super dense phoron clump - Appears to have been shaped or hewn, structure is composed of matter 2000% denser than ordinary carbon matter residue.\
Potential application as unrefined phoron source."
if(/obj/structure/constructshell)
return "Tribal idol - Item resembles statues/emblems built by superstitious pre-warp civilisations to honour their gods. Material appears to be a \
rock/plastcrete composite."