From ff148fb2a68d0817a71e3185891a88bf17d5bcb5 Mon Sep 17 00:00:00 2001 From: Aurorablade Date: Wed, 21 Jun 2017 03:08:58 -0400 Subject: [PATCH] fluff objectives --- code/modules/events/sentience.dm | 34 ++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/code/modules/events/sentience.dm b/code/modules/events/sentience.dm index c3cc37f1c04..d7aab5b0aa5 100644 --- a/code/modules/events/sentience.dm +++ b/code/modules/events/sentience.dm @@ -26,9 +26,43 @@ SA.health = SA.maxHealth SA.del_on_death = FALSE greet_sentient(SA) + var/objtype = pick(subtypesof(/datum/objective/sentFluff/)) + var/datum/objective/sentFluff/O = new objtype() + SA.mind.objectives += O + to_chat(SA, "Purpose in life: [O.explanation_text]") /datum/event/sentience/proc/greet_sentient(var/mob/living/carbon/human/M) to_chat(M, "Hello world!") to_chat(M, "Due to freak radiation, you have gained \ human level intelligence and the ability to speak and understand \ human language!") +/datum/objective/sentFluff + completed = 1 + +/datum/objective/sentFluff/steal + explanation_text = "You have the urge to steal as many " + +/datum/objective/sentFluff/steal/New() + var/things = pick(list("lights","fruits","shoes","bars of soap", "hats", "pants", "organs")) + explanation_text += " [things] as you can!" + +/datum/objective/sentFluff/fear + explanation_text = "In your new found sentience you have learnd" + +/datum/objective/sentFluff/fear/New() + var/list/jobs = job_master.occupations.Copy() + for(var/datum/job/J in jobs) + if(J.current_positions < 1) + jobs -= J + if(jobs.len > 0) + var/datum/job/target = pick(jobs) + explanation_text += " that [target.title] are evil, avoid these scary things!" + else + explanation_text += " people are evil, avoid these scary things!" + +/datum/objective/sentFluff/toy + explanation_text = "You MUST find your special " + +/datum/objective/sentFluff/toy/New() + var/toy = pick(list("shoe","rubber duck","bike horn","bar of soap", "hat", "par of pants")) + explanation_text += " [toy] and not lose it! EVER!"