Merge pull request #12935 from AndrewJacksonThe2nd/objectives_rework

OBJECTIVES REWORK: Better Objectives Generation
This commit is contained in:
tkdrg
2015-12-31 03:11:41 -03:00
14 changed files with 2559 additions and 2811 deletions
+2 -14
View File
@@ -10,20 +10,8 @@
ticker.mode.traitors += H.mind
H.mind.special_role = "traitor"
var/datum/objective/steal/steal_objective = new
steal_objective.owner = H.mind
steal_objective.set_target(new /datum/objective_item/steal/nukedisc)
H.mind.objectives += steal_objective
var/datum/objective/hijack/hijack_objective = new
hijack_objective.owner = H.mind
H.mind.objectives += hijack_objective
H << "<B>You are the traitor.</B>"
var/obj_count = 1
for(var/datum/objective/OBJ in H.mind.objectives)
H << "<B>Objective #[obj_count]</B>: [OBJ.explanation_text]"
obj_count++
add_objective(H.mind, /datum/objective/default/steal)
add_objective(H.mind, /datum/objective/escape_obj/hijack, 1)
for (var/obj/item/I in H)
if (istype(I, /obj/item/weapon/implant))