mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
Intelicards now list ion storm laws
Carding a traitor AI and/or moving a traitor AI into a new core via intelicard no longer causes it to fail survive objectives. Changed random ion storm law from "HARM IS DEFINED AS [x]" to "[x] IS A FORM OF HARM" because "hurr time for non-harmful harmbatoning from my secborgs" is terrible. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1032 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
M.real_name = A.real_name
|
||||
if(A.mind)
|
||||
A.mind.transfer_to(M)
|
||||
A.mind.original = M
|
||||
M.control_disabled = 0
|
||||
M.laws_object = A.laws_object
|
||||
M.oxyloss = A.oxyloss
|
||||
@@ -74,6 +75,7 @@
|
||||
O.updatehealth()
|
||||
if(M.mind)
|
||||
M.mind.transfer_to(O)
|
||||
M.mind.original = O
|
||||
src.name = "inteliCard - [M.name]"
|
||||
M.name = "Inactive AI"
|
||||
M.real_name = "Inactive AI"
|
||||
@@ -126,12 +128,20 @@
|
||||
|
||||
|
||||
attack_self(mob/user)
|
||||
if (!in_range(src, user))
|
||||
return
|
||||
user.machine = src
|
||||
var/dat = "<TT><B>Intelicard</B><BR>"
|
||||
var/laws
|
||||
for(var/mob/living/silicon/ai/A in src)
|
||||
dat += "Stored AI: [A.name]<br>System integrity: [(A.health+100)/2]%<br>"
|
||||
|
||||
for (var/index = 1, index <= A.laws_object.ion.len, index++)
|
||||
var/law = A.laws_object.ion[index]
|
||||
if (length(law) > 0)
|
||||
var/num = ionnum()
|
||||
laws += "[num]. [law]"
|
||||
|
||||
if (A.laws_object.zeroth)
|
||||
laws += "0: [A.laws_object.zeroth]<BR>"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user