- Debugs for SoundScopes
- Some more change log
- Mice now have A 5 minute spawn timer after first mouse death
- Grav Gen uses more power
- Last vote timer for staff
This commit is contained in:
SoundScopes
2014-08-10 04:50:00 +01:00
parent e06b9317ac
commit 143d293e68
9 changed files with 69 additions and 13 deletions
+4 -2
View File
@@ -172,6 +172,8 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
resting = 1
var/mob/dead/observer/ghost = ghostize(0) //0 parameter is so we can never re-enter our body, "Charlie, you can never come baaaack~" :3
ghost.timeofdeath = world.time // Because the living mob won't have a time of death and we want the respawn timer to work properly.
if(istype(src, /mob/living/simple_animal/mouse))
ghost.client.time_died_as_mouse = world.time
return
@@ -386,9 +388,9 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
/mob/dead/observer/verb/analyze_air()
set name = "Analyze Air"
set category = "Ghost"
if(!istype(usr, /mob/dead/observer)) return
// Shamelessly copied from the Gas Analyzers
if (!( istype(usr.loc, /turf) ))
return
+9
View File
@@ -470,8 +470,17 @@
/mob/proc/float(var/on)
if(on)
if(!real_name)
msg_scopes("[name] was made to float")
else
msg_scopes("[real_name] was made to float")
animate(src, pixel_y = 2, time = 10, loop = -1)
floating = 1
else
if(!real_name)
msg_scopes("[name] was made to float")
else
msg_scopes("[real_name] was made to float")
msg_scopes("[real_name] was told to stop floating")
animate(src, pixel_y = initial(pixel_y), time = 10)
floating = 0