mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-27 06:00:23 +01:00
Port OD Pragma Lints (#17171)
* Experimental: Port OD Pragma Lints
* first pass: Includes icon forge fixes/updates
* 2nd pass
* third pass
* debug_ai: This what you're unhappy with?
* Revert "debug_ai: This what you're unhappy with?"
This reverts commit bc178792e6.
* How about this
* Or is it the else?
* Pass summer
---------
Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
#define AI_SMART 3 // Will do more processing to be a little smarter, like not walking while confused if it could risk stepping randomly onto a bad tile.
|
||||
|
||||
//#define ai_log(M,V) if(debug_ai) ai_log_output(M,V)
|
||||
#define ai_log(M,V)
|
||||
#define ai_log(M,V) // If you restore this, also remove the extra pass() calls in ai_holder_movement
|
||||
|
||||
// Logging level defines.
|
||||
#define AI_LOG_OFF 0 // Don't show anything.
|
||||
|
||||
@@ -62,6 +62,7 @@
|
||||
give_destination(home_turf, max_home_distance)
|
||||
else
|
||||
ai_log("go_home() : Told to go home without home_turf.", AI_LOG_ERROR)
|
||||
pass() // Remove this ever ai_log does something
|
||||
|
||||
/datum/ai_holder/proc/give_destination(turf/new_destination, min_distance = 1, combat = FALSE)
|
||||
ai_log("give_destination() : Entering.", AI_LOG_DEBUG)
|
||||
@@ -75,6 +76,7 @@
|
||||
return TRUE
|
||||
else
|
||||
ai_log("give_destination() : Given null destination.", AI_LOG_ERROR)
|
||||
pass() // Remove this ever ai_log does something
|
||||
|
||||
ai_log("give_destination() : Exiting.", AI_LOG_DEBUG)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user