mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-19 03:55:11 +01:00
Adds a subsystem for ai movement (#57111)
* done * straight walk * movement * yep * removes unused macro * done * Update ai_movement.dm
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
if(controller.blackboard[BB_VENDING_BUSY_TILTING])
|
||||
return
|
||||
|
||||
controller.ai_movement.stop_moving_towards(controller)
|
||||
controller.blackboard[BB_VENDING_BUSY_TILTING] = TRUE
|
||||
var/turf/target_turf = get_turf(controller.blackboard[BB_VENDING_CURRENT_TARGET])
|
||||
new /obj/effect/temp_visual/telegraphing/vending_machine_tilt(target_turf)
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
///AI controller for vending machine gone rogue, Don't try using this on anything else, it wont work.
|
||||
/datum/ai_controller/vending_machine
|
||||
movement_delay = 0.4 SECONDS
|
||||
blackboard = list(BB_VENDING_CURRENT_TARGET = null,
|
||||
BB_VENDING_TILT_COOLDOWN = 0,
|
||||
BB_VENDING_UNTILT_COOLDOWN = 0,
|
||||
|
||||
Reference in New Issue
Block a user