-Fixed an issue with corpses appearing in the living_mob_list.

-Added a maths.dm with useful math procs. I've taken the math procs from a resource library from BYOND called dmMath ( http://www.byond.com/developer/Nickr5/dmMath ) thanks Nickr5 for the useful procs.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5140 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
giacomand@gmail.com
2012-11-21 01:02:56 +00:00
parent 92d41a543f
commit d0ca8fcd54
3 changed files with 118 additions and 3 deletions

View File

@@ -30,7 +30,7 @@
/obj/effect/landmark/corpse/proc/createCorpse() //Creates a mob and checks for gear in each slot before attempting to equip it.
var/mob/living/carbon/human/M = new /mob/living/carbon/human (src.loc)
M.real_name = src.name
M.stat = 2 //Kills the new mob
M.death(1) //Kills the new mob
if(src.corpseuniform)
M.equip_to_slot_or_del(new src.corpseuniform(M), slot_w_uniform)
if(src.corpsesuit)

View File

@@ -63,8 +63,10 @@
tod = worldtime2text() //weasellos time of death patch
if(mind) mind.store_memory("Time of death: [tod]", 0)
sql_report_death(src)
ticker.mode.check_win() //Calls the rounds wincheck, mainly for wizard, malf, and changeling now
if(ticker && ticker.mode)
world.log << "k"
sql_report_death(src)
ticker.mode.check_win() //Calls the rounds wincheck, mainly for wizard, malf, and changeling now
return ..(gibbed)
/mob/living/carbon/human/proc/makeSkeleton()