mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-13 08:03:43 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user