even more local defines (#16033)

This commit is contained in:
Kashargul
2024-06-12 12:57:31 +10:00
committed by GitHub
parent 7793329bfd
commit ab31632830
113 changed files with 619 additions and 459 deletions
+7 -6
View File
@@ -44,7 +44,7 @@
var/last_sound = 0 //The last time a ship sound was played //VOREStation add
var/sound_cooldown = 10 SECONDS //VOREStation add
/// Vis contents overlay holding the ship's vector when in motion
/// Vis contents overlay holding the ship's vector when in motion
var/obj/effect/overlay/vis/vector
/obj/effect/overmap/visitable/ship/Initialize()
@@ -72,18 +72,18 @@
/obj/effect/overmap/visitable/ship/get_scan_data(mob/user)
. = ..()
if(!is_still())
. += {"\n\[i\]Heading\[/i\]: [get_heading_degrees()]\n\[i\]Velocity\[/i\]: [get_speed() * 1000]"}
else
. += {"\n\[i\]Vessel was stationary at time of scan.\[/i\]\n"}
var/life = 0
for(var/mob/living/L in living_mob_list)
if(L.z in map_z) //Things inside things we'll consider shielded, otherwise we'd want to use get_z(L)
life++
. += {"\[i\]Life Signs\[/i\]: [life ? life : "None"]"}
//Projected acceleration based on information from engines
@@ -301,6 +301,7 @@
var/y_to_use = T?.y || "UNK"
return "\[X:[x_to_use], Y:[y_to_use], VEL:[get_speed() * 1000], HDG:[get_heading_degrees()]\]"
#undef SHIP_MOVE_RESOLUTION
#undef MOVING
#undef SANITIZE_SPEED
#undef CHANGE_SPEED_BY
#undef CHANGE_SPEED_BY