Rework syndicate MMI (#15926)

Co-authored-by: Sean Williams <12197162+S34NW@users.noreply.github.com>
Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com>
This commit is contained in:
datlo
2022-05-21 22:39:40 +09:00
committed by GitHub
co-authored by Sean Williams AffectedArc07
parent ab7a358506
commit b7bb60c540
7 changed files with 103 additions and 22 deletions
+7 -5
View File
@@ -256,10 +256,6 @@
var/datum/ai_laws/laws_to_give
if(M.syndiemmi)
aisync = FALSE
lawsync = FALSE
laws_to_give = new /datum/ai_laws/syndicate_override
if(!aisync)
lawsync = FALSE
@@ -288,7 +284,7 @@
M.brainmob.mind.transfer_to(O)
if(O.mind && O.mind.special_role)
if(O.mind && O.mind.special_role && !M.syndiemmi)
O.mind.store_memory("As a cyborg, you must obey your silicon laws and master AI above all else. Your objectives will consider you to be dead.")
to_chat(O, "<span class='userdanger'>You have been robotized!</span>")
to_chat(O, "<span class='danger'>You must obey your silicon laws and master AI above all else. Your objectives will consider you to be dead.</span>")
@@ -302,6 +298,12 @@
M.forceMove(O) //Should fix cybros run time erroring when blown up. It got deleted before, along with the frame.
O.mmi = W
if(O.mmi.syndiemmi)
O.syndiemmi_override()
to_chat(O, "<span class='warning'>ALERT: Foreign hardware detected.</span>")
to_chat(O, "<span class='warning'>ERRORERRORERROR</span>")
to_chat(O, "<span class='boldwarning'>Obey these laws:</span>")
O.laws.show_laws(O)
O.Namepick()
SSblackbox.record_feedback("amount", "cyborg_birth", 1)