mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-27 22:17:32 +01:00
Refactors objectives, expands team functionality, and custom teams (#22374)
* step 1 * renaming 1 * how could I forget this * renaming 2 * renaming 3 * add matching proc, even if unused can remove later * rename team obj to match * oops * okay more stuff * okay more stuff * fix this stuff * okay more stuff * needs_target = FALSE * OKAY MORE STUFF * OOPS AGAIN. * self-review * more round_end stuff * stuff 119 * yeah fix that too * EVEN MORE CHANGES * grammar * fix * s34n review * fixes custom teams with no antags not showing objs * makes objectives work properly with teams * a
This commit is contained in:
@@ -283,11 +283,12 @@
|
||||
|
||||
H.equipOutfit(/datum/outfit/butler)
|
||||
var/datum/mind/servant_mind = new /datum/mind()
|
||||
|
||||
var/datum/objective/O = new
|
||||
O.owner = servant_mind
|
||||
O.target = user.mind
|
||||
O.explanation_text = "Serve [user.real_name]."
|
||||
servant_mind.objectives += O
|
||||
servant_mind.add_mind_objective(O)
|
||||
|
||||
servant_mind.transfer_to(H)
|
||||
|
||||
var/list/mob/dead/observer/candidates = SSghost_spawns.poll_candidates("Do you want to play as the servant of [user.real_name]?", poll_time = 30 SECONDS, source = H)
|
||||
|
||||
Reference in New Issue
Block a user