[MIRROR] even more local defines (#8516)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
Co-authored-by: Kashargul <KashL@t-online.de>
This commit is contained in:
CHOMPStation2
2024-06-14 08:28:10 +02:00
committed by GitHub
co-authored by Kashargul Kashargul
parent 5a99e2b366
commit f172e1f5b3
113 changed files with 699 additions and 490 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