Ports tg simple_animal bots

This commit is contained in:
Tastyfish
2016-03-28 00:22:04 -04:00
parent a19f646e0e
commit 25195208a9
110 changed files with 5551 additions and 5360 deletions
+14 -1
View File
@@ -780,7 +780,8 @@
var/list/mobs_can_pass = list(
/mob/living/carbon/slime,
/mob/living/simple_animal/mouse,
/mob/living/silicon/robot/drone
/mob/living/silicon/robot/drone,
/mob/living/simple_animal/bot/mulebot
)
/obj/structure/plasticflaps/CanPass(atom/A, turf/T)
@@ -814,6 +815,18 @@
return ..()
/obj/structure/plasticflaps/CanAStarPass(ID, to_dir, caller)
if(istype(caller, /mob/living))
for(var/mob_type in mobs_can_pass)
if(istype(caller, mob_type))
return 1
var/mob/living/M = caller
if(!M.ventcrawler && !M.small)
return 0
return 1
/obj/structure/plasticflaps/ex_act(severity)
switch(severity)
if (1)