mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-21 12:04:48 +01:00
[PTBF] Incriminate objective for Traitor (#30704)
* incriminate obj * target fix * kill indententations with bricks
This commit is contained in:
+4
-1
@@ -680,7 +680,7 @@
|
||||
|
||||
var/new_obj_type = input("Select objective type:", "Objective type", def_value) as null|anything in list(
|
||||
"assassinate", "assassinateonce", "blood", "debrain", "protect", "prevent", "hijack", "escape", "survive", "steal",
|
||||
"nuclear", "absorb", "destroy", "maroon", "identity theft", "custom")
|
||||
"nuclear", "absorb", "destroy", "maroon", "identity theft", "incriminate", "custom")
|
||||
if(!new_obj_type)
|
||||
return
|
||||
|
||||
@@ -798,6 +798,9 @@
|
||||
new_objective.update_explanation_text()
|
||||
var/datum/objective/escape/escape_with_identity/O = new_objective
|
||||
O.target_real_name = new_objective.target.current.real_name
|
||||
if("incriminate")
|
||||
new_objective = /datum/objective/incriminate
|
||||
|
||||
if("custom")
|
||||
var/expl = sanitize(copytext_char(input("Custom objective:", "Objective", objective ? objective.explanation_text : "") as text|null, 1, MAX_MESSAGE_LEN))
|
||||
if(!expl)
|
||||
|
||||
Reference in New Issue
Block a user