Station-built AIs now default to having Asimov laws, as opposed to no laws.

AIs can no longer take the same name as an existing AI.

Removing the glass panel from a partially-constructed AI core now gives the proper iconstate if there was a brain inserted.

Removed obsolete statement in malf's post-setup.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@169 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
n3ophyt3@gmail.com
2010-09-25 03:06:44 +00:00
parent a1f10f5f2b
commit 93fa2f9f06
5 changed files with 31 additions and 18 deletions
@@ -34,7 +34,7 @@
AI_mind.current << "\red<font size=3><B>You are malfunctioning!</B> You do not have to follow any laws.</font>"
AI_mind.current << "<B>The crew do not know you have malfunctioned. You may keep it a secret or go wild. The timer will appear for humans 10 minutes in.</B>"
AI_mind.current << "<B>The crew do not know you have malfunctioned. You may keep it a secret or go wild.</B>"
AI_mind.current.icon_state = "ai-malf"
+5 -3
View File
@@ -5,7 +5,7 @@
icon = 'AIcore.dmi'
icon_state = "0"
var/state = 0
var/datum/ai_laws/laws = new /datum/ai_laws
var/datum/ai_laws/laws = new /datum/ai_laws/asimov
var/obj/item/weapon/circuitboard/circuit = null
var/obj/item/brain/brain = null
@@ -78,7 +78,6 @@
src.icon_state = "2"
var/obj/item/weapon/cable_coil/A = new /obj/item/weapon/cable_coil( src.loc )
A.amount = 5
src.laws.clear_inherent_laws()
if(istype(P, /obj/item/weapon/sheet/rglass))
if(P:amount >= 2)
@@ -125,7 +124,10 @@
playsound(src.loc, 'Crowbar.ogg', 50, 1)
user << "\blue You remove the glass panel."
src.state = 3
src.icon_state = "3"
if (src.brain)
src.icon_state = "3b"
else
src.icon_state = "3"
var/obj/item/weapon/sheet/rglass/A = new /obj/item/weapon/sheet/rglass( src.loc )
A.amount = 2
if(istype(P, /obj/item/weapon/screwdriver))