Skip to content

Commit

Permalink
Kandahar: more flag code
Browse files Browse the repository at this point in the history
  • Loading branch information
savethetreez committed May 26, 2024
1 parent 9cfa74c commit 4315dc8
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions code/game/objects/map_metadata/kandahar.dm
Original file line number Diff line number Diff line change
Expand Up @@ -567,51 +567,67 @@
if ("Soviets")
for (var/obj/structure/flag/objective/one/F in world)
F.icon_state = "soviet"
F.name = "Soviet flag"
if ("Mujahideen")
for (var/obj/structure/flag/objective/one/F in world)
F.icon_state = "pirates"
F.name = "Mujahideen flag"
if ("DRA")
for (var/obj/structure/flag/objective/one/F in world)
F.icon_state = "soviet"
F.name = "Soviet flag"
else
for (var/obj/structure/flag/objective/one/F in world)
F.icon_state = "white"
F.name = "Unclaimed flag"
switch (a2_control)
if ("Soviets")
for (var/obj/structure/flag/objective/two/F in world)
F.icon_state = "soviet"
F.name = "Soviet flag"
if ("Mujahideen")
for (var/obj/structure/flag/objective/two/F in world)
F.icon_state = "pirates"
F.name = "Mujahideen flag"
if ("DRA")
for (var/obj/structure/flag/objective/two/F in world)
F.icon_state = "soviet"
F.name = "Soviet flag"
else
for (var/obj/structure/flag/objective/two/F in world)
F.icon_state = "white"
F.name = "Unclaimed flag"
switch (a3_control)
if ("Soviets")
for (var/obj/structure/flag/objective/three/F in world)
F.icon_state = "soviet"
F.name = "Soviet flag"
if ("Mujahideen")
for (var/obj/structure/flag/objective/three/F in world)
F.icon_state = "pirates"
F.name = "Mujahideen flag"
if ("DRA")
for (var/obj/structure/flag/objective/three/F in world)
F.icon_state = "soviet"
F.name = "Soviet flag"
else
for (var/obj/structure/flag/objective/three/F in world)
F.icon_state = "white"
F.name = "Unclaimed flag"
switch (a4_control)
if ("Soviets")
for (var/obj/structure/flag/objective/four/F in world)
F.icon_state = "soviet"
F.name = "Soviet flag"
if ("Mujahideen")
for (var/obj/structure/flag/objective/four/F in world)
F.icon_state = "pirates"
F.name = "Mujahideen flag"
if ("DRA")
for (var/obj/structure/flag/objective/four/F in world)
F.icon_state = "soviet"
F.name = "Soviet flag"
else
for (var/obj/structure/flag/objective/four/F in world)
F.icon_state = "white"
F.name = "Unclaimed flag"

0 comments on commit 4315dc8

Please sign in to comment.