mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 12:29:46 +01:00
Fix indentations (#17481)
* cbt * AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA * fsadffsda sad * sadfasd * jhn * dsfa * saf * safsad * sda
This commit is contained in:
@@ -327,7 +327,7 @@ var/list/cleanbot_types // Going to use this to generate a list of types once th
|
||||
// This just generates the global list if it hasn't been done already, quick process.
|
||||
cleanbot_types = typesof(/obj/effect/decal/cleanable/blood,/obj/effect/decal/cleanable/vomit,\
|
||||
/obj/effect/decal/cleanable/crayon,/obj/effect/decal/cleanable/liquid_fuel,/obj/effect/decal/cleanable/mucus,/obj/effect/decal/cleanable/dirt)
|
||||
// I honestly forgot you could pass multiple types to typesof() until I accidentally did it here.
|
||||
// I honestly forgot you could pass multiple types to typesof() until I accidentally did it here.
|
||||
target_types = cleanbot_types.Copy()
|
||||
if(!cleans_blood)
|
||||
target_types -= typesof(/obj/effect/decal/cleanable/blood)-typesof(/obj/effect/decal/cleanable/blood/oil)
|
||||
|
||||
@@ -167,7 +167,7 @@
|
||||
continue
|
||||
if(!process_tray(tray)) //If there's nothing for us to do with the plant, ignore this tray.
|
||||
continue
|
||||
if(pathfind(tray)) //If we can get there, we can accept it as a target.
|
||||
if(pathfind(tray)) //If we can get there, we can accept it as a target.
|
||||
target = tray
|
||||
frustration = 0
|
||||
break
|
||||
@@ -190,7 +190,7 @@
|
||||
if(!length(freespaces))
|
||||
return FALSE
|
||||
|
||||
//If we got here, we know there's a space around it that we can use to access the tray/target. Let's try to find a path to it.
|
||||
//If we got here, we know there's a space around it that we can use to access the tray/target. Let's try to find a path to it.
|
||||
var/turf/location_goal = pick(freespaces)
|
||||
path = AStar(loc, location_goal, /turf/proc/CardinalTurfsWithAccess, /turf/proc/Distance, 0, 30, id = botcard)
|
||||
if(!path)
|
||||
|
||||
Reference in New Issue
Block a user