From bf3644d64eca5ddfaabe15da6c76c70cf29fa9f4 Mon Sep 17 00:00:00 2001 From: deathride58 Date: Thu, 28 Sep 2017 19:41:13 -0400 Subject: [PATCH] adds points objective for cargonians --- .../cit_crewobjectives_cargo.dm | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/code/citadel/crew_objectives/cit_crewobjectives_cargo.dm b/code/citadel/crew_objectives/cit_crewobjectives_cargo.dm index dac2e15435..e396f57a9e 100644 --- a/code/citadel/crew_objectives/cit_crewobjectives_cargo.dm +++ b/code/citadel/crew_objectives/cit_crewobjectives_cargo.dm @@ -30,6 +30,23 @@ else return FALSE +/datum/objective/crew/quartermaster/points //ported from old hippie + explanation_text = "Make sure the station has at least (Something broke, report this to the development discussion channel of citadels discord) supply points at the end of the shift." + +/datum/objective/crew/quartermaster/points/New() + . = ..() + target_amount = rand(25000,100000) + update_explanation_text() + +/datum/objective/crew/quartermaster/points/update_explanation_text() + explanation_text = "Make sure the station has at least [target_amount] supply points at the end of the shift." + +/datum/objective/crew/quartermaster/points/check_completion() + if(SSshuttle.points >= target_amount) + return TRUE + else + return FALSE + /datum/objective/crew/cargotechnician /datum/objective/crew/cargotechnician/petsplosion @@ -60,6 +77,23 @@ else return FALSE +/datum/objective/crew/cargotechnician/points //ported from old hippie + explanation_text = "Make sure the station has at least (Something broke, report this to the development discussion channel of citadels discord) supply points at the end of the shift." + +/datum/objective/crew/cargotechnician/points/New() + . = ..() + target_amount = rand(25000,100000) + update_explanation_text() + +/datum/objective/crew/cargotechnician/points/update_explanation_text() + explanation_text = "Make sure the station has at least [target_amount] supply points at the end of the shift." + +/datum/objective/crew/cargotechnician/points/check_completion() + if(SSshuttle.points >= target_amount) + return TRUE + else + return FALSE + /datum/objective/crew/shaftminer /datum/objective/crew/shaftminer/bubblegum