Fixes mulebots killing passenger, bot tweaks

This commit is contained in:
Tastyfish
2016-04-03 15:01:15 -04:00
parent 49f8ab674c
commit b2d9c2e6a9
4 changed files with 6 additions and 32 deletions
@@ -3,7 +3,7 @@
// AI (i.e. game AI, not the AI player) controlled bots
/mob/living/simple_animal/bot
icon = 'icons/obj/aibots.dmi'
layer = MOB_LAYER
layer = MOB_LAYER - 0.1
light_range = 3
stop_automated_movement = 1
wander = 0
@@ -389,8 +389,8 @@
/mob/living/simple_animal/bot/proc/speak(message, channel) //Pass a message to have the bot say() it. Pass a frequency to say it on the radio.
if((!on) || (!message))
return
if(channel && Radio.channels[channel])// Use radio if we have channel key
Radio.autosay(message, name, channel)
if(channel)
Radio.autosay(message, name, channel == "headset" ? null : channel)
else
say(message)
return
@@ -591,7 +591,8 @@
bloodiness--
for(var/mob/living/carbon/human/H in next)
RunOver(H)
if(H != load)
RunOver(H)
// calculates a path to the current destination
// given an optional turf to avoid