Mobs polymorphed into silicons are lawless (#23216)

🆑 coiax
add: Any silicons created by bolts of change have no laws.
add: Cyborgs are immune to polymorph while changing module.
/🆑
This commit is contained in:
coiax
2017-01-29 17:23:44 +00:00
committed by KorPhaeron
parent cd9d04e21c
commit 2ab35a05fd
2 changed files with 5 additions and 0 deletions

View File

@@ -202,6 +202,9 @@
new_mob.job = "Cyborg"
var/mob/living/silicon/robot/Robot = new_mob
Robot.mmi.transfer_identity(M) //Does not transfer key/client.
Robot.clear_inherent_laws()
Robot.clear_zeroth_law(0)
Robot.connected_ai = null
if("slime")
new_mob = new /mob/living/simple_animal/slime/random(M.loc)
if("xeno")