diff --git a/code/datums/mind.dm b/code/datums/mind.dm index 8712851a..f6ce9a6a 100644 --- a/code/datums/mind.dm +++ b/code/datums/mind.dm @@ -471,7 +471,7 @@ else target_antag = target - var/new_obj_type = input("Select objective type:", "Objective type", def_value) as null|anything in list("assassinate", "maroon", "debrain", "protect", "destroy", "prevent", "hijack", "escape", "survive", "martyr", "steal", "download", "nuclear", "capture", "absorb", "noncon", "custom") + var/new_obj_type = input("Select objective type:", "Objective type", def_value) as null|anything in list("assassinate", "maroon", "debrain", "protect", "destroy", "prevent", "hijack", "escape", "survive", "martyr", "heirloom", "steal", "download", "nuclear", "capture", "absorb", "noncon", "custom") if (!new_obj_type) return @@ -541,6 +541,12 @@ new_objective = new /datum/objective/nuclear new_objective.owner = src + if ("heirloom") + new_objective = new /datum/objective/hoard/heirloom + new_objective.owner = src + var/datum/objective/hoard/heirloom/heirloom = new_objective + heirloom.find_target() + if ("steal") if (!istype(objective, /datum/objective/steal)) new_objective = new /datum/objective/steal diff --git a/code/game/gamemodes/objective.dm b/code/game/gamemodes/objective.dm index 996553e1..cc8173ca 100644 --- a/code/game/gamemodes/objective.dm +++ b/code/game/gamemodes/objective.dm @@ -894,7 +894,7 @@ GLOBAL_LIST_EMPTY(possible_items_special) /datum/objective/hoard/proc/set_target(obj/item/I) if(I) hoarded_item = I - explanation_text = "Keep [I] on your person at all times." + explanation_text = "Steal and keep [I] heirloom on your person at all times." return hoarded_item else explanation_text = "Free objective"