Adds the framework for randomlly loading an additional external z-level at server start. Loading during the game should also be possible.

Fixes assorted bugs

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3559 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
VivianFoxfoot@gmail.com
2012-05-06 18:04:31 +00:00
parent abf2585875
commit f1696eb47c
17 changed files with 1569 additions and 6 deletions

View File

@@ -96,6 +96,7 @@
var/turf/destturf
var/turf/curturf = get_turf(teleatom)
var/area/destarea = get_area(destination)
if(precision)
var/list/posturfs = circlerangeturfs(destination,precision)
destturf = safepick(posturfs)
@@ -121,6 +122,7 @@
// Re-Apply lum
teleatom.sd_SetLuminosity(prevlum)
destarea.Entered(teleatom)
return 1