Objectives "steal plasma" and "steal AI" now correctly checks contents of backpacks.

Objectives code is made more compact and clear.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@908 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
rastaf.zero@gmail.com
2011-01-23 23:11:02 +00:00
parent 0a8aef9c59
commit 39dd425219
3 changed files with 76 additions and 105 deletions
+1 -3
View File
@@ -17,9 +17,7 @@
var/datum/objective/steal/steal_objective = new
steal_objective.owner = H.mind
steal_objective.target_name = "nuclear authentication disk"
steal_objective.steal_target = /obj/item/weapon/disk/nuclear
steal_objective.explanation_text = "Steal a [steal_objective.target_name]."
steal_objective.set_target("nuclear authentication disk")
H.mind.objectives += steal_objective
var/datum/objective/hijack/hijack_objective = new