Fixes #1214 
Fixes #1219 
Fixes #1174 
Fixes #1185 
Fixes #1202 
Fixes #1170
This commit is contained in:
printer16
2016-12-24 04:14:00 +02:00
committed by skull132
parent 6cef8c9074
commit 657ca8acb3
7 changed files with 56 additions and 17 deletions
+5 -1
View File
@@ -465,7 +465,11 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
if(config.disable_player_mice)
src << "<span class='warning'>Spawning as a mouse is currently disabled.</span>"
return
if(ticker.current_state < GAME_STATE_PLAYING)
src << "<span class='warning'>You can not spawn as a mouse before round start!</span>"
return
if(!MayRespawn(1, ANIMAL_SPAWN_DELAY))
return
+2 -4
View File
@@ -75,8 +75,7 @@ var/list/cleanbot_types // Going to use this to generate a list of types once th
if(!path.len)
path = AStar(loc, target.loc, /turf/proc/CardinalTurfsWithAccess, /turf/proc/Distance, 0, 30, id = botcard)
if(!path)
custom_emote(2, "can't reach \the [target.name] and is giving up for now.")
log_debug("[src] can't reach [target.name] ([target.x], [target.y])")
//log_debug("[src] can't reach [target.name] ([target.x], [target.y])")
ignorelist |= target
target.clean_marked = null
target = null
@@ -199,7 +198,6 @@ var/list/cleanbot_types // Going to use this to generate a list of types once th
return
cleaning = 1
custom_emote(2, "begins to clean up \the [D]")
target.being_cleaned = 1
update_icons()
var/cleantime = istype(D, /obj/effect/decal/cleanable/dirt) ? 10 : 50
@@ -387,4 +385,4 @@ var/list/cleanbot_types // Going to use this to generate a list of types once th
return
if(!in_range(src, usr) && src.loc != usr)
return
created_name = t
created_name = t