From 4315dc894634f39fdf1aa914e7c81c56867c8ad7 Mon Sep 17 00:00:00 2001 From: savethetreez Date: Sun, 26 May 2024 19:45:46 +0200 Subject: [PATCH] Kandahar: more flag code --- code/game/objects/map_metadata/kandahar.dm | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/code/game/objects/map_metadata/kandahar.dm b/code/game/objects/map_metadata/kandahar.dm index 9c07b70687..cf0985bbd6 100644 --- a/code/game/objects/map_metadata/kandahar.dm +++ b/code/game/objects/map_metadata/kandahar.dm @@ -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"