mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-23 04:51:32 +01:00
Fixes #1214 Fixes #1219 Fixes #1174 Fixes #1185 Fixes #1202 Fixes #1170
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user