Skip to content

Commit 51465a0

Browse files
committed
Comment on why I haven't merged /datum/ai_behavior/execute_clean_slime -> /datum/ai_behavior/execute_clean/slime
1 parent ff5b5fc commit 51465a0

File tree

1 file changed

+8
-0
lines changed
  • monkestation/code/modules/slimecore/mobs/ai_controller/behaviours

1 file changed

+8
-0
lines changed

monkestation/code/modules/slimecore/mobs/ai_controller/behaviours/clean_target.dm

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
// It may be possible to merge this into `/datum/ai_behavior/execute_clean` as a subtype `/slime`.
2+
// However, it would require defining the cleaning behavior in
3+
// `/mob/living/basic/slime/resolve_unarmed_attack`, and in turn that would require finding a way to
4+
// reach the cleanable things from the slime mob itself.
5+
//
6+
// However, once that's done, the `/setup` and `/perform` procs can be removed, with the
7+
// `/finish_action` proc left intact (so as to prevent the slime from trying to use emagged cleanbot
8+
// phrases).
19
/datum/ai_behavior/execute_clean_slime
210
behavior_flags = AI_BEHAVIOR_REQUIRE_MOVEMENT | AI_BEHAVIOR_CAN_PLAN_DURING_EXECUTION | AI_BEHAVIOR_REQUIRE_REACH
311

0 commit comments

Comments
 (0)