Skip to content

Commit

Permalink
incoming text
Browse files Browse the repository at this point in the history
  • Loading branch information
Bierkraan committed Mar 18, 2024
1 parent 29ca37b commit a7c6f42
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions code/game/turfs/turf.dm
Original file line number Diff line number Diff line change
Expand Up @@ -496,21 +496,23 @@ var/const/enterloopsanity = 100
faction2_airstrikes_remaining--

var/aircraft_name
var/incoming_text = "cuts through"
switch(faction_text)
if (DUTCH)
new /obj/effect/plane_flyby/f16_no_message(T)
aircraft_name = "F-16"
if (GERMAN)
new /obj/effect/plane_flyby/ju87_no_message(T)
aircraft_name = "Ju 87 Stuka"
incoming_text = "dives down"
if (AMERICAN)
new /obj/effect/plane_flyby/f16_no_message(T)
aircraft_name = "F-16"
if (RUSSIAN)
new /obj/effect/plane_flyby/su25_no_message(T)
aircraft_name = "Su-25"

to_chat(world, SPAN_DANGER("<font size=4>The clouds open up as a [aircraft_name] cuts through.</font>"))
to_chat(world, SPAN_DANGER("<font size=4>The clouds open up as a [aircraft_name] [incoming_text].</font>"))

var/anti_air_in_range = FALSE
for (var/obj/structure/milsim/anti_air/AA in range(60, T)) // Check if there's anti air within 60 tiles
Expand Down Expand Up @@ -612,4 +614,4 @@ var/const/enterloopsanity = 100

spawn(3 SECONDS)
for (var/i = 1, i <= strikenum, i++)
explosion(locate((T.x + xoffset), (T.y + yoffset), T.z), 2, 3, 4, 4, sound='sound/weapons/Explosives/FragGrenade.ogg')
explosion(locate((T.x + xoffset), (T.y + yoffset), T.z), 2, 3, 4, 4)

0 comments on commit a7c6f42

Please sign in to comment.