Space drugs should no longer cause people to act weird inside lockers and such.

Tele now ignores beacons and trackers on Z2
Singularity grav range reduced a bit due to lag


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2047 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
mport2004@gmail.com
2011-08-25 08:53:01 +00:00
parent a4c24f073c
commit 1d20768b4c
3 changed files with 12 additions and 7 deletions

View File

@@ -46,8 +46,9 @@
var/list/areaindex = list()
for(var/obj/item/device/radio/beacon/R in world)
var/turf/T = find_loc(R)
var/turf/T = get_turf(R)
if (!T) continue
if(T.z == 2) continue
var/tmpname = T.loc.name
if(areaindex[tmpname])
tmpname = "[tmpname] ([++areaindex[tmpname]])"
@@ -63,6 +64,9 @@
if (M.stat == 2)
if (M.timeofdeath + 6000 < world.time)
continue
var/turf/T = get_turf(M)
if(T) continue
if(T.z == 2) continue
var/tmpname = M.real_name
if(areaindex[tmpname])
tmpname = "[tmpname] ([++areaindex[tmpname]])"

View File

@@ -414,7 +414,9 @@ datum
on_mob_life(var/mob/living/M as mob)
if(!M) M = holder.my_atom
M.druggy = max(M.druggy, 15)
if(M.canmove) step(M, pick(cardinal))
if(isturf(M.loc))
if(M.canmove)
step(M, pick(cardinal))
if(prob(7)) M:emote(pick("twitch","drool","moan","giggle"))
holder.remove_reagent(src.id, 0.2)
return

View File

@@ -168,7 +168,7 @@ var/global/list/uneatable = list(
icon_state = "singularity_s9"
pixel_x = -128
pixel_y = -128
grav_pull = 15//This might cause some lag, dono though
grav_pull = 10
consume_range = 4
dissipate = 0 //It cant go smaller due to e loss
if(current_size == allowed_size)
@@ -200,6 +200,7 @@ var/global/list/uneatable = list(
eat()
set background = 1
for(var/atom/movable/X in orange(consume_range,src))
consume(X)
for(var/turf/X in orange(consume_range,src))
@@ -362,9 +363,7 @@ var/global/list/uneatable = list(
toxmob()
var/toxrange = 8
if (src.energy>1000)
toxrange += 6
var/toxrange = 10
var/toxloss = 4
var/radiation = 5
if (src.energy>200)
@@ -426,7 +425,7 @@ var/global/list/uneatable = list(
emp_area()
empulse(src, 6, 8)
empulse(src, 8, 10)
return