Added a sanity check, added some feedback stuff to help identify WTF is happening with blood.

This commit is contained in:
SkyMarshal
2012-02-14 19:58:21 -07:00
parent 9d12cf6c12
commit 5e332d297d
3 changed files with 15 additions and 7 deletions
+4
View File
@@ -101,6 +101,10 @@
t = "huge"
else
if ((usr.mutations & CLUMSY) && prob(50)) t = "funny-looking"
if(!blood_DNA)
var/turf/Z = get_turf(src)
world << "\red ERROR: [src] at [Z.x], [Z.y], [Z.z] is missing it's blood_DNA list! Tell a dev!"
return
usr << text("This is a []\icon[][]. It is a [] item.", !src.blood_DNA.len ? "" : "bloody ",src, src.name, t)
if(src.desc)
usr << src.desc