From 5a0f894e98dc1fe7fdcf7e01d902bd6033063da5 Mon Sep 17 00:00:00 2001 From: "rastaf.zero@gmail.com" Date: Sat, 22 Jan 2011 22:26:01 +0000 Subject: [PATCH] Fastfix by Rolfero. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@901 316c924e-a436-60f5-8080-3fe189b3f50e --- code/game/gamemodes/objective.dm | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/code/game/gamemodes/objective.dm b/code/game/gamemodes/objective.dm index 2e7e9319a75..f18ed7f7276 100644 --- a/code/game/gamemodes/objective.dm +++ b/code/game/gamemodes/objective.dm @@ -109,7 +109,7 @@ datum var/target_name proc/find_target() var/list/items = list( - "the captain's antique laser gun", + "the captain's antique laser gun", "a hand teleporter", "an RCD", "a jetpack", @@ -123,15 +123,15 @@ datum ) target_name = pick(items) switch(target_name) - if("captain's antique laser gun") + if("the captain's antique laser gun") steal_target = /obj/item/weapon/gun/energy/laser_gun/captain - if("hand teleporter") + if("a hand teleporter") steal_target = /obj/item/weapon/hand_tele - if("RCD") + if("an RCD") steal_target = /obj/item/weapon/rcd - if("jetpack") + if("a jetpack") steal_target = /obj/item/weapon/tank/jetpack - if("captains jumpsuit") + if("a captains jumpsuit") steal_target = /obj/item/clothing/under/rank/captain if("functional ai") steal_target = /obj/item/device/aicard @@ -147,7 +147,7 @@ datum steal_target = /obj/item/weapon/tank - explanation_text = "Steal a [target_name]." + explanation_text = "Steal [target_name]." return steal_target @@ -172,7 +172,7 @@ datum for(var/obj/item/weapon/tank/T in owner.current.contents) found_toxins += T.air_contents.toxins return found_toxins>=target - + else return 1 else