Ashwalker Update (#15466)
* Ashwalker Update * Update generic_positive_events.dm * Update ashwalker.dm * fixing newlines * Update code/modules/antagonists/_common/antag_datum.dm Co-authored-by: Putnam3145 <putnam3145@gmail.com> * literally 1984 * unlimiting spawns * Create antag_datum.dm.bak * Revert "Create antag_datum.dm.bak" This reverts commit d91e1f4c4d9c86bc4a275ef19f45e8927dd93cae. Co-authored-by: Putnam3145 <putnam3145@gmail.com>
This commit is contained in:
@@ -778,6 +778,24 @@ GLOBAL_LIST_EMPTY(possible_items_special)
|
||||
target_amount = count
|
||||
update_explanation_text()
|
||||
*/
|
||||
/datum/objective/protect_object
|
||||
name = "protect object"
|
||||
var/obj/protect_target
|
||||
|
||||
/datum/objective/protect_object/proc/set_target(obj/O)
|
||||
protect_target = O
|
||||
update_explanation_text()
|
||||
|
||||
/datum/objective/protect_object/update_explanation_text()
|
||||
. = ..()
|
||||
if(protect_target)
|
||||
explanation_text = "Protect \the [protect_target] at all costs."
|
||||
else
|
||||
explanation_text = "Free objective."
|
||||
|
||||
/datum/objective/protect_object/check_completion()
|
||||
return !QDELETED(protect_target)
|
||||
|
||||
//Changeling Objectives
|
||||
|
||||
/datum/objective/absorb
|
||||
|
||||
Reference in New Issue
Block a user